Hi all.
i'm trying to use box2d in a project for android. but i'm going the native way, i already started development
on a C/C++ framework where all the apps logic reside. i'm having problems compiling the box2d library so
i searched and found that someone did it by changing references to standard <cstdio>, <cmath>, etc. to <stdio.h>,
<math.h>, etc.
i did that, but i'm having problems with a couple files, b2BroadPhase.h, b2ContactManager.h. they give what apparently are
syntax errors:
in method b2Proxy* b2BroadPhase::GetProxy(int32 proxyId)
error: expected ')' before ';'.
and a similar error happens in the second file too.
i'll appreciate if someone can give me some suggestions here. what else is particulary necessary to build the lib in an
android ndk proj. i'm using ndk r4 for this.
i'm trying to use box2d in a project for android. but i'm going the native way, i already started development
on a C/C++ framework where all the apps logic reside. i'm having problems compiling the box2d library so
i searched and found that someone did it by changing references to standard <cstdio>, <cmath>, etc. to <stdio.h>,
<math.h>, etc.
i did that, but i'm having problems with a couple files, b2BroadPhase.h, b2ContactManager.h. they give what apparently are
syntax errors:
in method b2Proxy* b2BroadPhase::GetProxy(int32 proxyId)
error: expected ')' before ';'.
and a similar error happens in the second file too.
i'll appreciate if someone can give me some suggestions here. what else is particulary necessary to build the lib in an
android ndk proj. i'm using ndk r4 for this.