Sign in to follow this  
AIRMichael2

glXGetProcAddress not working :(

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this