I am trying to build lapacke and lapack using Cmake. It builds without optimization but not with. I am not familiar enough with cmake to trace the problem. The error message is:
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../../mingw32/bin/ld.exe: cannot find -lFALSE
collect2.exe: error: ld returned 1 exit status
SRC\CMakeFiles\lapack.dir\build.make:14341: recipe for target 'bin/liblapack.dll' failed
mingw32-make.exe[2]: *** [bin/liblapack.dll] Error 1
CMakeFiles\Makefile2:140: recipe for target 'SRC/CMakeFiles/lapack.dir/all' failed
mingw32-make.exe[1]: *** [SRC/CMakeFiles/lapack.dir/all] Error 2
I have turned off BUILD_COMPLEX, BUILD_COMPLEX16, BUILD_TESTING, USE_XBLAS. The rest are turned on. I have tried various combinations but it fails when USE_OPTIMIZED_LAPACK is turned on. Is this a known problem or am I doing something dumb?
Glenn Turner

