Failed to create opengl

I reinstalled windows in my PC. This is where my code failed to run (before this everything was ok). The error is:

GLUT: Fatal Error in <unamed>:failed to create OpenGL rendering context.

I’d installed all the necessary file which i downloaded from and put all the files in the right place.

What’s wrong with it? Am I missing something?
Please help :frowning:

Thank you in advance.

Did you remember to reinstall the latest video drivers from your IHV? :slight_smile:

I think I’ve seen this error before, but I can’t remember why. If a GLUT file was missing, you’d get a different error (wouldn’t compile, or Windows would stop with a missing dll error), so that’s not it. For whatever reason, GLUT can’t create an OpenGL rendering context with the requested atrributes. Are your parameters to the GLUT init stuff reasonable? Can you post your init code?