So I am working on Porting Box2D for Android, mainly just to work on my porting skills.
The Box2D compiles fine, and I include the libs in the HelloWorld app, however, when I try to compile I see a bunch of errors here are some examples...
Also it appears some functions work and some do not for example
Doesn't seem to have an issue. I know I am including the Box2d.h because if I comment out the include line I get the following...
Anyone know what I am missing here?
The Box2D compiles fine, and I include the libs in the HelloWorld app, however, when I try to compile I see a bunch of errors here are some examples...
Code: Select all
in function main:./HelloWorld.cpp:38: error: undefined reference to 'b2World::b2World(b2Vec2 const&)
in function main:./HelloWorld.cpp:47: error: undefined reference to 'b2World::CreateBody(b2BodyDef const*)'
etc
Also it appears some functions work and some do not for example
Code: Select all
b2Vec2 gravity(0.0f, -10.0f);Doesn't seem to have an issue. I know I am including the Box2d.h because if I comment out the include line I get the following...
fatal error: Box2D/Box2D.h: No such file or directory
Anyone know what I am missing here?