Jump to content
  • Advertisement
Sign in to follow this  
AIRMichael2

glXGetProcAddress not working :(

This topic is 3989 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

Hey, After trying alot, I can't seem to get glXGetProcAddress or glXGetProcAddressARB to work ( I am working on a Linux machine currently). The error I get is: error: 'glXGetProcAddress' was not declared in this scope Does someone know how to fix this? I have included all gl libraries and glut... Thanks for reading. Greetings, Mic

Share this post


Link to post
Share on other sites
Advertisement
Ok...
It seems to be in glxext.h so I included <GL/glxext.h> but now I am getting other errors now, which are inside glxext.h ...

like "XID" does not name a type... anyone?

EDIT!:

That was some false information from me, glXGetProcAddress is not inside glxext.h, it was a extern function asking for it, sorry. So I still have the same problem like before...

Share this post


Link to post
Share on other sites
Added:


extern void (*glXGetProcAddressARB(const GLubyte *))();


Now I am getting a conversion error: "Invalid conversion from 'const char*' to 'const GLubyte*'

Trying to fix that now.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!