[ODE] FAQ? unresolved external symbol

jeff clune fiatcosmos at yahoo.com
Tue Mar 25 23:31:02 2003


--0-1496694995-1048660250=:89414
Content-Type: text/plain; charset=us-ascii


Hello,

 

I am posting this question after having spent days trying to solve it without bothering all of you. I am new to the software and have had trouble compiling the demos in Visual C++ with the PLATFORM=msvc setting in config/user-settings. 

 

A Google search of q12.org shows that 11 people posted the same problem I am having but none of them appear to have received a response. Can you please help?

 

A typical build yields 40 errors similar to this one: 

 

test_chain2.obj : error LNK2001: unresolved external symbol _dCreatePlane

 

(the entire error paste is below). 

 

 

What do I need to do? 

 

I am truly grateful for your help. 

-Chris 

 

--------------------Configuration: ChainI - Win32 Debug--------------------

Linking...

test_chain2.obj : error LNK2001: unresolved external symbol _dsSimulationLoop

test_chain2.obj : error LNK2001: unresolved external symbol _dWorldSetCFM

test_chain2.obj : error LNK2001: unresolved external symbol _dsSetViewpoint

test_chain2.obj : error LNK2001: unresolved external symbol _dsDrawBoxD

test_chain2.obj : error LNK2001: unresolved external symbol _dsSetTexture

test_chain2.obj : error LNK2001: unresolved external symbol _dsSetColor

test_chain2.obj : error LNK2001: unresolved external symbol _dJointAttach

test_chain2.obj : error LNK2001: unresolved external symbol _dJointCreateContact

test_chain2.obj : error LNK2001: unresolved external symbol _dCollide

test_chain2.obj : error LNK2001: unresolved external symbol _dInfinityValue

test_chain2.obj : error LNK2001: unresolved external symbol _dAreConnected

test_chain2.obj : error LNK2001: unresolved external symbol _dGeomGetBody

test_chain2.obj : error LNK2001: unresolved external symbol _dMassSetZero

test_chain2.obj : error LNK2001: unresolved external symbol _dMassSetBox

test_chain2.obj : error LNK2001: unresolved external symbol _dMassAdjust

test_chain2.obj : error LNK2001: unresolved external symbol _dWorldCreate

test_chain2.obj : error LNK2001: unresolved external symbol _dWorldDestroy

test_chain2.obj : error LNK2001: unresolved external symbol _dWorldSetGravity

test_chain2.obj : error LNK2001: unresolved external symbol _dWorldStep

test_chain2.obj : error LNK2001: unresolved external symbol _dBodyDestroy

test_chain2.obj : error LNK2001: unresolved external symbol _dBodyCreate

test_chain2.obj : error LNK2001: unresolved external symbol _dBodySetData

test_chain2.obj : error LNK2001: unresolved external symbol _dBodySetPosition

test_chain2.obj : error LNK2001: unresolved external symbol _dBodyGetPosition

test_chain2.obj : error LNK2001: unresolved external symbol _dBodyGetRotation

test_chain2.obj : error LNK2001: unresolved external symbol _dBodySetMass

test_chain2.obj : error LNK2001: unresolved external symbol _dBodyAddForce

test_chain2.obj : error LNK2001: unresolved external symbol _dJointGroupCreate

test_chain2.obj : error LNK2001: unresolved external symbol _dJointGroupDestroy

test_chain2.obj : error LNK2001: unresolved external symbol _dJointGroupEmpty

test_chain2.obj : error LNK2001: unresolved external symbol _dJointDestroy

test_chain2.obj : error LNK2001: unresolved external symbol _dJointCreateBall

test_chain2.obj : error LNK2001: unresolved external symbol _dJointSetBallAnchor

test_chain2.obj : error LNK2001: unresolved external symbol _dGeomDestroy

test_chain2.obj : error LNK2001: unresolved external symbol _dGeomSetBody

test_chain2.obj : error LNK2001: unresolved external symbol _dSpaceCollide

test_chain2.obj : error LNK2001: unresolved external symbol _dSimpleSpaceCreate

test_chain2.obj : error LNK2001: unresolved external symbol _dCreateBox

test_chain2.obj : error LNK2001: unresolved external symbol _dCreatePlane

LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16

Debug/ChainI.exe : fatal error LNK1120: 40 unresolved externals

Error executing link.exe.

 

ChainI.exe - 41 error(s), 0 warning(s)



---------------------------------
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
--0-1496694995-1048660250=:89414
Content-Type: text/html; charset=us-ascii

<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>Hello,</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>I am posting this question after having spent days trying to solve it without bothering all of you. I am new to the software and have had trouble compiling the demos in Visual C++ with the PLATFORM=msvc setting in config/user-settings. </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>A Google search of q12.org shows that 11 people posted the same problem I am having but none of them appear to have received a response. Can you please help?</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>A typical build yields 40 errors similar to this one: </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>test_chain2.obj : error LNK2001: unresolved external symbol _dCreatePlane</FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>(the entire error paste is below). </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>What do I need to do? </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>I am truly grateful for your help. </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>-Chris </FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">--------------------Configuration: ChainI - Win32 Debug--------------------<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">Linking...<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dsSimulationLoop<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dWorldSetCFM<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dsSetViewpoint<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dsDrawBoxD<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dsSetTexture<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dsSetColor<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dJointAttach<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dJointCreateContact<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dCollide<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dInfinityValue<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dAreConnected<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dGeomGetBody<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dMassSetZero<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dMassSetBox<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dMassAdjust<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dWorldCreate<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dWorldDestroy<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dWorldSetGravity<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dWorldStep<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dBodyDestroy<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dBodyCreate<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dBodySetData<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dBodySetPosition<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dBodyGetPosition<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dBodyGetRotation<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dBodySetMass<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dBodyAddForce<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dJointGroupCreate<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dJointGroupDestroy<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dJointGroupEmpty<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dJointDestroy<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dJointCreateBall<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dJointSetBallAnchor<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dGeomDestroy<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dGeomSetBody<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dSpaceCollide<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dSimpleSpaceCreate<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dCreateBox<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">test_chain2.obj : error LNK2001: unresolved external symbol _dCreatePlane<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">LIBCD.lib(wincrt0.obj) : error LNK2001: unresolved external symbol _WinMain@16<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">Debug/ChainI.exe : fatal error LNK1120: 40 unresolved externals<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">Error executing link.exe.<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt"><FONT face="Times New Roman" size=3>ChainI.exe - 41 error(s), 0 warning(s)</FONT></P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html">Yahoo! Platinum</a> - Watch CBS' NCAA March Madness, <a href="http://rd.yahoo.com/platinum/evt=8162/*http://platinum.yahoo.com/splash.html">live on your desktop</a>!
--0-1496694995-1048660250=:89414--