User forums > Using Code::Blocks

problems running code::blocks(SOLVED!!)

(1/1)

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.

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

--- End quote ---

--- Quote from: TuxD3v on May 06, 2013, 09:40:26 pm ---i can  see the console of code::blocks..

--- End quote ---
what now? Does the console start or not?


--- Quote from: TuxD3v on May 06, 2013, 09:40:26 pm ---even a printf("Hello world");

--- End quote ---
always post the whole code....
did you missed a return 0?

TuxD3v:
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

Navigation

[0] Message Index

Go to full version