Keeping MSVC++ Happy

Discuss any Chipmunk bugs here.

Keeping MSVC++ Happy

Postby MrOz » Fri May 04, 2012 10:11 pm

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
MrOz
 
Posts: 35
Joined: Tue Mar 02, 2010 11:36 pm

Re: Keeping MSVC++ Happy

Postby slembcke » Sat May 05, 2012 9:26 am

/me grumble grumble MSVC grumble (shakes fist)

Thanks.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
User avatar
slembcke
Site Admin
 
Posts: 4164
Joined: Tue Aug 14, 2007 7:13 pm

Re: Keeping MSVC++ Happy

Postby MrOz » Sat May 05, 2012 10:04 am

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: 35
Joined: Tue Mar 02, 2010 11:36 pm

Re: Keeping MSVC++ Happy

Postby MrOz » Thu Feb 19, 2015 7:21 am

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.
MrOz
 
Posts: 35
Joined: Tue Mar 02, 2010 11:36 pm

Re: Keeping MSVC++ Happy

Postby maximile » Thu Apr 02, 2015 12:59 pm

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.
maximile
 
Posts: 157
Joined: Mon Aug 20, 2007 12:53 pm
Location: London, UK


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest