-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Requesting help with "cmake -D WITH_OPENMP=ON CMAKE_BUILD_TYPE=RELEASE .." #1089
Comments
Would you have a chance to use Docker on your machine? I don't have a Mac (neither Intel-based nore M1/2/3/4)..... From the Wiki "https://github.com/TadasBaltrusaitis/OpenFace/wiki/Mac-Installation", can you run the steps from the script under "Option A" manually (not running the script, but call the commands from the script step by step manually) and show the output of the commands?
And then in line 16 it changes to an existing folder (or run the steps from "Option B" manually and show the output of the commands) |
@jahyi Did you solved the issue except running it as a docker? |
With
and
Don't put a space between
or
|
With
and with
I followed the steps from option A, but I don't get further than the first cmake command... |
Has the line What happens if you call it again? I don't have experience with MAC-OS... however, under Linux, I needed to install |
Yes it has. When calling again I get
Before trying to build this application, I managed to build some others in the past – even when not being familiar with cmake... It seems like cmake has some troubles to find the exact location of openblas, but I do not know how to solve that... |
Do you know how to check where In other Github issues the following was mentioned:
but that only works if it got installed under |
With In every case I still get
I'm not sure if it helps to edit the |
Yes, sure - at least compare what Do you see a Hmm, in |
I can find When navigating to
When executing
Not sure what you mean if there is library How can I try to use the variables |
These are the libraries (static library and dynamic libraries plus symbolic links for more/less detailed version schema information),
These could very much ease the cmake file - but would require more manual changes.
According to a quick googling it looks like you could set/export ENV variables the same way under MAC-OS as under Linux:
So you could try this:
or
|
I see! Okay, so with the first option I got:
So I did
So it seems it has worked! After successfully running, Anyways – thank you so much!! (After that, when executing |
Hello.
I am hoping to get some help with installation. I think this issue has been raised before and I have gone through previous posts and I still am having some difficulties. I am pretty new to this and I'd appreciate your help very much.
I have MacBook Pro 2023 Apple M3 running on Sonoma 14.3.1
I have followed the installation guide from here - https://github.com/TadasBaltrusaitis/OpenFace/wiki/Mac-Installation and have tried both options. But I get stuck at the same step, and that is during the build, epseciall with "cmake -D WITH_OPENMP=ON CMAKE_BUILD_TYPE=RELEASE .." in Option 1 and with "cmake -D CMAKE_BUILD_TYPE=RELEASE ..
" in Option 2 (I have followed all the steps in both options and have done deleted everything and started over twice).
This is what I get:
CMake Warning:
Ignoring extra path from command line:
"/Users/mq20174710/Documents/fea_tool-master/external_libs/openFace/OpenFace/build/CMAKE_BUILD_TYPE=RELEASE"
-- The C compiler identification is AppleClang 15.0.0.15000309
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Could not find OpenBLAS include, defaulting to using OpenFace vended ones
-- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off
CMake Error at cmake/modules/FindOpenBLAS.cmake:103 (MESSAGE):
Could not find OpenBLAS
Call Stack (most recent call first):
CMakeLists.txt:16 (find_package)
-- Configuring incomplete, errors occurred!
So I basically get the same message in both options that it could not find OpenBLAS. I have even cloned the repository from here https://github.com/OpenMathLib/OpenBLAS and added it to my folder. But it still says it "Could not find OpenBLAS".
If you have any insights into what I can do, I would appreciate it very very much. Thank you very much for your time.
The text was updated successfully, but these errors were encountered: