Page 1 of 1

CLAPACK-3.1.1-VisualStudio linking problem

PostPosted: Thu Oct 15, 2015 7:38 pm
by mindhen
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