Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Looking for sgemm_ - not found #143

Open
lileitech opened this issue Jan 11, 2023 · 5 comments
Open

Looking for sgemm_ - not found #143

lileitech opened this issue Jan 11, 2023 · 5 comments
Labels

Comments

@lileitech
Copy link

-- Looking for sgemm_
-- Looking for sgemm_ - not found
CMake Error at C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find BLAS (missing: BLAS_LIBRARIES)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.23/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.23/Modules/FindBLAS.cmake:1337 (find_package_handle_standard_args)
CMakeLists.txt:81 (find_package)

-- Configuring incomplete, errors occurred!
See also "E:/2022_ECG_inference/Cobiveco_IBME/dependencies/gptoolbox/mex/build/CMakeFiles/CMakeOutput.log".
See also "E:/2022_ECG_inference/Cobiveco_IBME/dependencies/gptoolbox/mex/build/CMakeFiles/CMakeError.log".

@alecjacobson
Copy link
Owner

Looks like this is on windows. Could you give a bit more information about your setup?

@lileitech
Copy link
Author

Yes, it is on Windows. Not quite sure what kinds of setup you mean:
It is on windows10, with VS code 2022, Matlab 2021b, VTK 9.1.0.

@alecjacobson
Copy link
Owner

I don't remember the situation for Windows. I think either you should install openblas or it should have been finding blas through matlab. Ideally it finds blas through matlab. If that's not the case then maybe our cmake file should take care of openblas.

I'm not a windows user so this is difficult for me to debug. Perhaps @otmanon or @rarora7777 may remember/know.

@ZZT-console
Copy link

I had solved it. You need to set compiler of cmake MinGW64, Then, download openblas library. Finally, copy its lib and include of openblas to lib and include of MinGW!
You try the following commend again:
cmake -G "MinGW Makefiles" ..

@JingyiT
Copy link

JingyiT commented Jul 15, 2023

I had solved it. You need to set compiler of cmake MinGW64, Then, download openblas library. Finally, copy its lib and include of openblas to lib and include of MinGW! You try the following commend again: cmake -G "MinGW Makefiles" ..

Thanks a lot! Your solution really helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants