Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

c++

xcode4

opengl

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/

like image 582
Adam Ashwal Avatar asked Dec 27 '22 08:12

Adam Ashwal


2 Answers

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

like image 131
user1118321 Avatar answered Jan 09 '23 08:01

user1118321


If you are getting Match-O Link error make sure to remove/trash the core/dummy.cpp this will keep it from compiling.

like image 38
Andrew Avatar answered Jan 09 '23 09:01

Andrew