User forums > Using Code::Blocks

Problem Compiling codeblocks

(1/2) > >>

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

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

Jenna:

--- Quote ---Process terminated with status 255 (0 minutes, 0 seconds)
--- End quote ---

It looks like you have no xterm installed.

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

Navigation

[0] Message Index

[#] Next page

Go to full version