Keeping MSVC++ Happy

Discuss any Chipmunk bugs here.
Post Reply
MrOz
Posts: 36
Joined: Tue Mar 02, 2010 11:36 pm
Contact:

Keeping MSVC++ Happy

Post by MrOz »

Just a quick note,
cpPolyShape.c should be updated as follows:

Code: Select all

poly->verts = (cpVect *)cprealloc(poly->verts, 2*numVerts*sizeof(cpVect));
MSVC++ doesn't like the implicit conversion =/

-Oz
User avatar
slembcke
Site Admin
Posts: 4166
Joined: Tue Aug 14, 2007 7:13 pm
Contact:

Re: Keeping MSVC++ Happy

Post by slembcke »

/me grumble grumble MSVC grumble (shakes fist)

Thanks.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
MrOz
Posts: 36
Joined: Tue Mar 02, 2010 11:36 pm
Contact:

Re: Keeping MSVC++ Happy

Post by MrOz »

slembcke wrote:/me grumble grumble MSVC grumble (shakes fist)

Thanks.
Hah, I have similar feelings, but I'm forced to use it for a project :(

-Oz
MrOz
Posts: 36
Joined: Tue Mar 02, 2010 11:36 pm
Contact:

Re: Keeping MSVC++ Happy

Post by MrOz »

Yezindagi wrote: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)
Dude, this thread is almost 3 years old, had nothing to do with the pro version or xcode. Start a new thread.
maximile
Posts: 157
Joined: Mon Aug 20, 2007 12:53 pm
Location: London, UK
Contact:

Re: Keeping MSVC++ Happy

Post by maximile »

MrOz wrote:Dude, this thread is almost 3 years old, had nothing to do with the pro version or xcode. Start a new thread.
Seems like this forum get targeted by spammers copying text from old posts and including links in the signature. I deleted the post you quoted.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests