[ODE] Getting test_boxstack.cpp to Compile

Dan dan at saturnc.com
Wed Jul 31 22:59:02 2002


This is a multi-part message in MIME format.

------=_NextPart_000_0014_01C238F6.7E1D12A0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

I'm having a problem.

 

I'm running Windows XP and MS Visual Studio .NET, and I have the latest
version of ODE. And I'm trying to get the ODE up and running.

 

In Visual Studio, I created a new "Managed C++ Application" project and
added the "test_boxstack.cpp" file to it. But when I go to compile it, I
get the following errors.

 

LINK : error LNK2020: unresolved token (0A000006) dInfinityValue

LINK : error LNK2020: unresolved token (0A000019) dBoxClass

LINK : error LNK2020: unresolved token (0A000025) dSphereClass

LINK : error LNK2020: unresolved token (0A000027) dCCylinderClass

LINK : error LNK2020: unresolved token (0A00003C) dGeomTransformClass

LINK : fatal error LNK1120: 5 unresolved externals

 

I know just enough about C to be dangerous, but not enough to understand
how to fix this problem.

 

What do I do in order to clear up these problems so that
test_boxstack.cpp  can compile?

 

Thanks in advance.

 

Dan

 


------=_NextPart_000_0014_01C238F6.7E1D12A0
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;m having a problem&#8230;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;m running Windows XP and MS Visual Studio =
.NET, and
I have the latest version of ODE&#8230; And I&#8217;m trying to get the =
ODE up
and running&#8230;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>In Visual Studio, I created a new &#8220;Managed C++
Application&#8221; project and added the &#8220;test_boxstack.cpp&#8221; =
file
to it&#8230; But when I go to compile it, I get the following =
errors&#8230;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>LINK : error LNK2020: unresolved token (0A000006) =
dInfinityValue</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>LINK : error LNK2020: unresolved token (0A000019) =
dBoxClass</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>LINK : error LNK2020: unresolved token (0A000025) =
dSphereClass</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>LINK : error LNK2020: unresolved token (0A000027) =
dCCylinderClass</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>LINK : error LNK2020: unresolved token (0A00003C) =
dGeomTransformClass</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>LINK : fatal error LNK1120: 5 unresolved =
externals</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I know just enough about C to be dangerous, but not =
enough
to understand how to fix this problem&#8230;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>What do I do in order to clear up these problems so =
that &nbsp;test_boxstack.cpp
&nbsp;can compile?</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Thanks in advance&#8230;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
 font-family:Arial'>Dan</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

</div>

</body>

</html>

------=_NextPart_000_0014_01C238F6.7E1D12A0--