Author Topic: problems running code::blocks(SOLVED!!)  (Read 9102 times)

Offline TuxD3v

  • Multiple posting newcomer
  • *
  • Posts: 12
problems running code::blocks(SOLVED!!)
« 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
« Last Edit: May 07, 2013, 03:14:03 am by TuxD3v »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: problems running code::blocks
« Reply #1 on: May 06, 2013, 09:55:32 pm »
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!]

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: problems running code::blocks
« Reply #2 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?

Offline TuxD3v

  • Multiple posting newcomer
  • *
  • Posts: 12
Re: problems running code::blocks(SOLVED!!)
« Reply #3 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
« Last Edit: May 07, 2013, 03:12:37 am by TuxD3v »