Author Topic: C programming compiling with g++?  (Read 4569 times)

MLinford

  • Guest
C programming compiling with g++?
« 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

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2873
Re: C programming compiling with g++?
« Reply #1 on: March 16, 2007, 12:00:47 pm »
Make sure the path to your tool chain has been specified to CB.

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

« Last Edit: March 16, 2007, 12:03:49 pm by Pecan »

MLinford

  • Guest
Re: C programming compiling with g++?
« Reply #2 on: March 17, 2007, 05:55:23 am »
Yeah, my variables are the same except that they're not the mingw32 ones as I'm not using windows.