User forums > Help

Unable to compile ClangCompletion cbplugin

<< < (5/11) > >>

astrapi:
Maybe it is right because I built it and install it with apt-get (because the making didn't make me a .so I think)...
How can I remove something that I built ? I've make a little mess I think...

That's right I've llvm-3.4 AND 3.8 installed but the .so is 3.8, or maybe there is only clang witch is doubled but not
llvm that I only find in 3.4... If that make a sense... ( :-[ )

oBFusCATed:
It depends how you've installed it.
You can use either make uninstall or rm -rf /path/where/it/is installed.
If you use the second you should be very careful what you delete!

astrapi:
I've kept the folder where is the source of llvm 3.8 but make uninstall doesn't work...
I'm a bit afraid of rm things but I'm on it

I've remove the files that I was 3.8.0 but the error remain (surely problem of lib that I didn't delete) Maybe I remove
everythink about clang and llvm and reinstall it from apt-get ?

oBFusCATed:

--- Quote from: astrapi on March 20, 2016, 07:14:50 pm ---Maybe I remove everythink about clang and llvm and reinstall it from apt-get ?

--- End quote ---
This is a good option.
Also keep in mind that you have to restart cb after you fiddle with packages that change the output of pkg-config/wx-config or llvm-config.
This is needed because cb caches the output of such tools and doesn't execute them each time.

astrapi:
Haaaa very good to know that indeed, I'm on it ! Thanks ! (I feel that we are going the right way !)


I still have something I don't understand :

--- Code: ----------------- Build: default in clanglib  wx2.8.x - Unix (compiler: GNU GCC Compiler)---------------

g++-5 -shared -L/usr/lib .objs/plugins/clanglib/cclogger.o .objs/plugins/clanglib/clangcc.o .objs/plugins/clanglib/clangccsettingsdlg.o .objs/plugins/clanglib/clangdiagnostics.o .objs/plugins/clanglib/clangplugin.o .objs/plugins/clanglib/clangproxy.o .objs/plugins/clanglib/clangtoolbar.o .objs/plugins/clanglib/tokendatabase.o .objs/plugins/clanglib/translationunit.o .objs/plugins/clanglib/treemap.o  -o devel/clanglib.so /usr/lib/llvm-3.4/lib -Wl,--no-undefined -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -lcodeblocks    -lcodeblocks -lclang
/usr/bin/ld: ne peut pas trouver /usr/lib/llvm-3.4/lib: Format de fichier non reconnu
/usr/bin/ld: ne peut trouver -lclang
collect2: error: ld returned 1 exit status
--- End code ---

I've reinstall clang clang-dev llvm llvm-dev

/usr/lib/llvm-3.4/lib exist, there is lot of file in it, some .so and some .a

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version