swiftyswiftvim
swiftyswiftvim copied to clipboard
build fails
[100%] Built target ycm_core
Configure SwiftySwiftVim..
-- The C compiler identification is AppleClang 9.0.0.9000035
-- The CXX compiler identification is AppleClang 9.0.0.9000035
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/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: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
SSVIM CMAKE START
Building boost
-- Boost version: 1.64.0
-- Found the following Boost libraries:
-- coroutine
-- context
-- filesystem
-- program_options
-- system
-- thread
-- chrono
-- date_time
-- atomic
Attempting to find system SourceKit
Using Sourcekit from Xcode install at: /Applications/Xcode.app/Contents/Developer.
SSVIM CMAKE FINISH
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/jeff/.vim/plugged/iCompleteMe/third_party/icmd/third_party/swiftyswiftvim/build
Build SwiftySwiftVim..
[ 8%] Building CXX object CMakeFiles/integration_tests.dir/APIIntegrationTests.cpp.o
In file included from /Users/jeff/.vim/plugged/iCompleteMe/third_party/icmd/third_party/swiftyswiftvim/APIIntegrationTests.cpp:3:
In file included from /Users/jeff/.vim/plugged/iCompleteMe/third_party/icmd/third_party/swiftyswiftvim/vendor/Beast/include/beast/core/streambuf.hpp:343:
In file included from /Users/jeff/.vim/plugged/iCompleteMe/third_party/icmd/third_party/swiftyswiftvim/vendor/Beast/include/beast/core/impl/streambuf.ipp:12:
In file included from /Users/jeff/.vim/plugged/iCompleteMe/third_party/icmd/third_party/swiftyswiftvim/vendor/Beast/include/beast/core/detail/write_dynabuf.hpp:13:
In file included from /usr/local/include/boost/lexical_cast.hpp:32:
In file included from /usr/local/include/boost/lexical_cast/try_lexical_convert.hpp:42:
In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical.hpp:54:
In file included from /usr/local/include/boost/lexical_cast/detail/converter_lexical_streams.hpp:63:
In file included from /usr/local/include/boost/lexical_cast/detail/inf_nan.hpp:34:
In file included from /usr/local/include/boost/math/special_functions/sign.hpp:16:
/usr/local/include/boost/math/tools/config.hpp:14:10: fatal error: 'boost/predef.h' file not found
#include <boost/predef.h>
^~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [CMakeFiles/integration_tests.dir/APIIntegrationTests.cpp.o] Error 1
make[1]: *** [CMakeFiles/integration_tests.dir/all] Error 2
make: *** [all] Error 2
I've installed boost from brew, seems like the builds are failing.
this is just from running the ./install.py in /Users/jeff/.vim/plugged/iCompleteMe
@crowell Thanks for reporting this. It looks like this was introduced in the sandboxed boost setup.
I've landed a fix for the include issue, and that should get you up and running.
iCompleteMe was also bumped to have the latest updates including this one, so pulling and updating everything should hopefully just work - simply run install.py 👍