YCM-Generator
YCM-Generator copied to clipboard
Unable to generate config form CMake
» ~/.vim/bundle/git-YCM-Generator/config_gen.py -v -c clang-3.8 . Running cmake in '/tmp/user/1000/tmpayXnMA'... $ cmake /home/foo_daten/dev/00_pool/c++/libobi -- The C compiler identification is Clang 3.8.1 -- The CXX compiler identification is Clang 3.8.1 -- Check for working C compiler: /home/foo/.vim/bundle-available-github/YCM-Generator/fake-toolchain/Unix/clang -- Check for working C compiler: /home/foo/.vim/bundle-available-github/YCM-Generator/fake-toolchain/Unix/clang -- 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: /home/foo/.vim/bundle-available-github/YCM-Generator/fake-toolchain/Unix/clang++ -- Check for working CXX compiler: /home/foo/.vim/bundle-available-github/YCM-Generator/fake-toolchain/Unix/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning (dev) at CMakeLists.txt:29 (if): Policy CMP0064 is not set: Support new TEST if() operator. Run "cmake --help-policy CMP0064" for policy details. Use the cmake_policy command to set the policy and suppress this warning.
TEST will be interpreted as an operator when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. This warning is for project developers. Use -Wno-dev to suppress it.
-- Configuring done -- Generating done -- Build files have been written to: /tmp/user/1000/tmpayXnMA
Running make... $ make -i -j8
Cleaning up...
Build completed in 1.75 sec
Collected 0 relevant entries for C compilation (0 discarded). Collected 0 relevant entries for C++ compilation (0 discarded). () ERROR: No commands were logged to the build logs (C: /tmp/user/1000/tmpnwICnA, C++: /tmp/user/1000/tmpDHpXUi). Your build system may not be compatible. foo@bar:/home/foo_daten/dev/00_pool/c++/libobi git: master *%=
Could you please provide a link to the project?
https://github.com/ObiWahn/libobi
That's odd, seems to work for me:
# config_gen.py -v .
Running cmake in '/tmp/tmpbyKb_b'...
$ cmake /tmp/mnt/libobi
-- The C compiler identification is Clang 3.8.1
-- The CXX compiler identification is Clang 3.8.1
-- Check for working C compiler: /home/reuben/.vim/bundle/YCM-Generator/fake-toolchain/Unix/clang
-- Check for working C compiler: /home/reuben/.vim/bundle/YCM-Generator/fake-toolchain/Unix/clang -- 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: /home/reuben/.vim/bundle/YCM-Generator/fake-toolchain/Unix/clang++
-- Check for working CXX compiler: /home/reuben/.vim/bundle/YCM-Generator/fake-toolchain/Unix/clang++ -- 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: /tmp/tmpbyKb_b
Running make...
$ make -i -j6
Scanning dependencies of target obi_shared
[ 50%] Building CXX object CMakeFiles/obi_shared.dir/src/math.cpp.o
[100%] Linking CXX shared library libobi_shared.so
[100%] Built target obi_shared
Cleaning up...
Build completed in 1.79 sec
Collected 0 relevant entries for C compilation (0 discarded).
Collected 2 relevant entries for C++ compilation (0 discarded).
Created YCM config file with 5 C++ flags
Can you check if you're running the latest version of YCM-Gen?
(Sorry about the delay in replying, real life got in the way.)