I've recently being having a lot of headaches with C++ and OpenGL, I upgraded my OS to Ubuntu 14.04 and a few of my applications have stopped working and are throwing GLSL compilation errors. This is obviously due to the differences in opengl versions, is there anyway to enforce a particular version of opengl consistently throughout the development of a project in C++? I recently developed an opengl app on android and all the opengl methods were encapsulated in a GL10 class which made things so much easier... going back to C++ just makes me feel dizzy
I've always used GLEW, an extension library, which I believe (could be wrong here) is required to actually use any opengl API above 1.0 ? but I don't know if there is any way to throw a compiler error if the opengl version is incorrect. Also, I'm not entirely sure how I would install a previous version of opengl on my machine, it use to be that it was fully backwards compatible so that wasn't really an issue but they've removed a lot of methods in later versions of opengl.
I'm thinking about switching to using Java and JOGL for any future applications I develop because of this but I'm concerned about performance, has anyone here developed any graphically demanding games in Java/JOGL?