c++ - Linux find object for glxext.h functions -> cannot find correct .so -> "undefined reference" -


Text after "div class =" itemprop = "text">

My application is using functions found in glxext.h (former /usr/include/GL/glxext.h) , It seems still I am not connecting with the correct library

Which library / compilation unit matching functionality includes

I am already connecting with the following libraries :?

  -lopengl -lcuda -lcudart -lGL -lglut -lGLEW -lGLU -lX11 -lXNVCtrl -lXxf86vm -lXi -lxmu -lXext  

output

Undefined reference to glxEnumerateVideoCaptureDevicesNV 'glXLockVideoCaptureDeviceNV for undefined reference'

I just link it with the correct lib It can be a matter of finding. I found LWJGL which can contain the right components

Text after "div class =" itemprop = "text">

This action is part of the GLX extension. If you try to link to them and receive reports that this work is not found in the -lGL , then it is most likely that this GLX extension is not there. You can make sure with glxinfo | The extension may be lost after the grep NV_video_capture command

, this is usually recommended with the first query supported extension for glXQueryExtensionsString (which is supported GLX will return the space-separated list of extensions) and then, if you need the extension which is supported, use the glXGetProcAddress to get the pointer from each function that you need. If you add a link to the extension function, then your program will not be able to run on any other implementation, which does not have this extension.


Comments