Page 1 of 1

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

PostPosted: Tue Apr 19, 2005 11:01 am
by chris5106
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.

PostPosted: Wed Apr 27, 2005 10:10 am
by chris5106
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.