I've been using SDL 1.2.14 for awhile without using many of the features from newer OpenGL versions. I'm now interested working only with the 3.3 API (not using the deprecated functions, etc... that's the latest my graphics card supports), but I'm having trouble getting set up.

Here's some information about my development environment:

  • Windows 7 64 bit
  • Eclipse Helios CDT
  • Mingw Toolchain
  • C++

I've tried building SDL 1.3 and following this tutorial. This ended up being a pretty big pain and I gave up amid a stream of compile errors - I'd prefer to not go this route if possible. I know also that GLEW/GLEE or some do-it-yourself extension function pointers will be required.

So basically: is it possible? If so, what is the best/easiest way to make it happen? Thanks!

up vote 8 down vote accepted

Only SDL version 1.3 provides support for creating an OpenGL 3.3 core context. So you should upgrade. And if you're having a problem upgrading, that's something you need to get worked out.

However, if you want to use a 3.3 compatibility context, all you need is recent drivers. Well, that and 3.3-capable hardware (anything advertised as DX10. Except from Intel).

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.