Code::Blocks Forums
User forums => Help => Topic started by: MLinford on March 16, 2007, 07:17:05 am
-
Hi, installed c::b kind of recently and am a bit confused. I started a new project to see if I had it set up correctly on my ubuntu installation. Installation was pretty straightforward, so I didn't see where I could've gone wrong. But although I explicitly told it to create a C program, when I try to compile it I get errors that g++ isn't installed. I just did a basic "Hello, world" program by changing the output line from the canned command-line option when creating the project. Also, it's a .c file so GCC should recognize that g++ isn't needed anyways, right?
Thanks,
Mike
-
Make sure the path to your tool chain has been specified to CB.
MainMenu=>Setting=>Compiler&Debugger=>Global Compiler Settings Settings/Tool Chain executables
(http://img221.imageshack.us/img221/6964/161bg7.png)
-
Yeah, my variables are the same except that they're not the mingw32 ones as I'm not using windows.