Re: opengl on linux.
- Posted by ghaberek (admin) Nov 29, 2016
- 1372 views
petelomax said...
Well, that moves me on to
Error! Can't find wglGetProcAddress().Not to worry - maybe someone can fix this when I get this release out, or maybe it will just work for them anyway (mind you, 64-bit c_func still needs a few tweaks for opengl).
I don't think that function is defined on Linux. The "w" part makes me think it's Windows-specific. There is a GLX function available though:
$ grep GetProcAddress /usr/include/GL/glxext.h __GLXextFuncPtr glXGetProcAddress (const GLubyte *procName); __GLXextFuncPtr glXGetProcAddressARB (const GLubyte *procName);
$ nm -D /usr/lib/x86_64-linux-gnu/libGL.so | grep "GetProcAddress" 000000000001a640 T glXGetProcAddress 000000000001a640 T glXGetProcAddressARB
-Greg