User forums > Help

Compiling C++ OpenGL projects

(1/1)

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.

Navigation

[0] Message Index

Go to full version