Code::Blocks Forums

User forums => Help => Topic started by: flammamancer on February 14, 2009, 05:28:07 pm

Title: Compiling C++ OpenGL projects
Post by: flammamancer on February 14, 2009, 05:28:07 pm
All right first of all I am almost certain that this question has already been dealt with but I have searched the forums for an hour an cannot find it.

I cannot Compile an OpenGL project with C++ using Code::Blocks allthough it seams to work fine under the C Compiler.
I can compile OpenGL projects with the C++ compiler with other IDEs but not Code::Blocks
Title: Re: Compiling C++ OpenGL projects
Post by: thomas on February 14, 2009, 06:05:04 pm
I'm doing that every day and it works just fine, so there is no inherent problem regarding that in either Code::Blocks or MinGW.

Before trying to get C++ with OpenGL to work, have you tried compiling something C++ alone (with no OpenGL)? Because if that doesn't work either, then most likely you have incorrectly configured gcc instead of g++ in your toolchain executables.