Building CodeLight from source

General questions regarding the usage of CodeLite
iceman529
CodeLite Curious
Posts: 3
Joined: Thu Jan 28, 2016 5:28 pm
Genuine User: Yes
IDE Question: c++
Contact:

Building CodeLight from source

Post by iceman529 » Thu Jan 28, 2016 7:19 pm

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?

User avatar
eranif
CodeLite Plugin
Posts: 6120
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Building CodeLight from source

Post by eranif » Thu Jan 28, 2016 8:17 pm

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
Make sure you have read the HOW TO POST thread

iceman529
CodeLite Curious
Posts: 3
Joined: Thu Jan 28, 2016 5:28 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Building CodeLight from source

Post by iceman529 » Fri Jan 29, 2016 6:01 pm

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?

User avatar
eranif
CodeLite Plugin
Posts: 6120
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Building CodeLight from source

Post by eranif » Fri Jan 29, 2016 8:25 pm

settings->colours and fonts

Eran
Make sure you have read the HOW TO POST thread

iceman529
CodeLite Curious
Posts: 3
Joined: Thu Jan 28, 2016 5:28 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Building CodeLight from source

Post by iceman529 » Sat Jan 30, 2016 11:38 am

Take a look at this picture the tabs on the left side and at the bottom are still using the default theme
Image
You do not have the required permissions to view the files attached to this post.

User avatar
eranif
CodeLite Plugin
Posts: 6120
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Building CodeLight from source

Post by eranif » Sat Jan 30, 2016 12:59 pm

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
Make sure you have read the HOW TO POST thread

Post Reply