News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Problem Compiling codeblocks

Started by eshmun, October 03, 2007, 05:07:22 AM

Previous topic - Next topic

eshmun

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

stahta01

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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

eshmun

I'm using Debian 4 etch, and yes I can run the program from de command line

stahta01

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
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

QuoteProcess terminated with status 255 (0 minutes, 0 seconds)

It looks like you have no xterm installed.

Try sudo apt-get install xterm or apt-get install xterm as root, this should fix the problem.

eshmun

problem resolved, I intalled xterm and the project run ok, thanks for help me.