How do I setup OpenGL with vscode and mingw

This page summarizes the projects mentioned and recommended in the original post on

Our great sponsors
  • SonarLint - Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
  • Scout APM - Less time debugging, more time building
  • SaaSHub - Software Alternatives and Reviews
  • glad

    Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.

    Your link is broken. Your IDE really has nothing to do with GL though. I would suggest using GLAD instead of GLEW; use this tool to generate the files and then just include them in your project code. You'll have to link against GLFW and the OpenGL library though. Not sure how to do this in MinGW though. Is there a particular reason you're using MinGW over the Windows toolchain? It's a valid choice but if you don't have a good reason to use it, you'd probably be better off using MSVC.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts