CodeLite and Linux Mint

CodeLite installation/troubleshooting forum
stilf
CodeLite Curious
Posts: 4
Joined: Sat Apr 26, 2014 12:16 pm
Genuine User: Yes
IDE Question: C++
Contact:

CodeLite and Linux Mint

Post by stilf »

I've installed CodeLite on Linux Mint, but it seems like its an older version (2.8) which crashes when I try to create a new workspace.
Is there a way to install a current version?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeLite and Linux Mint

Post by eranif »

I think its better if you compile it from sources, its much easier than it sound.

Follow the instructions here:

http://codelite.org/Developers/Linux

Eran
Make sure you have read the HOW TO POST thread
stilf
CodeLite Curious
Posts: 4
Joined: Sat Apr 26, 2014 12:16 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeLite and Linux Mint

Post by stilf »

Thanks.

I grabbed the latest code using the instructions, and followed them to install CodeLite. The version I see is 6.0.

I created a workspace and a c++ project.
It compiled successfully, but I wasn't able to run it.
It seemed like even after installing succesfully it was missing usr/bin/codelite_xterm so I did:

Code: Select all

sudo cp codelite_xterm /usr/bin
I had to set in Editor Settings > Terminal to "Use CodeLite build in terminal emulator", as for some reason it still didn't find it (even after restarting)
So at this point I get the terminal showing the "Hello world" output.

Next, I tried debugging.
I set a breakpoint and select "Start/Stop debbugger" from the menu.
I get an error message: "Could not launch terminal for debugger"
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: CodeLite and Linux Mint

Post by eranif »

try:

Code: Select all

sudo apt-get install xterm
Eran
Make sure you have read the HOW TO POST thread
Post Reply