CLAPACK-3.1.1-VisualStudio linking problem

Post here if you have a question about linking your program with LAPACK or ScaLAPACK library

CLAPACK-3.1.1-VisualStudio linking problem

Postby mindhen » Thu Oct 15, 2015 7:38 pm

Hello,

Please help me with CLAPACK-3.1.1-VisualStudio linking problem.

I work under Windows 7 and I have Microsoft Visual Studio 2010.
I downloaded CLAPACK-3.1.1-VisualStudio.
With the default setting the project can work well.But I change the Configuration type to Dynamic Link Library(.dll).I compiled the project again. However, linking failed with a message as follows

1>derf_1.obj : error LNK2019: unresolved external symbol _erf,referenced in function _derf_
1>erf_1.obj : error LNK2001: unresolved external symbol _erf
1>derfc_1.obj : error LNK2019: unresolved external symbol _erfc,referenced in function _derfc_
1>erfc_1.obj : error LNK2001: unresolved external symbol _erfc
1>main1.obj : error LNK2019: unresolved external symbol _MAIN__,referenced in function _main
1>Debug\libf2c.dll : fatal error LNK1120:

thx
mindhen
 
Posts: 2
Joined: Thu Oct 15, 2015 6:56 pm

Return to Linking Problem

Who is online

Users browsing this forum: No registered users and 2 guests