GL EXT problem

Started by
2 comments, last by _the_phantom_ 18 years, 8 months ago
ok so i download the glxext.h file from sgi website but when i include the file so i can use the ext's i get these errors: http://www.gamedev.net/community/forums/topic.asp?topic_id=338694c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(318) : error C2146: syntax error : missing ';' before identifier 'GLXVideoSourceSGIX' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(318) : error C2501: 'GLXVideoSourceSGIX' : missing storage-class or type specifiers c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(331) : error C2146: syntax error : missing ';' before identifier 'send_event' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(331) : error C2501: '__unnamed::Bool' : missing storage-class or type specifiers c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(331) : error C2501: '__unnamed::send_event' : missing storage-class or type specifiers c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(332) : error C2143: syntax error : missing ';' before '*' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(332) : error C2501: '__unnamed:isplay' : missing storage-class or type specifiers c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(332) : error C2501: '__unnamed::display' : missing storage-class or type specifiers c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(333) : error C2146: syntax error : missing ';' before identifier 'drawable' c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(333) : error C2501: '__unnamed::GLXDrawable' : missing storage-class or type specifiers c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(333) : error C2501: '__unnamed::drawable' : missing storage-class or type specifiers c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\PlatformSDK\Include\gl\glxext.h(355) : fatal error C1083: Cannot open include file: 'inttypes.h': No such file or directory is there any other file i need? is there something i am missing here? any help would be greatly needed.
Advertisement
hmmmm it does seem odd that its picking up on all the GLX extensions.

Personally, I wouldnt bother with using that, pick yaself up an extension loader and deal with extensions that way, my personal fav. is GLee but there are others, details can be found in the Forum FAQ.
oh, I thought i was going to need this with the ext load, i think i will be using GLEW.
the extension loaders come with their own headers for you to include

This topic is closed to new replies.

Advertisement