Page 1 of 1

Building CodeLight from source

Posted: Thu Jan 28, 2016 7:19 pm
by iceman529
I downloaded the sources from the website and and fallowed the steps in README but after i compiled everything and tried to run the IDE i didn't work when i run it from the terminal i get the fallowing:

Fatal Error: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1002,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8).
Aborted (core dumped)


Any thoughts?
And by the way after i installed it from the terminal how does one uninstalls it to install a new version?

Re: Building CodeLight from source

Posted: Thu Jan 28, 2016 8:17 pm
by eranif
To uninstall a self compiled codelite on Linux:

Change directory to the build folder, and run:

Code: Select all

sudo xargs rm < install_manifest.txt
This is explained in details here:
http://codelite.org/Developers/Linux

It looks like CodeLite is loading a different library than the one it was compiled against

Running 'ldd /usr/bin/codelite' will sort that out

On Linux, I recommend running cmake like this (I have updated the wiki accordingly):

Code: Select all

 cmake -DCMAKE_BUILD_TYPE=Release .. -DCOPY_WX_LIBS=1
Eran

Re: Building CodeLight from source

Posted: Fri Jan 29, 2016 6:01 pm
by iceman529
Hi again I tried to run

Code: Select all

ldd /usr/bin/codelite
but it didn't work. i got the same error,I uninstalled CodeLight installed it again like in the updated instructions using

Code: Select all

cmake -DCMAKE_BUILD_TYPE=Release .. -DCOPY_WX_LIBS=1
same problem, run ldd again same problem, i think i will stick with the normal download than i am running LUbuntu 14.04.3 LTS(trusty) maybe there is a problem with my setup.

This is a bit off-topic i searched in the setting and also on wiki/google didn't find nowhere an option to set a dark theme(not just the color scheme the look and feel or how is it called) i saw pictures with a dark CodeLight any inside on that?

Re: Building CodeLight from source

Posted: Fri Jan 29, 2016 8:25 pm
by eranif
settings->colours and fonts

Eran

Re: Building CodeLight from source

Posted: Sat Jan 30, 2016 11:38 am
by iceman529
Take a look at this picture the tabs on the left side and at the bottom are still using the default theme
Image

Re: Building CodeLight from source

Posted: Sat Jan 30, 2016 12:59 pm
by eranif
That's the best you can get from the current build.
If they disturb you that much, you can Ctrl-M to toggle their appearance
Or you can fix this and send a pull request
Eran