There’s not much else to say about it, everytime I try to run an opengl program the application crashes. If I’m compiling it myself it ususally crashes before it executes the first instruction in main. When I try to debug I get a segmentation fault error. Oh man I really need to fisx this problem, can anyone help. I really have no Idea why it’s doing this so it’s hard for me to narrow down the possibilities. I have the latest graphics card drivers and just don’t know where to look.
It may just be your libraries are screwed or something.
I would download some other OpenGL programs off the net first to make sure they work - otherwise you’ll never know what the root of the problem is.
If these work, you know it’s your own project setup that’s going wrong and you can narrow it down from there.
Paste your own code over one of the examples and save it as a new project. This has gotten me out of similar predicaments before.
I’ve used other opengl programs with the same problem. They start up then I get a windows error message and I end the program now.
So it must be your dll’s or the drivers for your graphics card that aren’t working properly.
Can you get any video games or other applications that use opengl to run on your machine?
Update your graphics drivers.
Download glinfo2 from here and run it for additional information on what is happening:
Microsoft intentionally made this difficult, but you’ll be OK if you update.