I am using the ITPP library (IT++ library) for one of my projects. For using the eigen_sym() function of this library, it asks for installing the LAPACK. I tried the direct prebuilt libraries for Windows but still get the error. Finally on the following site:
http://icl.cs.utk.edu/lapack-for-windows/lapack/#libraries
I found a solution under "Build Instructions to create LAPACK and LAPACKE 3.5.0 dlls for Windows with MinGW" that might work. I did steps 1 to 5 but got stuck 6 onwards.
My destination of the cmake build is E:/LAPACK
I got an error while in the cmd prompt while entering:
cd E:/LAPACK 3.5.0 >Enter
C:/MinGW/bin/mingw32-make.exe >Enter
i'm getting
mingw32-make.exe> No targets specified and no make file found. Stop.
Can someone explain the step 6 onwards in detail and tell me where i'm going wrong? I finally want to get the .dll
and .lib
files.
I was able to build LAPACK 3.5 for windows using mingw and pretty much the build guide from the LAPACK page. Using the following steps
Append mingw to your path
path=C:/Mingw/bin;%PATH%
C:\\Users\\jdrescher>x:
X:>cd Other\\Test\\lapack-3.5.0
X:\\Other\\Test\\lapack-3.5.0>
X:\\Other\\Test\\lapack-3.5.0>mkdir build
X:\\Other\\Test\\lapack-3.5.0>cd build
X:\\Other\\Test\\lapack-3.5.0\\build>
X:\\Other\\Test\\lapack-3.5.0\\build>cmake -G "MinGW Makefiles" -D BUILD_SHARED_LIBS=ON -D CMAKE_GNUtoMS=ON ..
X:\\Other\\Test\\lapack-3.5.0\\build>c:\\MinGW\\bin\\mingw32-make.exe
Note: This step will take several minutes.
After the above steps completed 100% with no errors, I have the following dlls in the build\\bin folder: libblas.dll , liblapack.dll , libtmglib.dll
Also the following libraries, and exp files in the build\\lib folder: libblas.exp , libblas.lib , liblapack.exp , liblapack.lib , libtmglib.exp and libtmglib.lib .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.