Compile error when including from C++

Discuss any Chipmunk bugs here.
Post Reply
notlion
Posts: 1
Joined: Fri Apr 25, 2014 7:53 pm
Contact:

Compile error when including from C++

Post by notlion »

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
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests