Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: TuxD3v on May 06, 2013, 09:40:26 pm

Title: problems running code::blocks(SOLVED!!)
Post by: TuxD3v on May 06, 2013, 09:40:26 pm
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
Title: Re: problems running code::blocks
Post by: oBFusCATed on May 06, 2013, 09:55:32 pm
Search the forum it has been discussed a lot, even in last few days.
Title: Re: problems running code::blocks
Post by: BlueHazzard on May 06, 2013, 11:23:35 pm
Does the application exist?
Did you started it from therminal (sh)?

the xterm does't start
i can  see the console of code::blocks..
what now? Does the console start or not?

even a printf("Hello world");
always post the whole code....
did you missed a return 0?
Title: Re: problems running code::blocks(SOLVED!!)
Post by: TuxD3v on May 07, 2013, 03:04:41 am
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