including openGL
I''m really sorry to ask such a stupid question but...
could someone tell me what to do if I need the OpenGL types and funtions in two (or more) different .cpp files?
If I try to #include gl.h in two files the compiler (vc++ 6) start complaining like this
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2144: syntax error : missing '';'' before type ''void''
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : error C2501: ''WINGDIAPI'' : missing storage-class or type specifiers
c:\program files\microsoft visual studio\vc98\include\gl\gl.h(1152) : fatal error C1004: unexpected end of file found
I''m tired of putting all my gl related code in only one file
Please Help If You Can
Cheers
February 22, 2001 02:21 PM
Cornholio? That name sounds familiar... Are your by any chance danish?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement