Terminal problems
Posted: Sun Jul 17, 2011 9:52 pm
Hello all.
I am new to this forum, but i have searched the forum for at specific answer to my questions, but since i couldnt fint any i have posted this topic.
I recently installed Kubuntu 10.11 from scratch, only keeping my pictures, videos and my documents. Any settingfiles and stuff like that, i deleted. Now, i installed the CodeLite version from Synaptic, but everytime i tried to run the program i had written, the terminal would say that it couldnt find the programfile.
So i removed CodeLite completely by using the Synaptic Package Managers Complete removal method and then installed the Natty 4778 version from this page, using the sudo dpkg -i "installationfile.deb" (without the quotation marks).
Now when i try to start running (ctrl-f5) a program, it doesn't do anything at all. The compiler, builder and debugger works perfectly. The compilation says no errors, no warnings and the program runs fine when runned from a terminal manually.
When i use the Run command i get this message:
Current working directory: /home/michael/Programming/C++ for dummies (CodeLite)/objptr/Debug
Running program: /usr/lib/codelite/codelite_xterm './objptr ' '/bin/sh -f /usr/bin/codelite_exec ./objptr '
Program exited with return code: -1
In the global settings, my terminal command is set to /usr/lib/codelite/codelite_xterm '$(TITLE)' '$(CMD)'
My program is quite simple and i can post it here, if you would like to see it.
When i build my project, i get this message:
----------Build Started--------
/bin/sh -c '"make" -j 4 -f "C++ for dummies (CodeLite)_wsp.mk"'
----------Building project:[ objptr - Debug ]----------
make[1]: Entering directory `/home/michael/Programming/C++ for dummies (CodeLite)/objptr'
g++ -o ./Debug/objptr ./Debug/main.o -L.
make[1]: Leaving directory `/home/michael/Programming/C++ for dummies (CodeLite)/objptr'
----------Build Ended----------
0 errors, 0 warnings
I am new to this forum, but i have searched the forum for at specific answer to my questions, but since i couldnt fint any i have posted this topic.
I recently installed Kubuntu 10.11 from scratch, only keeping my pictures, videos and my documents. Any settingfiles and stuff like that, i deleted. Now, i installed the CodeLite version from Synaptic, but everytime i tried to run the program i had written, the terminal would say that it couldnt find the programfile.
So i removed CodeLite completely by using the Synaptic Package Managers Complete removal method and then installed the Natty 4778 version from this page, using the sudo dpkg -i "installationfile.deb" (without the quotation marks).
Now when i try to start running (ctrl-f5) a program, it doesn't do anything at all. The compiler, builder and debugger works perfectly. The compilation says no errors, no warnings and the program runs fine when runned from a terminal manually.
When i use the Run command i get this message:
Current working directory: /home/michael/Programming/C++ for dummies (CodeLite)/objptr/Debug
Running program: /usr/lib/codelite/codelite_xterm './objptr ' '/bin/sh -f /usr/bin/codelite_exec ./objptr '
Program exited with return code: -1
In the global settings, my terminal command is set to /usr/lib/codelite/codelite_xterm '$(TITLE)' '$(CMD)'
My program is quite simple and i can post it here, if you would like to see it.
When i build my project, i get this message:
----------Build Started--------
/bin/sh -c '"make" -j 4 -f "C++ for dummies (CodeLite)_wsp.mk"'
----------Building project:[ objptr - Debug ]----------
make[1]: Entering directory `/home/michael/Programming/C++ for dummies (CodeLite)/objptr'
g++ -o ./Debug/objptr ./Debug/main.o -L.
make[1]: Leaving directory `/home/michael/Programming/C++ for dummies (CodeLite)/objptr'
----------Build Ended----------
0 errors, 0 warnings