Opengl Fortran Trouble

I can complile my example opengl fortran source, but when i try and run the compiled code, an error message comes up saying “GLUT: Fatal Error in nomame: failed to create OpenGL rendering context.”

Please can anybody help I have tryed everything

Check the returns for glutCreateWindow, you may have to adjust the tokens or’d in the glutInitDisplayMode function argument.

I looked at that and it seems fine, the code i am compiling is example source code from my compliler (NA Software), all the examples produces the same error message. I think i have installed opengl correctly, but still get this message.


Try to use an sample code and then modify it!
Post a little bit of your code here, if it’s possible I’ll help you…