1
我试图从git clone https://github.com/nigels-com/glew.git
如何构建GLEW到自定义路径?
建立GLEW据该网站,我可以修改使用环境变量GLEW_DEST
所以我做了什么安装路径是
export GLEW_DEST=/usr/local/glew
make extensions
make
但是编译显示以下错误
ld: dylib lib/libGLEW.dylib missing LC_ID_DYLIB load command file 'lib/libGLEW.dylib' for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [bin/glewinfo] Error 1
有人可以帮助搞清楚是什么问题?
我刚刚尝试了库的最新提交,仍然收到了'LC_ID_DYLIB'消息。任何想法? – BRabbit27