I'm trying to use glew in my Xcode project, but I'm getting this: Apple Mach-O Linker (Id) Error... Undefined symbols for architecture x86_64
I'm using the current version of glew that I downloaded from their sourceforge site.

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:
-lGLEW/opt/local/include/ /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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With