Help: Installing CLAPACK with VS2010

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.
Thanks Zhuge,

The option

Options (Option) -> Projects and Solutions (Heading) -> VC++ Directories (List Item)

has been changed as mentioned in
http://blogs.msdn.com/b/vsproject/archive/2009/07/07/vc-directories.aspx

I could bring VC++ Directories of individual project and even added the folder containing library.

Please see the scrrenshot:
https://docs.google.com/document/d/1MZxX2InB6QWcFaF2gk60MuStsj9sG78cflIPD4PfHHM/edit?hl=en_US&authkey=CKC019ML

The folder:
C:\Users\DK_GS\Desktop\ClapackLib

has all the desired libraries.

But, this does not work yet.

Help please.
I have 2008, but I imagine it's similar on 2010. Tools (Menu) -> Options (Option) -> Projects and Solutions (Heading) -> VC++ Directories (List Item)



It is not the same in 2010.
You need to press Alt + F7 WHEN a projrct is loaded -> Configuration Properties -> VC++ Directories
Thanks modoran,

I did figure that out after online search.

Anyway, I added the folder containing library.

Please see the screenshot:
https://docs.google.com/document/d/1MZxX2InB6QWcFaF2gk60MuStsj9sG78cflIPD4PfHHM/edit?hl=en_US&authkey=CKC019ML

The folder:
C:\Users\DK_GS\Desktop\ClapackLib

has all the desired libraries.

But, this does not work. I may not be able to add properly

Help please.
Last edited on
Thr screenshot cannot be viewed, use an image sharing site like http://imageshack.us/
Thanks modoran for reading my post.

Here is scrrenshot uploaded

http://imageshack.us/photo/my-images/546/vs2010screeshot.jpg/
Topic archived. No new replies allowed.