Code::Blocks Forums

User forums => Help => Topic started by: maldorel on April 03, 2013, 08:59:55 pm

Title: Building/running in Linux?
Post by: maldorel on April 03, 2013, 08:59:55 pm
I recently moved to Ubuntu 12.10 from Windows and am sort of a noob to the Ubuntu controls. In the Window's Code::Blocks, when you build and run your code, the CMD opens and displays the outcome of your code. However, on Linux, I can't seem to get the terminal to open when I build/run the code. I even tried using the default "Hello World" code since I know there are no problems with that code, but still nothing happens. Does anyone have any idea why this is happening?
Title: Re: Building/running in Linux?
Post by: oBFusCATed on April 03, 2013, 09:03:16 pm
Have you tried to setup the terminal to use your terminal of choice?

See Settings -> Environment -> General -> Terminal to launch console programs

If you're running pre-12.11 search the forum for details how to set it.
Title: Re: Building/running in Linux?
Post by: maldorel on April 03, 2013, 09:10:12 pm
Yes, I tried that, but that didn't work. It turns out that the Code::Blocks IDE doesn't come with the GNU C++ Compiler, so I had to separately download that as an add-on. Now it works just like before.