Menu

#2 Soccar has link errors

open
nobody
5
2014-12-03
2003-08-20
Anonymous
No

I downloaded & compiled OGRE & Enet. I put Soccar into
a VC++ 7.0 project with the #include paths set
appropriately. I compiled successfully, but I am unable
to link. Please help! Thanks. :)
--Suzanne <vogel@cs.unc.edu>

I get the following link errors:

soccar error LNK2001: unresolved external symbol
_dBodyCreate
soccar error LNK2001: unresolved external symbol
_dBodyGetLinearVel
soccar error LNK2001: unresolved external symbol
_dBodyGetPosition
soccar error LNK2001: unresolved external symbol
_dBodyGetPosition
soccar error LNK2001: unresolved external symbol
_dBodyGetQuaternion
soccar error LNK2001: unresolved external symbol
_dBodySetMass
soccar error LNK2001: unresolved external symbol
_dBodySetPosition
soccar error LNK2001: unresolved external symbol
_dCreateBox
soccar error LNK2001: unresolved external symbol
_dCreateSphere
soccar error LNK2001: unresolved external symbol
_dGeomSetBody
soccar error LNK2001: unresolved external symbol
_dGeomSetData
soccar error LNK2001: unresolved external symbol
_dGeomSetPosition
soccar error LNK2001: unresolved external symbol
_dJointAttach
soccar error LNK2001: unresolved external symbol
_dMassSetZero
soccar error LNK2001: unresolved external symbol
_enet_host_create
soccar error LNK2001: unresolved external symbol
_enet_host_destroy
soccar error LNK2001: unresolved external symbol
_enet_host_service
soccar error LNK2001: unresolved external symbol
_enet_packet_destroy
soccar error LNK2019: unresolved external symbol
_dBodyAddForce referenced in function "void __cdecl
applyLinearDrag(struct dxBody *,double,double)"
(?applyLinearDrag@@YAXPAUdxBody@@NN@Z)
soccar error LNK2019: unresolved external symbol
_dBodyAddForceAtRelPos referenced in function "public:
void __thiscall CarDyn::updateLift(float)"
(?updateLift@CarDyn@@QAEXM@Z)
soccar error LNK2019: unresolved external symbol
_dBodyAddTorque referenced in function "void __cdecl
applyAngularDrag(struct dxBody *,double,double)"
(?applyAngularDrag@@YAXPAUdxBody@@NN@Z)
soccar error LNK2019: unresolved external symbol
_dBodyCreate referenced in function "public: __thiscall
CarDyn::CarDyn(struct dxWorld *,struct dxSpace *)"
(??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dBodyDestroy referenced in function "public:
__thiscall CarDyn::~CarDyn(void)" (??1CarDyn@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dBodyGetAngularVel referenced in function "void
__cdecl applyAngularDrag(struct dxBody
*,double,double)" (?applyAngularDrag@@YAXPAUdxBody@@NN@Z)
soccar error LNK2019: unresolved external symbol
_dBodyGetLinearVel referenced in function "public: void
__thiscall CarDyn::updateDrive(float,float)"
(?updateDrive@CarDyn@@QAEXMM@Z)
soccar error LNK2019: unresolved external symbol
_dBodyGetPosition referenced in function "public: void
__thiscall CarDyn::getDynamicData(class CarDynamicData
*)" (?getDynamicData@CarDyn@@QAEXPAVCarDynamicData@@@Z)
soccar error LNK2019: unresolved external symbol
_dBodyGetQuaternion referenced in function "public:
void __thiscall CarDyn::getDynamicData(class
CarDynamicData *)"
(?getDynamicData@CarDyn@@QAEXPAVCarDynamicData@@@Z)
soccar error LNK2019: unresolved external symbol
_dBodyGetRotation referenced in function "public: void
__thiscall CarDyn::updateSteer(float,float)"
(?updateSteer@CarDyn@@QAEXMM@Z)
soccar error LNK2019: unresolved external symbol
_dBodySetAngularVel referenced in function "private:
void __thiscall SceneDyn::resetBall(void)"
(?resetBall@SceneDyn@@AAEXXZ)
soccar error LNK2019: unresolved external symbol
_dBodySetLinearVel referenced in function "private:
void __thiscall SceneDyn::resetBall(void)"
(?resetBall@SceneDyn@@AAEXXZ)
soccar error LNK2019: unresolved external symbol
_dBodySetMass referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dBodySetPosition referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dBodySetQuaternion referenced in function "private:
void __thiscall SceneDyn::createGate(class
Ogre::Vector3 const &,bool)"
(?createGate@SceneDyn@@AAEXABVVector3@Ogre@@_N@Z)
soccar error LNK2019: unresolved external symbol
_dBodySetQuaternion referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dCollide referenced in function "private: void
__thiscall SceneDyn::collide(struct dxGeom *,struct
dxGeom *)" (?collide@SceneDyn@@AAEXPAUdxGeom@@0@Z)
soccar error LNK2019: unresolved external symbol
_dCreateBox referenced in function "public: __thiscall
CarDyn::CarDyn(struct dxWorld *,struct dxSpace *)"
(??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dCreateGeomTransform referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dCreatePlane referenced in function "private: void
__thiscall SceneDyn::createPlane(class Ogre::Vector3
const &,class Ogre::Vector3 const &)"
(?createPlane@SceneDyn@@AAEXABVVector3@Ogre@@0@Z)
soccar error LNK2019: unresolved external symbol
_dCreateSphere referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dGeomDestroy referenced in function "public:
__thiscall CarDyn::~CarDyn(void)" (??1CarDyn@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dGeomGetBody referenced in function "private: void
__thiscall SceneDyn::collide(struct dxGeom *,struct
dxGeom *)" (?collide@SceneDyn@@AAEXPAUdxGeom@@0@Z)
soccar error LNK2019: unresolved external symbol
_dGeomGetData referenced in function "private: void
__thiscall SceneDyn::collide(struct dxGeom *,struct
dxGeom *)" (?collide@SceneDyn@@AAEXPAUdxGeom@@0@Z)
soccar error LNK2019: unresolved external symbol
_dGeomSetBody referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dGeomSetData referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dGeomSetPosition referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dGeomTransformSetGeom referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dGeomTransformSetInfo referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dJointAttach referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dJointCreateContact referenced in function "private:
void __thiscall SceneDyn::collide(struct dxGeom
*,struct dxGeom *)" (?collide@SceneDyn@@AAEXPAUdxGeom@@0@Z)
soccar error LNK2019: unresolved external symbol
_dJointCreateHinge2 referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dJointDestroy referenced in function "public:
__thiscall CarDyn::~CarDyn(void)" (??1CarDyn@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dJointGetHinge2Angle1 referenced in function "void
__cdecl setWheelSteer(struct dxJoint *,int,double)"
(?setWheelSteer@@YAXPAUdxJoint@@HN@Z)
soccar error LNK2019: unresolved external symbol
_dJointGetHinge2Angle2Rate referenced in function
"private: bool __thiscall CarDyn::checkBreak(float)"
(?checkBreak@CarDyn@@AAE_NM@Z)
soccar error LNK2019: unresolved external symbol
_dJointGroupCreate referenced in function "public:
__thiscall SceneDyn::SceneDyn(void)" (??0SceneDyn@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dJointGroupDestroy referenced in function "public:
__thiscall SceneDyn::~SceneDyn(void)" (??1SceneDyn@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dJointGroupEmpty referenced in function "private: void
__thiscall SceneDyn::singleStep(float)"
(?singleStep@SceneDyn@@AAEXM@Z)
soccar error LNK2019: unresolved external symbol
_dJointSetHinge2Anchor referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dJointSetHinge2Axis1 referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dJointSetHinge2Axis2 referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dJointSetHinge2Param referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dMassSetBox referenced in function "public: __thiscall
CarDyn::CarDyn(struct dxWorld *,struct dxSpace *)"
(??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dMassSetSphere referenced in function "private: void
__thiscall SceneDyn::createGate(class Ogre::Vector3
const &,bool)"
(?createGate@SceneDyn@@AAEXABVVector3@Ogre@@_N@Z)
soccar error LNK2019: unresolved external symbol
_dMassSetSphere referenced in function "public:
__thiscall CarDyn::CarDyn(struct dxWorld *,struct
dxSpace *)" (??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dMassSetZero referenced in function "public:
__thiscall dMass::dMass(void)" (??0dMass@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dQFromAxisAndAngle referenced in function "void
__cdecl `anonymous namespace'::wheelPos(class
CarBlueprint &,int,double (&)[4],double (&)[4])"
(?wheelPos@?A0x24608e70@@YAXAAVCarBlueprint@@HAAY03N1@Z)
soccar error LNK2019: unresolved external symbol
_dQSetIdentity referenced in function "private: void
__thiscall SceneDyn::resetBall(void)"
(?resetBall@SceneDyn@@AAEXXZ)
soccar error LNK2019: unresolved external symbol
_dSimpleSpaceCreate referenced in function "public:
__thiscall SceneDyn::SceneDyn(void)" (??0SceneDyn@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dSpaceAdd referenced in function "public: __thiscall
CarDyn::CarDyn(struct dxWorld *,struct dxSpace *)"
(??0CarDyn@@QAE@PAUdxWorld@@PAUdxSpace@@@Z)
soccar error LNK2019: unresolved external symbol
_dSpaceCollide referenced in function "private: void
__thiscall SceneDyn::singleStep(float)"
(?singleStep@SceneDyn@@AAEXM@Z)
soccar error LNK2019: unresolved external symbol
_dSpaceDestroy referenced in function "public:
__thiscall SceneDyn::~SceneDyn(void)" (??1SceneDyn@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dWorldCreate referenced in function "public:
__thiscall SceneDyn::SceneDyn(void)" (??0SceneDyn@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dWorldDestroy referenced in function "public:
__thiscall SceneDyn::~SceneDyn(void)" (??1SceneDyn@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dWorldSetGravity referenced in function "public:
__thiscall SceneDyn::SceneDyn(void)" (??0SceneDyn@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_dWorldStep referenced in function "private: void
__thiscall SceneDyn::singleStep(float)"
(?singleStep@SceneDyn@@AAEXM@Z)
soccar error LNK2019: unresolved external symbol
_enet_address_set_host referenced in function "public:
void __thiscall Client::connectToServer(void)"
(?connectToServer@Client@@QAEXXZ)
soccar error LNK2019: unresolved external symbol
_enet_deinitialize referenced in function _main
soccar error LNK2019: unresolved external symbol
_enet_host_connect referenced in function "public: void
__thiscall Client::connectToServer(void)"
(?connectToServer@Client@@QAEXXZ)
soccar error LNK2019: unresolved external symbol
_enet_host_create referenced in function "public:
__thiscall Client::Client(class Ogre::String const
&,int)" (??0Client@@QAE@ABVString@Ogre@@H@Z)
soccar error LNK2019: unresolved external symbol
_enet_host_destroy referenced in function "public:
__thiscall Client::~Client(void)" (??1Client@@QAE@XZ)
soccar error LNK2019: unresolved external symbol
_enet_host_service referenced in function "private:
void __thiscall Client::processConnect(void)"
(?processConnect@Client@@AAEXXZ)
soccar error LNK2019: unresolved external symbol
_enet_initialize referenced in function _main
soccar error LNK2019: unresolved external symbol
_enet_packet_create referenced in function "public:
static void __cdecl SoccarNet::sendPacket(struct
_ENetPeer *,bool,class OutputBuffer &)"
(?sendPacket@SoccarNet@@SAXPAU_ENetPeer@@_NAAVOutputBuffer@@@Z)
soccar error LNK2019: unresolved external symbol
_enet_packet_destroy referenced in function "private:
void __thiscall Client::processConnected(void)"
(?processConnected@Client@@AAEXXZ)
soccar error LNK2019: unresolved external symbol
_enet_peer_disconnect referenced in function "private:
void __thiscall Client::handleDisconnect(void)"
(?handleDisconnect@Client@@AAEXXZ)
soccar error LNK2019: unresolved external symbol
_enet_peer_reset referenced in function "private: void
__thiscall Client::handleDisconnect(void)"
(?handleDisconnect@Client@@AAEXXZ)
soccar error LNK2019: unresolved external symbol
_enet_peer_send referenced in function "public: static
void __cdecl SoccarNet::sendPacket(struct _ENetPeer
*,bool,class OutputBuffer &)"
(?sendPacket@SoccarNet@@SAXPAU_ENetPeer@@_NAAVOutputBuffer@@@Z)
soccar fatal error LNK1120: 66 unresolved externals

Discussion


Log in to post a comment.