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:40 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

Re: CLAPACK-3.1.1-VisualStudio linking problem

Postby hasan008 » Tue Oct 27, 2015 1:40 am

@mindhen You can check at http://www.askstop.net/questions/503000 ... -with-fpic
or at https://software.intel.com/en-us/forums ... pic/302607
I hope your problem will be solved by this.
hasan008
 
Posts: 3
Joined: Mon Oct 19, 2015 7:30 am


Return to Linking Problem

Who is online

Users browsing this forum: No registered users and 4 guests