I'm looking for "what am I doing wrong" help. "cmake build" is failing, and I don't know where to start.
Log:
Log:
Code:
keybounceMBP:obs-studio michael$ git status
HEAD detached at 18.0.2
nothing to commit, working tree clean
keybounceMBP:obs-studio michael$ cmake build
-- The C compiler identification is AppleClang 6.0.0.6000057
-- The CXX compiler identification is AppleClang 6.0.0.6000057
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
CMake Error: Generator: execution of make failed. Make command was: "/opt/local/bin/gmake" "cmTC_b6771/fast"
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- broken
CMake Error at /opt/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"
is not able to compile a simple test program.
It fails with the following output:
Change Dir: /Users/michael/Documents/Programming/obs-studio/build/CMakeFiles/CMakeTmp
Run Build Command:"/opt/local/bin/gmake" "cmTC_b6771/fast"
Generator: execution of make failed. Make command was:
"/opt/local/bin/gmake" "cmTC_b6771/fast"
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:3 (project)
-- Configuring incomplete, errors occurred!
See also "/Users/michael/Documents/Programming/obs-studio/build/CMakeFiles/CMakeOutput.log".
See also "/Users/michael/Documents/Programming/obs-studio/build/CMakeFiles/CMakeError.log".
keybounceMBP:obs-studio michael$