gluUnProject not working in simulator.

30 views
Skip to first unread message

SamuraiDave

unread,
Mar 16, 2010, 5:34:56 AM3/16/10
to iphone-glu
I've installed both for iPhone OS and simulator, but when compiling
for the simulator I get a linker error:

Linking /Users/macmini/Desktop/iPhone/GLUTest/build/Release-
iphonesimulator/GLUTest.app/GLUTest - (1 error)
"_gluUnProject", referenced from:
#import "glu.h"

I installed to the developer directory by following the instructions
under the post here titled 'instructions'. Under 'all project
settings' I also added the header and library search paths, and the
compiler flag -IGLU.

Any help or insights would be really appreciated.

Cheers!

Christopher Stawarz

unread,
Mar 18, 2010, 12:30:15 PM3/18/10
to iphon...@googlegroups.com
Hi,

I haven't built or used iGLU for a very long time, so I expect it needs some updating to work with the latest iPhone SDK. However, one obvious problem with the instructions post you mentioned is that, as of Xcode 3.2, you need to use SDK_DIR in the header and library search paths, rather than SDKROOT. I don't know if that will solve your problem, but it's worth a shot.


Cheers,
Chris

> --
> You received this message because you are subscribed to the Google Groups "iphone-glu" group.
> To post to this group, send email to iphon...@googlegroups.com.
> To unsubscribe from this group, send email to iphone-glu+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/iphone-glu?hl=en.
>

Reply all
Reply to author
Forward
0 new messages