Code::Blocks Forums

User forums => Help => Topic started by: yaisiel on May 29, 2008, 06:32:56 pm

Title: Problem running builds
Post by: yaisiel on May 29, 2008, 06:32:56 pm
Hi,
I recently did an application using codeblocks IDE (linux version) that uses the console. After building the executable, I double click on it  to run it outside the IDE and the console doesn't appears.

Thanks

P.D. I'm using ubuntu (Hardy) distro. Hope that this info helps to help me :)
Title: Re: Problem running builds
Post by: Jenna on May 29, 2008, 06:48:51 pm
If you have a console-program, like the "Hello world"-program created by C::B's wizard, you have to run it from a console to see anything happen.

C::B starts "xterm" as default and runs it from there.
Or to be more exactly it uses "cb_console_runner" as helper-application, to keep the terminal-window opened until you hit the return-key.
What program or shell is used, is defined in "Settings -> Environment... -> General settings".
Title: Re: Problem running builds
Post by: yaisiel on May 29, 2008, 07:34:09 pm
Thank you!
I ran the build on the console and works fine.

Yaisiel