Jun 3, 2011 at 8:02pm
Hi,
I am trying to learn C++ on my own and that's why I am in this forum.
Anyway, I am trying to perform some linear algebra operation using CLAPACK. However, I am not able to run the example code.
What have I done:
(i) Downloaded for visual studio
http://www.netlib.org/clapack/
(ii) unzipped that and put that in the following location
C:\Users\DK_GS\Documents\Visual Studio 2010\CLAPACK-3.1.1-VisualStudio
(iii)Downloaded example from
LAPACK-VS-Example Visual Studio project
Error:
1>LINK : fatal error LNK1181: cannot open input file 'blas.lib'
Also, I am using window7 64 bit.
Please help !!!
Last edited on Jun 3, 2011 at 8:25pm
Jun 3, 2011 at 8:04pm
It seems that Visual Studio can't find the library it needs. Did you add the proper directories to VS's list?
Jun 3, 2011 at 8:28pm
Zhuge,
Thanks for responding.
I am new to both C++ n VS. So, I am bit embarassed to admit that I do not know how to set up directory properly in VS.
Jun 3, 2011 at 10:20pm
I have 2008, but I imagine it's similar on 2010. Tools (Menu) -> Options (Option) -> Projects and Solutions (Heading) -> VC++ Directories (List Item)
From there, you can set additional directories for VS to look in when looking for libraries, headers, etc.
Jun 4, 2011 at 4:26pm
Last edited on Jun 4, 2011 at 4:27pm