Page 1 of 1

Keeping MSVC++ Happy

Posted: Fri May 04, 2012 10:11 pm
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

Re: Keeping MSVC++ Happy

Posted: Sat May 05, 2012 9:26 am
by slembcke
/me grumble grumble MSVC grumble (shakes fist)

Thanks.

Re: Keeping MSVC++ Happy

Posted: Sat May 05, 2012 10:04 am
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

Re: Keeping MSVC++ Happy

Posted: Thu Feb 19, 2015 7:21 am
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.

Re: Keeping MSVC++ Happy

Posted: Thu Apr 02, 2015 12:59 pm
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.