-
Notifications
You must be signed in to change notification settings - Fork 78
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
[Macos] compile issue #3
Comments
You probably need to make sure you get the submodules. The CMake modules are included with the cgcmake submodule. Did you clone or download the repo? |
Thanks for hint. I clone 'cgcmake' repo to 'cgcmake' folder. $cmake -H. -Bbuild -G "Unix Makefiles"
Ok.
I no have idea what is and where is that "omp.h". BTW.
|
So. I found next step issue with OpenMP vs maya's ThreadsUtils... $ cmake -H. -Bbuild -G "Unix Makefiles" -DOpenMP_CXX_FLAGS="-Xpreprocessor -fopenmp -I/usr/local/opt/libomp/include" -DOpenMP_CXX_LIB_NAMES="omp" -DOpenMP_omp_LIBRARY=/usr/local/opt/libomp/lib/libomp.dylib and try to compile: Output:
Looks like 1 error in src/DemBones/DemBonesExt.h:108:3 by clear(). numbs questions:
PS: For macOS with new user's bash profile of zshcreate newone
to ~/.zshrc but if you have some maya vars in old bash profile just add legacy bash profile to ~/.zshrc: |
Cmake could not "find package" - issue was in this lines 34,35 of 'src/CMakeLists.txt'
and
cmake version 3.16.2.
Eigen extracted to third-party/Eigen
Maya 2020. All dev environment vars sets up - path of maya, devkitBase (Autodesk link). Examples compiles and works on 2020 (Autodesk link).
Im not pro in cmake configuration... Could you help? What need to dig?
The text was updated successfully, but these errors were encountered: