You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 30, 2020. It is now read-only.
I am trying to use YCM-Generator for leveldb. And my cmake version is 3.12.4, my clang version is 7.0, my operating system is ubuntu 16.04.
When I executed config_gen.py, some cmake errors occurred. So I checked the error log and found that cmake tried to link an executable by executing the following command:
I am trying to use
YCM-Generatorforleveldb. And mycmakeversion is 3.12.4, myclangversion is 7.0, my operating system is ubuntu 16.04.When I executed
config_gen.py, somecmakeerrors occurred. So I checked the error log and found thatcmaketried to link an executable by executing the following command:"${path_to_fake-toolchain}/Unix/ld" -z relro --hash-style=gnu --eh-frame-hdr -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTC_fe463 /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crti.o /usr/lib/gcc/x86_64-linux-gnu/5.4.0/crtbegin.o -L/usr/lib/gcc/x86_64-linux-gnu/5.4.0 -L/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu -L/lib/x86_64-linux-gnu -L/lib/../lib64 -L/usr/lib/x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../.. -L/usr/local/bin/../lib -L/lib -L/usr/lib CMakeFiles/cmTC_fe463.dir/CMakeCXXCompilerABI.cpp.o -lstdc++ -lm -lgcc_s -lgcc -lc -lgcc_s -lgcc /usr/lib/gcc/x86_64-linux-gnu/5.4.0/crtend.o /usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crtn.oThen, I tried to modify
ldin fake-toolchain to make it work properly on my operating system.After that, I executed
config_gen.pyagain and it works fine.