Compiled program execution error on linux

CodeLite installation/troubleshooting forum
User avatar
LeetShiva
CodeLite Enthusiast
Posts: 20
Joined: Wed Mar 14, 2012 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiled program execution error on linux

Post by LeetShiva »

I have tried also a 2.8 versionagain but it load codelite but when I click to open workspace it close codelite totaly.

I eman I have had a information when I first time upgrade to 3.5 that there is updating of symbols in workspace that is different in new version and that whole workspace will be again retaged maybe that is reason.
I now run 3.5.5375 and it build nicely but it wont run
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Compiled program execution error on linux

Post by DavidGH »

And the answer to the fourth question?
I mean when I copy /usr/bin/xterm -title'$TITLE' -e '/bin/sh -f /usr/bin/codelite_exec ./HelloWorld ' and paste and run in terminal
4) Try that again. Presumably it'll still fail. What is the result of then doing, in the same terminal: ls ./HelloWorld
User avatar
LeetShiva
CodeLite Enthusiast
Posts: 20
Joined: Wed Mar 14, 2012 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiled program execution error on linux

Post by LeetShiva »

Also rwxr-xr-x
It is there and it runs if I run it from terminal :)
Just it aint run in codelite I'm starting to use Code::Blooks for now because of debuging and running of programs but I still love codelite better its smaller and fast.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Compiled program execution error on linux

Post by DavidGH »

It is there and it runs if I run it from terminal
OK, that's what I wanted to know: the executable exists; and it runs in any terminal, not just one opened to the correct path.

I don't know what's going wrong, then. The only other things I can suggest are:

1) Clean your system: that may be /usr/lib/codelite/, /usr/local/lib/codelite/, /usr/bin/codelite* and ~/.codelite/; then reinstall your self-built version. That should remove any conflicts due to your various failed installs. Create a new workspace and in it create one of the standard gui projects using the wizard. If that builds and runs, you know that CodeLite itself is working correctly.

2) Failing that, you could try altering the 'run' command in Settings > Global Editor Preferences > Terminal and see if you can find a command that works.
User avatar
LeetShiva
CodeLite Enthusiast
Posts: 20
Joined: Wed Mar 14, 2012 6:39 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiled program execution error on linux

Post by LeetShiva »

I cleaned folders and remove workspace andinstall it later again version 4.0 from repo and it works fine :)

Thx david for maintaining debian version of package :)
I now have git plugin on codelite and that's what I was searching for :)
Post Reply