User forums > Help
C programming compiling with g++?
(1/1)
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:
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.
Navigation
[0] Message Index
Go to full version