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
It seems that Visual Studio can't find the library it needs. Did you add the proper directories to VS's list?
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.
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.
Last edited on