Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: eshmun on October 03, 2007, 05:07:22 am

Title: Problem Compiling codeblocks
Post by: eshmun on October 03, 2007, 05:07:22 am
hi;
I'm have a problem compiling with codeblock, when I compile a project, codeblock return to me 0 error and 0 warnings, when I try to execute the project it return to me this:

Checking for existence: /home/leonardo/Projects/as/as
Executing: xterm -T 'as' -e 'LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH /usr/bin/cb_console_runner "/home/leonardo/Projects/as/as" ' (in /home/leonardo/Projects/as/.)
Process terminated with status 255 (0 minutes, 0 seconds)

and I do not know what is the problem. Any help it woul be helpfull.

Thanks
Title: Re: Problem Compiling codeblocks
Post by: stahta01 on October 03, 2007, 05:49:19 am
I am a windows person, so don't know the best answer to this question.
But, some distro have issues with running the program under Code::Blocks; what Linux distro are you using?

Can you run the program from the command line / shell prompt?

Tim S
Title: Re: Problem Compiling codeblocks
Post by: eshmun on October 03, 2007, 06:00:01 am
I'm using Debian 4 etch, and yes I can run the program from de command line
Title: Re: Problem Compiling codeblocks
Post by: stahta01 on October 03, 2007, 07:00:27 am
I have no idea what you should do.

I know some people need to replace xterm with some other terminal program, but I have no idea if you should or what you should use instead.

I known some people need to adjust the value of LD_LIBRARY_PATH, but no idea where they adjust it.

Tim S
Title: Re: Problem Compiling codeblocks
Post by: Jenna on October 03, 2007, 09:11:59 am
Quote
Process terminated with status 255 (0 minutes, 0 seconds)

It looks like you have no xterm installed.

Try
Code
sudo apt-get install xterm
or
Code
apt-get install xterm
as root, this should fix the problem.
Title: Re: Problem Compiling codeblocks
Post by: eshmun on October 03, 2007, 02:46:56 pm
problem resolved, I intalled xterm and the project run ok, thanks for help me.