Could NOT find LAPACK (missing: LAPACK_LIBRARIES) CMake Error at CMakeLists.txt:155 (message): #99
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You don't have BLAS/LAPACK development headers installed. Also, it is dangerous to compile software as root. |
Beta Was this translation helpful? Give feedback.
-
Some general advice about this. CMake has a system for automatically detecting BLAS and LAPACK libraries that are installed in standard locations and/or are in your system path. If you install some form of BLAS and LAPACK correctly, then this feature should work without any user intervention. If there is a problem, then you can provide the path to the BLAS and LAPACK libraries by hand with CMake command-line options. As stated in the error message, these would be something like
|
Beta Was this translation helpful? Give feedback.
Some general advice about this. CMake has a system for automatically detecting BLAS and LAPACK libraries that are installed in standard locations and/or are in your system path. If you install some form of BLAS and LAPACK correctly, then this feature should work without any user intervention. If there is a problem, then you can provide the path to the BLAS and LAPACK libraries by hand with CMake command-line options. As stated in the error message, these would be something like
cmake .. -DAUTOBLAS=OFF -DMOPAC_LINK="blas_and_lapack_directory_path"