Compile error when including from C++
Posted: 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:
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
Code: Select all
chipmunk/cpShape.h:85:19: 'cpShapesCollide' has C-linkage specified, but returns incomplete type 'cpContactPointSet' which could be incompatible with C
ryan