Using OpenGL Mathematics (GLM) in an Objective-C program

Posted by user1621592 on Stack Overflow See other posts from Stack Overflow or by user1621592
Published on 2012-08-30T03:36:47Z Indexed on 2012/08/30 3:38 UTC
Read the original article Hit count: 354

Filed under:
|
|
|

i am trying to use GLM to load a .obj object in my Objective-C Program (Xcode 4.4 Mac Os X). I have added the glm folder to my project. i try to import it using #import "glm/glm.hpp", but the program doesn't build. some of the errors are the following: (this errors are produced in the GLM files)

namespace glm{ //Unknown type name 'namespace' namespace detail { .....

it doesn't find the cstdlib, cmath, and other libraries....

This happens because my program is in Objective-c and the GLM doesn't work with this language??? How can i resolve this problem??? Thanks for your help.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about opengl