GLEW: Apple Mach-O Linker (Id) Error

我是研究僧i 提交于 2019-12-03 17:13:49

Here's what I did:

Install Glew via MacPorts. (in terminal run the command sudo port install glew)

In the Xcode project's build settings add the following:

  • other linker flags: -lGLEW
  • header search paths: /opt/local/include/
  • library search paths: /opt/local/lib/

You aren't linking with the GLEW library. You will probably have to add the directory, you installed GLES into, it to the 'library search path' settings of the Xcode project.

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