dyld Missing glX* from libX11

二次信任 提交于 2019-12-13 07:39:07

问题


​While attempting to run [executable], a program I wrote under Linux and am attempting to test under XQuartz on OSX, I get:

dyld: lazy symbol binding failed: Symbol not found: _glXChooseVisual
  Referenced from: [executable]
  Expected in: /usr/X11/lib/libX11.6.dylib
[...]
Trace/BPT trap: 5

The only precedent I could find was this, which wasn't resolved. My program uses GLEW as set up here. Clearly, glXChooseVisual isn't being found, but I would expect it in libX11, so . . . what went wrong?


回答1:


glXChooseVisual is located in libGL not in libX11



来源:https://stackoverflow.com/questions/27830635/dyld-missing-glx-from-libx11

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!