News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

problems running code::blocks(SOLVED!!)

Started by TuxD3v, May 06, 2013, 09:40:26 PM

Previous topic - Next topic

TuxD3v

Hi,

I am running linux mint LMDE(debian) amd64

i can't run a c program in code::Blocks.

even a printf("Hello world");

the xterm does't start

Checking for existence: /home/zigui/Desktop/teste/bin/Debug/teste
Executing: xterm -T teste -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/zigui/Desktop/teste/bin/Debug/teste  (in /home/zigui/Desktop/teste/.)
Process terminated with status 255 (0 minutes, 0 seconds)

i can  see the console of code::blocks..

this is what i have in settings->environment:

shel to run commands: /bin/sh -c
terminal no launch console applications : xterm -T $TITLE -e

sh points to /bin/bash :
ls -la /bin/sh
lrwxrwxrwx 1 root root 4 Apr 17 20:08 /bin/sh -> bash

anny one know how to solve the problem?

thanks in advance
tux

oBFusCATed

Search the forum it has been discussed a lot, even in last few days.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

BlueHazzard

Does the application exist?
Did you started it from therminal (sh)?

Quote from: TuxD3v on May 06, 2013, 09:40:26 PM
the xterm does't start
Quote from: TuxD3v on May 06, 2013, 09:40:26 PM
i can  see the console of code::blocks..
what now? Does the console start or not?

Quote from: TuxD3v on May 06, 2013, 09:40:26 PM
even a printf("Hello world");
always post the whole code....
did you missed a return 0?

TuxD3v

#3
hi,
thanks for the reply.

I don  know why, but my LMDE doesn 't come with xterm...so i have installed it...

i have passed 3 dasy around, and nothing...OMG.

xterm came in all distributions...

Thanks for the help ;)

regards
tux