0
我试图编译libQGLViewer在OS X中的优胜美地库,但执行make
以下错误出现编译LibQGLViewer失败,因为没有找到lGLU
ld: library not found for -lGLU clang: error: linker command failed with exit code 1 (use -v to see invocation) make[1]: *** [/Users/MyUser/Library/Frameworks/QGLViewer.framework/QGLViewer] Error 1 make: *** [sub-QGLViewer-make_first-ordered] Error 2
我发现有一个叫libGLU.1.dylib
/usr/X11/lib
下库后但我不知道在哪里添加该行以正确编译库。而且,我不知道这是否是编译要求的正确的库。
有什么想法?