I don't have the same problem, but this seemed to be the most relevant post to my problem. I have installed LAPACK following the cmake instructions. I am now attempting to figure out how to use the libraries. I attempted to follow the steps for "Using CLAPACK subroutines in a Visual (Studio) C/C++ Project" at
http://icl.cs.utk.edu/lapack-for-windows/clapack/index.html, but when I try to build the project, I get the following error:
- Code: Select all
------- Build started: Project: CLAPACK-EXAMPLE, Configuration: Release Win32 ------
Compiling...
CLAPACK-EXAMPLE.c
Linking...
LINK : fatal error LNK1181: cannot open input file 'blas.lib'
Build log was saved at "file://c:\Documents and Settings\Kis\My Documents\Downloads\CLAPACK-EXAMPLE\CLAPACK-EXAMPLE\Release\BuildLog.htm"
CLAPACK-EXAMPLE - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
As far as I can tell, the blas object library is in the path to libraries (using Tools -> Options -> Projects and Solutions -> VC++ Directories), as I added the file cmake seems to have installed it in (Program Files/CLAPACK/lib). I don't usually use Visual Studio (or Windows at all, for that matter), so I'm kind of at a loss. Has anyone had an error like this? Do you know how it might be fixed? If this example is unsuitable for a cmake build, is there any other tutorial which would be more appropriate? I really appreciate your help,
Cat