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

Problem compiling ycm_core #7

Closed
linhmtran168 opened this issue Feb 3, 2013 · 1 comment
Closed

Problem compiling ycm_core #7

linhmtran168 opened this issue Feb 3, 2013 · 1 comment

Comments

@linhmtran168
Copy link

I'm using Mac OSX 10.8.2.
Here is the problem:

[ 91%] Built target BoostParts
[ 92%] Building CXX object ycm/CMakeFiles/ycm_core.dir/LetterNode.cpp.o
In file included from /Users/mb985/.vim/bundle/YouCompleteMe/cpp/ycm/LetterNode.cpp:18:
/Users/mb985/.vim/bundle/YouCompleteMe/cpp/ycm/LetterNode.h:63:8: error: private field
      'is_root_node_' is not used [-Werror,-Wunused-private-field]
  bool is_root_node_;
       ^
1 error generated.
make[3]: *** [ycm/CMakeFiles/ycm_core.dir/LetterNode.cpp.o] Error 1
make[2]: *** [ycm/CMakeFiles/ycm_core.dir/all] Error 2
make[1]: *** [ycm/CMakeFiles/ycm_core.dir/rule] Error 2
make: *** [ycm_core] Error 2

This is the output of cmake command:

$ cmake -G "Unix Makefiles" . ~/.vim/bundle/YouCompleteMe/cpp                         
-- The C compiler identification is Clang 4.2.0
-- The CXX compiler identification is Clang 4.2.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
Your C++ compiler supports C++11, compiling in that mode.
-- Found PythonLibs: /usr/lib/libpython2.7.dylib (found suitable version "2.7.2", minimum required is "2") 
NOT using libclang, no semantic completion for C/C++/ObjC will be available
-- Found PythonInterp: /usr/bin/python (found version "2.7.2") 
-- Looking for include file pthread.h
-- Looking for include file pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - found
-- Found Threads: TRUE  
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/mb985/ycm_build
@Valloric
Copy link
Member

Valloric commented Feb 3, 2013

Yeah, just updated to Xcode 4.6 and got the same error. Good to know that Clang warnings are improving, that was a good catch.

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

No branches or pull requests

2 participants