Skip to content

Could NOT find LAPACK (missing: LAPACK_LIBRARIES) CMake Error at CMakeLists.txt:155 (message): #99

Answered by godotalgorithm
123xyl asked this question in Q&A
Discussion options

You must be logged in to vote

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"

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@123xyl
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by godotalgorithm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants