Page 1 of 1

Compile error when including from C++

PostPosted: Fri Apr 25, 2014 8:36 pm
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