I was wondering if installing this project works on MacOS. My configuration is:
MacOS Catalina 64-bit, CMake 3.22.1
I am new to CMake, but I tried to compile it using cmake . then make. Unfortunately, I got this error:
[ 10%] Building CXX object discregrid/CMakeFiles/Discregrid.dir/src/discrete_grid.cpp.o
In file included from [...]/PositionBasedDynamics/extern/Discregrid/src/Ext_Discregrid/discregrid/src/discrete_grid.cpp:1:
In file included from [...]/PositionBasedDynamics/extern/Discregrid/src/Ext_Discregrid/discregrid/include/Discregrid/discrete_grid.hpp:6:
In file included from [...]/PositionBasedDynamics/extern/eigen/Eigen/Dense:1:
[...]/PositionBasedDynamics/extern/eigen/Eigen/Core:266:10: fatal error:
'omp.h' file not found
I tried brew install libomp, which is suggested by a number of StackOverflow posts (like this one), but unfortunately that hasn't fixed the error.
I noticed that one of the latest commits is called "added support for MacOS", but since Mac isn't listed as one of the tested configurations on the readme, I was wondering if this project does still work for MacOS, and if maybe there's just something simple I've missed for installing it.
Hello,
I was wondering if installing this project works on MacOS. My configuration is:
MacOS Catalina 64-bit, CMake 3.22.1
I am new to CMake, but I tried to compile it using
cmake .
thenmake
. Unfortunately, I got this error:I tried
brew install libomp
, which is suggested by a number of StackOverflow posts (like this one), but unfortunately that hasn't fixed the error.I noticed that one of the latest commits is called "added support for MacOS", but since Mac isn't listed as one of the tested configurations on the readme, I was wondering if this project does still work for MacOS, and if maybe there's just something simple I've missed for installing it.
Thank you!