News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

C programming compiling with g++?

Started by MLinford, March 16, 2007, 07:17:05 AM

Previous topic - Next topic

MLinford

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

Pecan

#1
Make sure the path to your tool chain has been specified to CB.

MainMenu=>Setting=>Compiler&Debugger=>Global Compiler Settings Settings/Tool Chain executables


MLinford

Yeah, my variables are the same except that they're not the mingw32 ones as I'm not using windows.