I have installed OS X 10.11+, Xcode 8, Command Line Tools and Boost, and git Karabiner-Elements through my Terminal and succeeded. But when try to make build, it was failed.
Here are the failed codes in my Terminal.
................................* BUILD FAILED *
The following commands produced analyzer issues:
AnalyzeShallow main.cpp
(1 command with analyzer issues)
The following build commands failed:
AnalyzeShallow main.cpp
CompileC build/codesign.build/Release/codesign.build/Objects-normal/x86_64/main.o main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
(2 failures)
make[3]: ** [all] Error 65
make[2]: ** [all] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 99
What should I do?
A similar problem happens here.
`[[email protected]/Karabiner-Elements]% make
git clean -f -x -d
Removing appendix/codesign/build/
Removing appendix/control_led/build/
Removing appendix/dump_hid_report/build/
./make-package.sh
make build
...2016-09-30 06:38:28.137 xcodebuild[26058:587368] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Helmet.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-09-30 06:38:28.138 xcodebuild[26058:587368] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-09-30 06:38:28.139 xcodebuild[26058:587368] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
.....................................2016-09-30 06:38:36.080 xcodebuild[26081:587556] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Helmet.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-09-30 06:38:36.081 xcodebuild[26081:587556] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-09-30 06:38:36.082 xcodebuild[26081:587556] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
..............................
.......2016-09-30 06:38:42.987 xcodebuild[26104:587692] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Helmet.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-09-30 06:38:42.988 xcodebuild[26104:587692] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/CocoaPods.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2016-09-30 06:38:42.988 xcodebuild[26104:587692] [MT] PluginLoading: Required plug-in compatibility UUID 8A66E736-A720-4B3C-92F1-33D9962C69DF for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
...............................................................
........................................* BUILD FAILED *
The following commands produced analyzer issues:
AnalyzeShallow main.cpp
(1 command with analyzer issues)
The following build commands failed:
AnalyzeShallow main.cpp
(1 failure)
make[3]: ** [all] Error 65
make[2]: ** [all] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 99`
I have the same issue building in Terminal on Sierra:
`
jlent-mbp:tmp jlent$ ll
jlent-mbp:tmp jlent$ git clone --depth 1 https://github.com/tekezo/Karabiner-Elements.git
Cloning into 'Karabiner-Elements'...
remote: Counting objects: 650, done.
remote: Compressing objects: 100% (439/439), done.
remote: Total 650 (delta 192), reused 483 (delta 139), pack-reused 0
Receiving objects: 100% (650/650), 4.66 MiB | 2.02 MiB/s, done.
Resolving deltas: 100% (192/192), done.
jlent-mbp:tmp jlent$ cd Karabiner-Elements/
jlent-mbp:Karabiner-Elements jlent$ make
git clean -f -x -d
./make-package.sh
make build
......................................* BUILD FAILED *
The following commands produced analyzer issues:
AnalyzeShallow main.cpp
(1 command with analyzer issues)
The following build commands failed:
CompileC build/codesign.build/Release/codesign.build/Objects-normal/x86_64/main.o main.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler
AnalyzeShallow main.cpp
(2 failures)
make[3]: ** [all] Error 65
make[2]: ** [all] Error 2
make[1]: *** [build] Error 2
make: *** [all] Error 99
EDIT: $PATH for make:
jlent-mbp:Karabiner-Elements jlent$ which make
/usr/bin/make
jlent-mbp:Karabiner-Elements jlent$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
This program built for i386-apple-darwin11.3.0`
Did you guys try running 'make build' to see the actual output?
Mine was failing because I didn't have boost headers installed.
brew install homebrew/versions/boost160
sudo ln -s /usr/local/opt/boost160/include/boost /opt/local/include/boost
Most definitely RTFM in my case.
brew install boost && make
did the trick for me.
Most helpful comment
Most definitely RTFM in my case.
brew install boost && makedid the trick for me.