[ODE] Problems with version 0.39

Chris McGuirk leedgitar at latenitegames.com
Mon Jul 14 01:47:02 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C349C3.16352D60
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I found the problems.  The first one is that the Opcode .lib file didn't =
get
generated in the Debug or Release folder, but rather 3 folders up in its =
own
lib folder.  The only odd thing was that after the compile, it displayed =
the
warning I mentioned, but didn't actually say the .lib was generated.

=20

The problem with the tri-collider not actually working was because ODE =
was
set to DOUBLE precision by default, and Opcode required SINGLE.  When I
changed that, then demos worked just fine.

=20

Thanks!

=20

  _____ =20

From: Alex Hetu [mailto:alexhetu@videotron.ca]=20
Sent: Sunday, July 27, 2003 1:45 AM
To: Chris McGuirk; ODE@q12.org

=20

Chris,=20

=20

I've had no problems compiling ODE with opcode in vc6, but I'm having =
the
same problem you're having with the trimesh though. Everything seems =
fine; i
can create a trimesh receive it in the NearCallback function just like =
any
other geom. But when i call dCollide with the trimesh geom, it never =
returns
any contacts, even though it should. My test is a simple plane made out =
of 2
triangles with a sphere falling right in the middle. It can't be =
simplier
than that.... I haven't tested the trimesh tests that came with the =
package
yet, but I'll try them just to make sure. So don't worry, we're probably =
not
crazy! :)

=20

Alex

-----Original Message-----
From: ode-admin@q12.org [mailto:ode-admin@q12.org]On Behalf Of Chris =
McGuirk
Sent: Sunday, July 13, 2003 12:59 AM
To: ODE@q12.org
Subject: [ODE] Problems with version 0.39

If I try to compile the OPCODE distribution that comes with ODE .39 in
VS.net (either version), I get this error, and no .lib is generated:=20

StdAfx.obj : warning LNK4221: no public symbols found; archive member =
will
be inaccessible=20

I can download Opcode 1.3 and compile it fine, but then it is missing an
exported function that ODE needs so you have to add #define =
OPC_USE_STRIDE
in the code. Then I finally compile everything and go to run it, and it =
wont
run on my machine saying "Program too big to fit in memory" in Windows =
XP
command line.=20

So I go back to my laptop and compile everything in VS.net 2002 instead =
of
2003 and all is well. I am finally able to run it, but in the trimesh
example all the objects fall right through the polys, and in the moving
trimesh example there is nothing but polygons everywhere covering the =
screen
and it is impossible to see what is going on.=20

Is it just me having any problems?


------=_NextPart_000_0000_01C349C3.16352D60
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"time"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"stocktickeruk"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"stocktickerca"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"date"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* 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:#AA00AA;
	text-decoration:underline;}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:Arial;
	color:windowtext;}
span.EmailStyle20
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;
	mso-footer-margin:.5in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3D"#AA00AA">

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I found the problems.&nbsp; The =
first one
is that the Opcode .lib file didn&#8217;t get generated in the Debug or =
Release
folder, but rather 3 folders up in its own lib folder.&nbsp; The only =
odd thing
was that after the compile, it displayed the warning I mentioned, but =
didn&#8217;t
actually say the .lib was generated.<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>The problem with the tri-collider =
not
actually working was because ODE was set to DOUBLE precision by default, =
and
Opcode required SINGLE.&nbsp; When I changed that, then demos worked =
just fine.<o:p></o:p></span></font></p>

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

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks!<o:p></o:p></span></font></p>=


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

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Alex =
Hetu
[mailto:alexhetu@videotron.ca] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> <st1:date =
Year=3D"27" Day=3D"27"
Month=3D"7" ls=3D"trans" w:st=3D"on">Sunday, <st1:date Year=3D"27" =
Day=3D"27" Month=3D"7"
 ls=3D"trans" w:st=3D"on">July 27, 2003</st1:date></st1:date><st1:time =
Minute=3D"45"
Hour=3D"1" w:st=3D"on"> 1:45 AM</st1:time><br>
<b><span style=3D'font-weight:bold'>To:</span></b> Chris McGuirk; =
ODE@q12.org</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Chris, =
</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>I've had no problems compiling ODE =
with
opcode&nbsp;in vc6, but I'm having the same problem you're having with =
the
trimesh though. Everything seems fine;&nbsp;i can create a trimesh =
receive it
in the NearCallback function just like any other geom. But when i call =
dCollide
with the trimesh geom, it never returns any contacts, even though it =
should. My
test is a simple plane made out of 2 triangles with a sphere falling =
right in
the middle. It can't be simplier than that.... I haven't tested the =
trimesh
tests that came with&nbsp;the package yet,&nbsp;but I'll try them just =
to make
sure. So don't worry, we're probably not =
crazy!&nbsp;:)</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

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

</div>

<blockquote =
style=3D'margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> ode-admin@q12.org
[mailto:ode-admin@q12.org]<b><span style=3D'font-weight:bold'>On Behalf =
Of </span></b>Chris
McGuirk<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> <st1:date =
Year=3D"13" Day=3D"13"
Month=3D"7" ls=3D"trans" w:st=3D"on">Sunday, <st1:date Year=3D"13" =
Day=3D"13" Month=3D"7"
 ls=3D"trans" w:st=3D"on">July 13, 2003</st1:date></st1:date><st1:time =
Minute=3D"59"
Hour=3D"0" w:st=3D"on"> 12:59 AM</st1:time><br>
<b><span style=3D'font-weight:bold'>To:</span></b> ODE@q12.org<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> [ODE] Problems =
with
version 0.39</span></font><o:p></o:p></p>

<p class=3DMsoNormal><span class=3Dpostbody1><font size=3D1 =
face=3DVerdana><span
style=3D'font-size:9.0pt;font-family:Verdana'>If I try to compile the =
OPCODE
distribution that comes with ODE .39 in VS.net (either version), I get =
this
error, and no .lib is generated: </span></font></span><font size=3D1
face=3DVerdana><span style=3D'font-size:9.0pt;font-family:Verdana'><br>
<br>
<span class=3Dpostbody1>StdAfx.obj : warning LNK4221: no public symbols =
found;
archive member will be inaccessible </span><br>
<br>
<span class=3Dpostbody1>I can download Opcode 1.3 and compile it fine, =
but then
it is missing an exported function that ODE needs so you have to add =
#define <st1:stocktickeruk
w:st=3D"on"><st1:stocktickerca =
w:st=3D"on">OPC</st1:stocktickerca></st1:stocktickeruk>_USE_STRIDE
in the code. Then I finally compile everything and go to run it, and it =
wont
run on my machine saying &quot;Program too big to fit in memory&quot; in
Windows XP command line. </span><br>
<br>
<span class=3Dpostbody1>So I go back to my laptop and compile everything =
in
VS.net 2002 instead of 2003 and all is well. I am finally able to run =
it, but
in the trimesh example all the objects fall right through the polys, and =
in the
moving trimesh example there is nothing but polygons everywhere covering =
the
screen and it is impossible to see what is going on. </span><br>
<br>
<span class=3Dpostbody1>Is it just me having any =
problems?</span></span></font><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p=
>

</blockquote>

</div>

</body>

</html>

------=_NextPart_000_0000_01C349C3.16352D60--