last update not build, return error:
YouCompleteMe/third_party/ycmd/cpp/BoostParts/libs/python/src/converter/builtin_converters.cpp:51:35: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
return PyUnicode_Check(obj) ? _PyUnicode_AsString(obj) : 0;
That's far from the latest YCM. We don't use Boost.Python any more. Update and if you still have an error, fill in the whole issue template.
I have already compiled and used YCM, but after last git pull get error.
Da https://github.com/Valloric/YouCompleteMe
* branch master -> FETCH_HEAD
Already up to date.
build with
./install.py --clang-completer --system-libclang
return this
Searching Python 3.7 libraries...
Found Python library: /usr/lib64/libpython3.7m.so
Found Python headers folder: /usr/include/python3.7m
-- The C compiler identification is GNU 8.2.0
-- The CXX compiler identification is GNU 8.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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonLibs: /usr/lib64/libpython3.7m.so (found suitable version "3.7.0", minimum required is "3.3")
Using libclang to provide semantic completion for C/C++/ObjC
Using external libclang: /usr/lib/libclang.so.6.0
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/ycm_build_lv2j0icx
[10/77] Building CXX object BoostParts/CMakeFiles/BoostParts.dir/libs/python/src/converter/builtin_converters.cpp.o
FAILED: BoostParts/CMakeFiles/BoostParts.dir/libs/python/src/converter/builtin_converters.cpp.o
/usr/bin/c++ -DYCMD_CORE_VERSION=28 -isystem /home/vbextreme/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/BoostParts -isystem /usr/include/python3.7m -w -O3 -DNDEBUG -std=c++11 -fPIC -MD -MT BoostParts/CMakeFiles/BoostParts.dir/libs/python/src/converter/builtin_converters.cpp.o -MF BoostParts/CMakeFiles/BoostParts.dir/libs/python/src/converter/builtin_converters.cpp.o.d -o BoostParts/CMakeFiles/BoostParts.dir/libs/python/src/converter/builtin_converters.cpp.o -c /home/vbextreme/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/BoostParts/libs/python/src/converter/builtin_converters.cpp
/home/vbextreme/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/BoostParts/libs/python/src/converter/builtin_converters.cpp: In function ‘void* boost::python::converter::{anonymous}::convert_to_cstring(PyObject*)’:
/home/vbextreme/.vim/bundle/YouCompleteMe/third_party/ycmd/cpp/BoostParts/libs/python/src/converter/builtin_converters.cpp:51:35: error: invalid conversion from ‘const void*’ to ‘void*’ [-fpermissive]
return PyUnicode_Check(obj) ? _PyUnicode_AsString(obj) : 0;
^
[13/77] Building CXX object BoostParts/CMakeFiles/BoostParts.dir/libs/python/src/converter/registry.cpp.o
ninja: build stopped: subcommand failed.
ERROR: the build failed.
NOTE: it is *highly* unlikely that this is a bug but rather
that this is a problem with the configuration of your system
or a missing dependency. Please carefully read CONTRIBUTING.md
and if you're sure that it is a bug, please raise an issue on the
issue tracker, including the entire output of this script
and the invocation line used to run it.
You also need to update the Git submodules. Run the command
git submodule update --init --recursive
in YCM folder.
ok, works, thank you
have a good life
Most helpful comment
You also need to update the Git submodules. Run the command
in YCM folder.