Code: Select all
Program exited with return code: 65280
The path can be configured inside the IDE at:
Settings->Global Editor Preferences->Terminal
Which solves the problem.
---
Original post:
I've been trying to use Codelite, version 9.0.0, on Lubuntu 15.10
Successfully followed the official instructions, (I've downloaded and installed the package for ubuntu wily, through Synaptic Package Manager, not building it myself) and got the IDE running.
When I try to compile and run a simple Hello, World! program, the launch fails with the following
Trying to reproduce the error outside the IDE, I've noticed that the folder /usr/lib/codelite does not exist, and couldn't find the codelite_xterm executable.Code: Select all
Current working directory: /media/mateus/TULHA/Prog/CodeLiteW/consolo/Release Running program: /usr/lib/codelite/codelite_xterm './consolo ' '/bin/sh -f /usr/bin/codelite_exec ./consolo' Program exited with return code: 65280
I've tried to purge and reinstall Codelite and associated packages. Same result.
I've found something more strange: I can't run the generated executable even from outside the IDE, it shows a permission denied error, and when trying as super user, a command not found error (even when forcing the executable flag with chmod).
If I manually compile the same file using g++ on the terminal, it works just fine.
The build output, from inside the IDE (showing success):The source code of the test program:Code: Select all
/bin/sh -c '/usr/bin/make -j2 -e -f Makefile' ----------Building project:[ consolo - Release ]---------- make[1]: Entering directory '/media/mateus/TULHA/Prog/CodeLiteW/consolo' /usr/bin/g++ -c "/media/mateus/TULHA/Prog/CodeLiteW/consolo/main.cpp" -O2 -Wall -DNDEBUG -o ./Release/main.cpp.o -I. -I. /usr/bin/g++ -o ./Release/consolo @"consolo.txt" -L. make[1]: Leaving directory '/media/mateus/TULHA/Prog/CodeLiteW/consolo' ====0 errors, 0 warnings====
I am noob to Linux environment. Tanks for the help.Code: Select all
#include <stdio.h> int main(int argc, char **argv) { printf("hello world\n"); return 0; }