News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Building/running in Linux?

Started by maldorel, April 03, 2013, 08:59:55 PM

Previous topic - Next topic

maldorel

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?

oBFusCATed

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.
(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!]

maldorel

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.