Compiled program execution error on linux
- LeetShiva
- CodeLite Enthusiast
- Posts: 20
- Joined: Wed Mar 14, 2012 6:39 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Compiled program execution error on linux
I get this error when I try to run compiled helloworld program on my Debian Linux machine.
I have used till now a 2.8 version of codelite but now after update to 3.5 version I get a error anyone can help track the problem?
I'm running amd64 linux
linux 3.1 amd64
I get this error:
Running program: /usr/lib/codelite/codelite_xterm './CppTwoDimmensional ' '/bin/sh -f /usr/bin/codelite_exec ./CppTwoDimmensional '
Program exited with return code: -1
the program was simple starting helloworld that have compiled but not running ?
I have used till now a 2.8 version of codelite but now after update to 3.5 version I get a error anyone can help track the problem?
I'm running amd64 linux
linux 3.1 amd64
I get this error:
Running program: /usr/lib/codelite/codelite_xterm './CppTwoDimmensional ' '/bin/sh -f /usr/bin/codelite_exec ./CppTwoDimmensional '
Program exited with return code: -1
the program was simple starting helloworld that have compiled but not running ?
Last edited by LeetShiva on Wed Mar 14, 2012 7:40 pm, edited 1 time in total.
- 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
I had simmilar error when I was tryin to install version 3.0 !
I guess that codelite is made also for ubuntu and debian but sense is .deb it should install fine on debian and its installed fine just throw error when it should execute program.
I guess that codelite is made also for ubuntu and debian but sense is .deb it should install fine on debian and its installed fine just throw error when it should execute program.
-
- CodeLite Enthusiast
- Posts: 14
- Joined: Wed Feb 16, 2011 6:07 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Compiled program execution error on linux
You'll have to install xterm, or go into CodeLite preferences and select other program to run instead of codelite_xterm (which calls xterm internally).
- 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
Ofcourse that I have installed xterm and I tried to put the line like:
xterm '$(TITLE)' '$(CMD)'
and
uxterm '$(TITLE)' '$(CMD)'
and
xfce4-terminal '$(TITLE)' '$(CMD)'
Neither one dont work it give me the same error ...
xterm '$(TITLE)' '$(CMD)'
and
uxterm '$(TITLE)' '$(CMD)'
and
xfce4-terminal '$(TITLE)' '$(CMD)'
Neither one dont work it give me the same error ...
- 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
I tried to compile it and install and I get the same messages.
Maybe eran know what is it ?
Maybe eran know what is it ?
-
- CodeLite Plugin
- Posts: 819
- Joined: Wed Sep 03, 2008 7:26 pm
- Contact:
Re: Compiled program execution error on linux
Hi,
I use (and build) CodeLite on squeeze, and the latest versions work fine.
There's a small chance that there's a problem because you installed one of the ubuntu versions; though I'd have expected them to work on debian too, that's untested. You can install the squeeze package as described here.
However I suggest you first do the obvious check: look in the CppTwoDimmensional dir and check that there is a binary of that name to execute. If not, your build failed.
If it is present, try running it in a terminal. This is likely to give much more useful error messages (e.g. a shared lib not found, in which case you may need to set LD_LIBRARY_PATH).
Regards,
David
I use (and build) CodeLite on squeeze, and the latest versions work fine.
There's a small chance that there's a problem because you installed one of the ubuntu versions; though I'd have expected them to work on debian too, that's untested. You can install the squeeze package as described here.
However I suggest you first do the obvious check: look in the CppTwoDimmensional dir and check that there is a binary of that name to execute. If not, your build failed.
If it is present, try running it in a terminal. This is likely to give much more useful error messages (e.g. a shared lib not found, in which case you may need to set LD_LIBRARY_PATH).
Regards,
David
- 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
It runs from terminal thx I'll try to install debian package 3.5 I have installed latest in debian before that was 2.8.DavidGH wrote:Hi,
I use (and build) CodeLite on squeeze, and the latest versions work fine.
There's a small chance that there's a problem because you installed one of the ubuntu versions; though I'd have expected them to work on debian too, that's untested. You can install the squeeze package as described here.
However I suggest you first do the obvious check: look in the CppTwoDimmensional dir and check that there is a binary of that name to execute. If not, your build failed.
If it is present, try running it in a terminal. This is likely to give much more useful error messages (e.g. a shared lib not found, in which case you may need to set LD_LIBRARY_PATH).
Regards,
David
I'll try with 3.5 and tell you if it work.
- 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
What version is in the repo ?
I still get version 2.8 as highest version in debian repo ?
I still get version 2.8 as highest version in debian repo ?
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Compiled program execution error on linux
This is the official debian repository - so I guess there is nothing we can do about it...LeetShiva wrote:I still get version 2.8 as highest version in debian repo ?
You could try and use codelite's repository maintained by our own DavidGH
http://www.codelite.org/LiteEditor/Repositories
Eran
Make sure you have read the HOW TO POST thread
- 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
What version to choose from https://sourceforge.net/projects/codeli ... elite-3.5/
I gues I should try GTK version cause I already tried ubuntu version and it do not work.
I gues I should try GTK version cause I already tried ubuntu version and it do not work.