Search code examples
c++openglxcode4

How do I add OpenGL Mathematics (GLM) to Xcode 4?


I can't figure out how to add the framework to my project. I tried adding it like any other framework, by clicking the plus button under Link Binary With Libraries and then clicking 'other' and then selecting the GLM folder. But when I go to included it, the autocomplete works but it can't build because it says the file is not found.

Website for library: http://glm.g-truc.net/


Solution

  • According to the website, it's not a framework, it's only headers. You should just add the headers directly to your project.