macOS building from source: clang: error: invalid argument '-compatibility_version 0.8.0' only allowed with '-dynamiclib' #230
pbakaus posted onGitHub
<!-- Hi, thank you for taking the time to report a bug/crash/freeze. -->
<!-- Please make sure that you fill this out in it's entirety. -->
<!-- Unfortunately I will have to close issues if it has not been filled out. -->
Description
<!-- Please describe the bug/crash/freeze in its entirety, including how you made this happen. -->
<!-- If you have screenshots of the broken behavior, please attach them. -->
<!-- Additionally, if you have log files, please ATTACH them. Do not paste them into this -->
Hi, I'm trying to compile on MacOS as per your instructions, and make
fails with the following error:
[ 99%] Building CXX object UI/frontend-plugins/streamfx/CMakeFiles/StreamFX.dir/source/gfx/shader/gfx-shader-param-matrix.cpp.o
[ 99%] Building CXX object UI/frontend-plugins/streamfx/CMakeFiles/StreamFX.dir/source/gfx/shader/gfx-shader-param-texture.cpp.o
[ 99%] Building CXX object UI/frontend-plugins/streamfx/CMakeFiles/StreamFX.dir/source/UYX5XTB5RZ/qrc_streamfx.cpp.o
[100%] Linking CXX shared module StreamFX.so
clang: error: invalid argument '-compatibility_version 0.8.0' only allowed with '-dynamiclib'
make[2]: *** [UI/frontend-plugins/streamfx/StreamFX.so] Error 1
make[1]: *** [UI/frontend-plugins/streamfx/CMakeFiles/StreamFX.dir/all] Error 2
I'm not sure if at all related to #229 as the errors are completely different, but it is suspicious that we seem to be having problems around similar system conditions. Let me know if I can provide any more info!
System Information
<!-- Either fill out the following or attach a DxDiag file. -->
- Software Version: 0.8.0 (I think?)
- Operating System: MacOS 10.15.5 (Catalina)
- XCode: 11.5