Created
November 16, 2017 15:46
-
-
Save nszceta/cb8db63c0b743a3da5692347414218de to your computer and use it in GitHub Desktop.
OpenCV 3 missing LAPACK/BLAS symbols broken by C++ name mangling
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Edit OpenCVFindLAPACK.cmake | |
Change: | |
if(NOT " ${__content_str}" STREQUAL " ${_lapack_include_str}") | |
file(WRITE "${CBLAS_H_PROXY_PATH}" "${_lapack_include_str}") | |
endif() | |
To: | |
if(NOT " ${__content_str}" STREQUAL " ${_lapack_include_str}") | |
file(WRITE "${CBLAS_H_PROXY_PATH}" "extern 'C' { ${_lapack_include_str} }") | |
endif() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment