/Library/Developer/CommandLineTools/usr/bin/make -C pkginfo clean
rm -rf build build_xcode
/Library/Developer/CommandLineTools/usr/bin/make -C src clean
/Library/Developer/CommandLineTools/usr/bin/make -C apps/EventViewer clean
rm -rf build build_xcode
/Library/Developer/CommandLineTools/usr/bin/make -C apps/Menu clean
rm -rf build build_xcode
/Library/Developer/CommandLineTools/usr/bin/make -C apps/PreferencesWindow clean
rm -rf build build_xcode
/Library/Developer/CommandLineTools/usr/bin/make -C apps/Updater clean
rm -rf build build_xcode
/Library/Developer/CommandLineTools/usr/bin/make -C apps/lib/KarabinerKit clean
rm -rf build build_xcode
/Library/Developer/CommandLineTools/usr/bin/make -C bin/cli clean
rm -rf build build_xcode
/Library/Developer/CommandLineTools/usr/bin/make -C core/console_user_server clean
rm -rf build build_xcode
/Library/Developer/CommandLineTools/usr/bin/make -C core/grabber clean
rm -rf build build_xcode
/Library/Developer/CommandLineTools/usr/bin/make -C lib/libkrbn clean
rm -rf build build_xcode
rm -rf pkgroot
rm -f *.dmg
./make-package.sh
make build
..................................................
/Library/Developer/CommandLineTools/usr/bin/make -C pkginfo
mkdir -p build \
&& cd build \
&& cmake .. \
&& make
-- The C compiler identification is AppleClang 10.0.0.10001044
-- The CXX compiler identification is AppleClang 10.0.0.10001044
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/newton/Downloads/Karabiner-Elements-version_12.1.0/pkginfo/build
/Library/Developer/CommandLineTools/usr/bin/make -C src
/Library/Developer/CommandLineTools/usr/bin/make -C apps/EventViewer
make -C ../lib/KarabinerKit
make -C ../../../lib/libkrbn
mkdir -p build_xcode \
&& cd build_xcode \
&& cmake -G Xcode .. \
&& xcodebuild -configuration Release SYMROOT="/Users/newton/Downloads/Karabiner-Elements-version_12.1.0/src/lib/libkrbn/build_xcode/build"
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:5 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:5 (project):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "/Users/newton/Downloads/Karabiner-Elements-version_12.1.0/src/lib/libkrbn/build_xcode/CMakeFiles/CMakeOutput.log".
See also "/Users/newton/Downloads/Karabiner-Elements-version_12.1.0/src/lib/libkrbn/build_xcode/CMakeFiles/CMakeError.log".
make[5]: *** [build_xcode] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [all] Error 2
make[1]: *** [build] Error 2
I have installed cmake and boost lib through brew for Mac (Home-brew) ?
Can anybody help me ?
Just from my curiosity I googled your returned texts and found
which suggests some remedies that might help you.
(_IF THEY do so_, please post a short confirmation!)
I had the same issue after installing xcode (I installed the command line tools first and xcode in a second time), I did a sudo xcode-select --reset as suggested in the link given by @clemsam which fixed the issue :)
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Just from my curiosity I googled your returned texts and found
https://stackoverflow.com/questions/49936836/cmake-compiler-identification-is-unknown-for-macos-10-13-3
which suggests some remedies that might help you.
(_IF THEY do so_, please post a short confirmation!)