PDA

View Full Version : Opengl Fortran Trouble



jamie fearon
09-23-2004, 07:53 AM
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
:(

dorbie
09-23-2004, 02:20 PM
Check the returns for glutCreateWindow, you may have to adjust the tokens or'd in the glutInitDisplayMode function argument.

jamie fearon
09-23-2004, 04:15 PM
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.

Vinícius Reis
02-21-2005, 07:35 AM
Jamie,

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...