# 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 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 on other sites

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.

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

• ### Forum Statistics

• Total Topics
627701
• Total Posts
2978705

• 21
• 14
• 12
• 10
• 12