Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Lurking

problem w/ glext.h?

This topic is 5936 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have been reading tutorials on multitexturing and extenstions. I desided to write a class that manages them for my engine. The problem w/ it is that when i compile the file glext.h it generates 204 errors such as: ======================================================== c:\nvsdk\opengl\include\glh\gl\glext.h(1481) : error C2071: ''PFNGLBLENDCOLORPROC'' : illegal storage class c:\nvsdk\opengl\include\glh\gl\glext.h(1481) : error C2059: syntax error : '')'' c:\nvsdk\opengl\include\glh\gl\glext.h(1482) : error C2065: ''GLenum'' : undeclared identifier c:\nvsdk\opengl\include\glh\gl\glext.h(1482) : error C2146: syntax error : missing '')'' before identifier ''mode'' c:\nvsdk\opengl\include\glh\gl\glext.h(1482) : error C2165: ''left-side modifier'' : cannot modify pointers to data ========================================================== these errors happen to almost if not all the objects in the header. I cant seem why it is generating these errors? If you can help me out that would be greatly appreciated! : ^ ) - Lurking

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
You have to include glext.h <i>after</i> gl.h.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!