Build error- libChipmunkPro-iPhone.a(ChipmunkImageSampler.o)

Discuss any Chipmunk bugs here.
Post Reply
cjhorton
Posts: 11
Joined: Fri Mar 30, 2012 11:04 pm
Contact:

Build error- libChipmunkPro-iPhone.a(ChipmunkImageSampler.o)

Post by cjhorton »

I am getting the following error in xcode 4.32 when building Chipmunk Pro with Cocos2d v 2 rc1.

Undefined symbols for architecture i386:
"_CGImageSourceCreateWithURL", referenced from:
+[ChipmunkImageSampler loadImage:] in libChipmunkPro-iPhone.a(ChipmunkImageSampler.o)
"_CGImageSourceCreateImageAtIndex", referenced from:
+[ChipmunkImageSampler loadImage:] in libChipmunkPro-iPhone.a(ChipmunkImageSampler.o)
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Has anyone else had this problem?
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Build error- libChipmunkPro-iPhone.a(ChipmunkImageSample

Post by slembcke »

The ImageIO framework is missing from your project.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
cjhorton
Posts: 11
Joined: Fri Mar 30, 2012 11:04 pm
Contact:

Re: Build error- libChipmunkPro-iPhone.a(ChipmunkImageSample

Post by cjhorton »

slembcke wrote:The ImageIO framework is missing from your project.
Yup, that was definitely it =) Thanks!
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests