Active Project does not run as expected

General questions regarding the usage of CodeLite
jbarnesweb
CodeLite Curious
Posts: 3
Joined: Mon Apr 05, 2010 6:34 pm
Genuine User: Yes
IDE Question: C++
Contact:

Active Project does not run as expected

Post by jbarnesweb »

When I run the default project (Ctl+F5), I get the following output:

Code: Select all

Current working directory: /home/jeffbarnes/svn/Device/DeviceApp/Executor/Debug
Running program: /usr/bin/codelite_xterm './Executor  --debug=0xFFFF --console' '/bin/sh -f /usr/bin/codelite_exec LD_LIBRARY_PATH=/usr/local/asm/lib ./Executor  --debug=0xFFFF --console'
Program exited with return code: 0
The second and third lines are all on the same line.

The program should not have exited.

When I cut and paste everything after "Running program: " to the end of the line, the xterm comes up and the program does not exit. When I run the program in the codelite debugger, the program does not exit.

In the project settings, under the General tab, I have the following values:

...
Intermediate Directory: ./Debug

Program: ./$(ProjectName)
Program Arguments: --debug=0xFFFF --console
Working Directory: $(IntermediateDirectory)

The Settings->Environment Variables looks like this:

LD_LIBRARY_PATH=/usr/local/asm/lib
CodeLiteDir=/usr/share/codelite

Why doesn't the Ctl-F5 or the Green Arrow (Run Active Project) run as expected?
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Active Project does not run as expected

Post by eranif »

Do you get an error in the trace tab?

Eran
Make sure you have read the HOW TO POST thread
jbarnesweb
CodeLite Curious
Posts: 3
Joined: Mon Apr 05, 2010 6:34 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Active Project does not run as expected

Post by jbarnesweb »

No error in the trace tab. Last entry was
01:38:28 PM: Launching console: /usr/bin/codelite_xterm '"./Executor"' 'sleep 94738'
Post Reply