Pb when linking with clapack.lib compiled under Visual C++ 6

Open discussion regarding features, bugs, issues, vendors, etc.

Pb when linking with clapack.lib compiled under Visual C++ 6

Postby chris5106 » Tue Apr 19, 2005 11:01 am

Hi,

I have a problem with linking my library clapack.lib that i compiled under Visual C++ 6, could someone help me ?

THX

chris

Linking...
fivepoints.obj : error LNK2001: unresolved external symbol "int __cdecl dgeqrf_(long *,long *,double *,long *,double *,double *,long *,long *)" (?dgeqrf_@@YAHPAJ0PAN01100@Z)
Debug/5points.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
chris5106
 
Posts: 2
Joined: Tue Apr 19, 2005 10:57 am

Postby chris5106 » Wed Apr 27, 2005 10:10 am

The answer is that I had an old clapack.h...

So if you don't need to use clapack.h, you can include a line like

extern "C" the_prototype_of_the_function_you_will_use ;


and include the libraries in your project.
chris5106
 
Posts: 2
Joined: Tue Apr 19, 2005 10:57 am


Return to User Discussion

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests