LAPACK-VS-Example linking question

Post here if you have a question about linking your program with LAPACK or ScaLAPACK library

LAPACK-VS-Example linking question

Postby panovr » Wed Dec 21, 2011 9:51 am

in the LAPACK documation, that said:
Add the the BLAS and LAPACK libraries to the Visual Studio project settings,
under Linker -> General -> Additional Library Directories: the directory where your liblapack.lib is.
under Linker -> Input -> Additional Dependencies: libblas.lib;liblapack.lib

Should the
Linker -> General -> Additional Library Directories
Visual C++ Directories -> Lib Directories

I just wonder what is the difference between these two directories?
Posts: 4
Joined: Mon Dec 19, 2011 9:47 am

Re: LAPACK-VS-Example linking question

Postby admin » Fri Jan 13, 2012 5:14 pm

Libraries are needed at linking time. This is why, I put them in the Linker section.
Never tried Visual C++ Directories -> Lib Directories, but it look like a pointer to all the libs, so adding them here should probably work.

Just a quick update, you can now call directly C form your C VS Solution.
Please see ... k/#lapacke
Site Admin
Posts: 600
Joined: Wed Dec 08, 2004 7:07 pm

Return to Linking Problem

Who is online

Users browsing this forum: No registered users and 1 guest