Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails #10

Open
crowell opened this issue Nov 13, 2017 · 1 comment
Open

build fails #10

crowell opened this issue Nov 13, 2017 · 1 comment

Comments

@crowell
Copy link

crowell commented Nov 13, 2017

[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

@jerrymarino
Copy link
Owner

@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 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants