[ODE] Problem during building .exe

achaudhry achaudhry at ariworld.com
Fri Jul 28 21:48:47 MST 2006


hey thanks for replying to the prevous query. 

While trying to build a exe for my model of a simple car, my VC6 gives the
following error:-
--------------------Configuration: Trailer - Win32 Debug--------------------
Compiling...
Trailer.cpp
Trailer.obj : error LNK2001: unresolved external symbol _dMassSetZero
Trailer.obj : error LNK2001: unresolved external symbol _dWorldDestroy
Trailer.obj : error LNK2001: unresolved external symbol _dSpaceDestroy
Trailer.obj : error LNK2001: unresolved external symbol _dJointGroupDestroy
Trailer.obj : error LNK2001: unresolved external symbol _dsSimulationLoop
Trailer.obj : error LNK2001: unresolved external symbol _dSpaceAdd
Trailer.obj : error LNK2001: unresolved external symbol _dSpaceSetCleanup
Trailer.obj : error LNK2001: unresolved external symbol _dSimpleSpaceCreate
Trailer.obj : error LNK2001: unresolved external symbol _dJointSetSliderAxis
Trailer.obj : error LNK2001: unresolved external symbol _dJointCreateSlider
Trailer.obj : error LNK2001: unresolved external symbol _dJointSetHingeAxis
Trailer.obj : error LNK2001: unresolved external symbol _dJointSetHingeAnchor
Trailer.obj : error LNK2001: unresolved external symbol _dBodyGetPosition
Trailer.obj : error LNK2001: unresolved external symbol _dJointCreateHinge
Trailer.obj : error LNK2001: unresolved external symbol _dJointSetFixed
Trailer.obj : error LNK2001: unresolved external symbol _dJointAttach
Trailer.obj : error LNK2001: unresolved external symbol _dJointCreateFixed
Trailer.obj : error LNK2001: unresolved external symbol _dGeomSetBody
Trailer.obj : error LNK2001: unresolved external symbol _dCreateBox
Trailer.obj : error LNK2001: unresolved external symbol _dBodySetMass
Trailer.obj : error LNK2001: unresolved external symbol _dMassSetBox
Trailer.obj : error LNK2001: unresolved external symbol _dBodySetPosition
Trailer.obj : error LNK2001: unresolved external symbol _dBodyCreate
Trailer.obj : error LNK2001: unresolved external symbol _dCreatePlane
Trailer.obj : error LNK2001: unresolved external symbol _dWorldSetGravity
Trailer.obj : error LNK2001: unresolved external symbol _dJointGroupCreate
Trailer.obj : error LNK2001: unresolved external symbol _dHashSpaceCreate
Trailer.obj : error LNK2001: unresolved external symbol _dWorldCreate
Trailer.obj : error LNK2001: unresolved external symbol _dsSetViewpoint
Trailer.obj : error LNK2001: unresolved external symbol _dsDrawBoxD
Trailer.obj : error LNK2001: unresolved external symbol _dBodyGetRotation
Trailer.obj : error LNK2001: unresolved external symbol _dsSetTexture
Trailer.obj : error LNK2001: unresolved external symbol _dsSetColor
Trailer.obj : error LNK2001: unresolved external symbol _dJointGroupEmpty
Trailer.obj : error LNK2001: unresolved external symbol _dWorldStep
Trailer.obj : error LNK2001: unresolved external symbol _dSpaceCollide
Trailer.obj : error LNK2001: unresolved external symbol _dJointSetSliderParam
Trailer.obj : error LNK2001: unresolved external symbol _dJointSetHingeParam
Trailer.obj : error LNK2001: unresolved external symbol _dGeomGetBody
Trailer.obj : error LNK2001: unresolved external symbol _dJointCreateContact
Trailer.obj : error LNK2001: unresolved external symbol _dCollide
Trailer.exe : fatal error LNK1120: 41 unresolved externals
Error executing cl.exe.
Creating browse info file...

Trailer.exe - 42 error(s), 0 warning(s)

If i immediately try building the exe again without making any changes, the
vc6 doesn't give any error. 

--------------------Configuration: Trailer - Win32 Debug--------------------
Linking...

Trailer.exe - 0 error(s), 0 warning(s)

I have checked whether the lib files etc are being included and stuff, and the
settings are fine. 

I am unable to figure out the reason for the above..

Q2. Also is there a limit on the number of joints that can be made, somehow my
program has got stuck at 25 joints, and if i add any further joints it gives a
error while running the exe file.

Any help would be greatly appreciated. 
Thanks.





More information about the ODE mailing list