The engine compiles with 0 errors, as do freeglut and glui. However, when I try to compile helloworld or the testbed, I get this:
Any ideas how this could be fixed?
Code:
obj\Debug\Examples\HelloWorld\HelloWorld.o||In function `ZN12b2PolygonDefD0Ev':|
C:\Box2d\Examples\HelloWorld\HelloWorld.cpp|56|undefined reference to `b2PolygonDef::SetAsBox(float, float)'|
C:\Box2d\Examples\HelloWorld\HelloWorld.cpp|56|undefined reference to `b2PolygonDef::SetAsBox(float, float)'|
..\..\Library\libBox2D.a(b2World.o)||In function `ZN7b2World11DestroyBodyEP6b2Body':|
C:\Box2d\Source\Dynamics\b2World.cpp|164|undefined reference to `b2Fixture::Destroy(b2BlockAllocator*, b2BroadPhase*)'|
C:\Box2d\Source\Dynamics\b2World.cpp|165|undefined reference to `b2Fixture::~b2Fixture()'|
..\..\Library\libBox2D.a(b2World.o)||In function `ZN7b2World11CreateJointEPK10b2JointDef':|
C:\Box2d\Source\Dynamics\b2World.cpp|226|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2World.o)||In function `ZN7b2World12DestroyJointEP7b2Joint':|
C:\Box2d\Source\Dynamics\b2World.cpp|311|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2World.o)||In function `ZN7b2World8RefilterEP9b2Fixture':|
C:\Box2d\Source\Dynamics\b2World.cpp|362|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body13CreateFixtureEPK12b2FixtureDef':|
C:\Box2d\Source\Dynamics\b2Body.cpp|120|undefined reference to `b2Fixture::b2Fixture()'|
C:\Box2d\Source\Dynamics\b2Body.cpp|121|undefined reference to `b2Fixture::Create(b2BlockAllocator*, b2BroadPhase*, b2Body*, b2XForm const&, b2FixtureDef const*)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body14DestroyFixtureEP9b2Fixture':|
C:\Box2d\Source\Dynamics\b2Body.cpp|158|undefined reference to `b2Fixture::Destroy(b2BlockAllocator*, b2BroadPhase*)'|
C:\Box2d\Source\Dynamics\b2Body.cpp|161|undefined reference to `b2Fixture::~b2Fixture()'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body11SetMassDataEPK10b2MassData':|
C:\Box2d\Source\Dynamics\b2Body.cpp|207|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body17SetMassFromShapesEv':|
C:\Box2d\Source\Dynamics\b2Body.cpp|270|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body9SetStaticEv':|
C:\Box2d\Source\Dynamics\b2Body.cpp|290|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body8SetXFormERK6b2Vec2f':|
C:\Box2d\Source\Dynamics\b2Body.cpp|323|undefined reference to `b2Fixture::Synchronize(b2BroadPhase*, b2XForm const&, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body19SynchronizeFixturesEv':|
C:\Box2d\Source\Dynamics\b2Body.cpp|356|undefined reference to `b2Fixture::Synchronize(b2BroadPhase*, b2XForm const&, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Joint.o)||In function `ZN6b2Vec2C1Ev':|
C:\Box2d\Source\Dynamics\Joints\b2Joint.cpp|| undefined reference to `b2FixedJoint::b2FixedJoint(b2FixedJointDef const*)'|
..\..\Library\libBox2D.a(b2PolyAndEdgeContact.o)||In function `ZN20b2PolyAndEdgeContact8EvaluateEv':|
C:\Box2d\Source\Dynamics\Contacts\b2PolyAndEdgeContact.cpp|55|undefined reference to `b2CollidePolyAndEdge(b2Manifold*, b2PolygonShape const*, b2XForm const&, b2EdgeShape const*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2EdgeAndCircleContact.o)||In function `ZN22b2EdgeAndCircleContact8EvaluateEv':|
C:\Box2d\Source\Dynamics\Contacts\b2EdgeAndCircleContact.cpp|58|undefined reference to `b2CollideEdgeAndCircle(b2Manifold*, b2EdgeShape const*, b2XForm const&, b2CircleShape const*, b2XForm const&)'|
C:\Box2d\Examples\HelloWorld\HelloWorld.cpp|56|undefined reference to `b2PolygonDef::SetAsBox(float, float)'|
C:\Box2d\Examples\HelloWorld\HelloWorld.cpp|56|undefined reference to `b2PolygonDef::SetAsBox(float, float)'|
..\..\Library\libBox2D.a(b2World.o)||In function `ZN7b2World11DestroyBodyEP6b2Body':|
C:\Box2d\Source\Dynamics\b2World.cpp|164|undefined reference to `b2Fixture::Destroy(b2BlockAllocator*, b2BroadPhase*)'|
C:\Box2d\Source\Dynamics\b2World.cpp|165|undefined reference to `b2Fixture::~b2Fixture()'|
..\..\Library\libBox2D.a(b2World.o)||In function `ZN7b2World11CreateJointEPK10b2JointDef':|
C:\Box2d\Source\Dynamics\b2World.cpp|226|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2World.o)||In function `ZN7b2World12DestroyJointEP7b2Joint':|
C:\Box2d\Source\Dynamics\b2World.cpp|311|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2World.o)||In function `ZN7b2World8RefilterEP9b2Fixture':|
C:\Box2d\Source\Dynamics\b2World.cpp|362|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body13CreateFixtureEPK12b2FixtureDef':|
C:\Box2d\Source\Dynamics\b2Body.cpp|120|undefined reference to `b2Fixture::b2Fixture()'|
C:\Box2d\Source\Dynamics\b2Body.cpp|121|undefined reference to `b2Fixture::Create(b2BlockAllocator*, b2BroadPhase*, b2Body*, b2XForm const&, b2FixtureDef const*)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body14DestroyFixtureEP9b2Fixture':|
C:\Box2d\Source\Dynamics\b2Body.cpp|158|undefined reference to `b2Fixture::Destroy(b2BlockAllocator*, b2BroadPhase*)'|
C:\Box2d\Source\Dynamics\b2Body.cpp|161|undefined reference to `b2Fixture::~b2Fixture()'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body11SetMassDataEPK10b2MassData':|
C:\Box2d\Source\Dynamics\b2Body.cpp|207|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body17SetMassFromShapesEv':|
C:\Box2d\Source\Dynamics\b2Body.cpp|270|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body9SetStaticEv':|
C:\Box2d\Source\Dynamics\b2Body.cpp|290|undefined reference to `b2Fixture::RefilterProxy(b2BroadPhase*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body8SetXFormERK6b2Vec2f':|
C:\Box2d\Source\Dynamics\b2Body.cpp|323|undefined reference to `b2Fixture::Synchronize(b2BroadPhase*, b2XForm const&, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Body.o)||In function `ZN6b2Body19SynchronizeFixturesEv':|
C:\Box2d\Source\Dynamics\b2Body.cpp|356|undefined reference to `b2Fixture::Synchronize(b2BroadPhase*, b2XForm const&, b2XForm const&)'|
..\..\Library\libBox2D.a(b2Joint.o)||In function `ZN6b2Vec2C1Ev':|
C:\Box2d\Source\Dynamics\Joints\b2Joint.cpp|| undefined reference to `b2FixedJoint::b2FixedJoint(b2FixedJointDef const*)'|
..\..\Library\libBox2D.a(b2PolyAndEdgeContact.o)||In function `ZN20b2PolyAndEdgeContact8EvaluateEv':|
C:\Box2d\Source\Dynamics\Contacts\b2PolyAndEdgeContact.cpp|55|undefined reference to `b2CollidePolyAndEdge(b2Manifold*, b2PolygonShape const*, b2XForm const&, b2EdgeShape const*, b2XForm const&)'|
..\..\Library\libBox2D.a(b2EdgeAndCircleContact.o)||In function `ZN22b2EdgeAndCircleContact8EvaluateEv':|
C:\Box2d\Source\Dynamics\Contacts\b2EdgeAndCircleContact.cpp|58|undefined reference to `b2CollideEdgeAndCircle(b2Manifold*, b2EdgeShape const*, b2XForm const&, b2CircleShape const*, b2XForm const&)'|
Any ideas how this could be fixed?