Compile error when including from C++

Discuss any Chipmunk bugs here.

Compile error when including from C++

Postby notlion » Fri Apr 25, 2014 8:36 pm

Hi! I'm just getting started with Chipmunk, and ran into a problem. I get this error when including "chipmunk/chipmunk.h" from a C++ header:

Code: Select all
chipmunk/cpShape.h:85:19: 'cpShapesCollide' has C-linkage specified, but returns incomplete type 'cpContactPointSet' which could be incompatible with C

When included from Objective-C it works fine. Just not C++ or Objective-C++. I'm not sure what to do here. Any ideas?

ryan
notlion
 
Posts: 1
Joined: Fri Apr 25, 2014 7:53 pm

Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron