News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Compiling C++ OpenGL projects

Started by flammamancer, February 14, 2009, 05:28:07 PM

Previous topic - Next topic

flammamancer

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

thomas

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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."