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