[ODE] Problems with version 0.39
Alex Hetu
alexhetu at videotron.ca
Mon Jul 14 10:29:03 2003
This is a multi-part message in MIME format.
--Boundary_(ID_Nrr6etBRsiiWfiRsMAOM9w)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Hm. Well, mine is still not working... :\
I've got my ode.lib compiled with dSINGLE and I compiled opcode.lib using
the project file that came with it after changing the output folder to one
of my choice. The only warnings i get are precision lost messages,
everything compiles just fine. I tried the trimesh test code and it simply
didn't generate any contacts with the objects. And in my code, everything
works, except for the trimesh, it does the same thing as in the test. So....
what am i missing? anybody?
thx
Alex
-----Original Message-----
From: ode-admin@q12.org [mailto:ode-admin@q12.org]On Behalf Of Chris
McGuirk
Sent: Monday, July 14, 2003 4:48 AM
To: 'Alex Hetu'; ODE@q12.org
Subject: RE: [ODE] Problems with version 0.39
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.
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.
Thanks!
----------------------------------------------------------------------------
--
From: Alex Hetu [mailto:alexhetu@videotron.ca]
Sent: Sunday, July 27, 2003 1:45 AM
To: Chris McGuirk; ODE@q12.org
Chris,
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! :)
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:
StdAfx.obj : warning LNK4221: no public symbols found; archive member
will be inaccessible
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.
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.
Is it just me having any problems?
--Boundary_(ID_Nrr6etBRsiiWfiRsMAOM9w)
Content-type: text/html; charset=us-ascii
Content-transfer-encoding: 7BIT
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:st1 =
"urn:schemas-microsoft-com:office:smarttags"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2726.2500" name=GENERATOR><!--[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 name="time"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="stocktickeruk"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="stocktickerca"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><o:SmartTagType
name="date"
namespaceuri="urn:schemas-microsoft-com:office:smarttags"></o:SmartTagType><!--[if !mso]>
<STYLE>st1\:* {
BEHAVIOR: url(#default#ieooui)
}
</STYLE>
<![endif]-->
<STYLE>@font-face {
font-family: Tahoma;
}
@font-face {
font-family: Verdana;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; mso-footer-margin: .5in; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: #aa00aa; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: #aa00aa; TEXT-DECORATION: underline
}
SPAN.EmailStyle18 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal
}
SPAN.EmailStyle20 {
COLOR: navy; FONT-FAMILY: Arial; mso-style-type: personal-reply
}
DIV.Section1 {
page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=#aa00aa link=blue>
<DIV><SPAN class=433310917-28072003><FONT face=Arial color=#0000ff size=2>Hm.
Well, mine is still not working... :\</FONT></SPAN></DIV>
<DIV><SPAN class=433310917-28072003><FONT face=Arial color=#0000ff size=2>I've
got my ode.lib compiled with dSINGLE and I compiled opcode.lib using
the project file that came with it after changing the output folder to one of my
choice. The only warnings i get are precision lost messages, everything compiles
just fine. I tried the trimesh test code and it simply didn't generate any
contacts with the objects. And in my code, everything works, except for the
trimesh, it does the same thing as in the test. So.... what am i missing?
anybody?</FONT></SPAN></DIV>
<DIV><SPAN class=433310917-28072003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=433310917-28072003><FONT face=Arial color=#0000ff
size=2>thx</FONT></SPAN></DIV>
<DIV><SPAN class=433310917-28072003><FONT face=Arial color=#0000ff
size=2>Alex</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> ode-admin@q12.org
[mailto:ode-admin@q12.org]<B>On Behalf Of </B>Chris McGuirk<BR><B>Sent:</B>
Monday, July 14, 2003 4:48 AM<BR><B>To:</B> 'Alex Hetu';
ODE@q12.org<BR><B>Subject:</B> RE: [ODE] Problems with version
0.39<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thanks!<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial color=navy size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<DIV class=MsoNormal style="TEXT-ALIGN: center" align=center><FONT
face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR tabIndex=-1 align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<P class=MsoNormal><B><FONT face=Tahoma size=2><SPAN
style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT
face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Alex
Hetu [mailto:alexhetu@videotron.ca] <BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> <st1:date w:st="on" ls="trans"
Month="7" Day="27" Year="27">Sunday, <st1:date w:st="on" ls="trans" Month="7"
Day="27" Year="27">July 27, 2003</st1:date></st1:date><st1:time w:st="on"
Hour="1" Minute="45"> 1:45 AM</st1:time><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> Chris McGuirk;
ODE@q12.org</SPAN></FONT><o:p></o:p></P></DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"><o:p> </o:p></SPAN></FONT></P>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Chris,
</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">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! :)</SPAN></FONT><o:p></o:p></P></DIV>
<DIV>
<P class=MsoNormal><FONT face="Times New Roman" size=3><SPAN
style="FONT-SIZE: 12pt"> <o:p></o:p></SPAN></FONT></P></DIV>
<DIV>
<P class=MsoNormal><FONT face=Arial color=blue size=2><SPAN
style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Alex</SPAN></FONT><o:p></o:p></P></DIV>
<BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt; MARGIN-RIGHT: 0in">
<P class=MsoNormal style="MARGIN-BOTTOM: 12pt"><FONT face=Tahoma
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">-----Original
Message-----<BR><B><SPAN style="FONT-WEIGHT: bold">From:</SPAN></B>
ode-admin@q12.org [mailto:ode-admin@q12.org]<B><SPAN
style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>Chris McGuirk<BR><B><SPAN
style="FONT-WEIGHT: bold">Sent:</SPAN></B> <st1:date w:st="on" ls="trans"
Month="7" Day="13" Year="13">Sunday, <st1:date w:st="on" ls="trans"
Month="7" Day="13" Year="13">July 13, 2003</st1:date></st1:date><st1:time
w:st="on" Hour="0" Minute="59"> 12:59 AM</st1:time><BR><B><SPAN
style="FONT-WEIGHT: bold">To:</SPAN></B> ODE@q12.org<BR><B><SPAN
style="FONT-WEIGHT: bold">Subject:</SPAN></B> [ODE] Problems with version
0.39</SPAN></FONT><o:p></o:p></P>
<P class=MsoNormal><SPAN class=postbody1><FONT face=Verdana size=1><SPAN
style="FONT-SIZE: 9pt; 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 face=Verdana
size=1><SPAN style="FONT-SIZE: 9pt; FONT-FAMILY: Verdana"><BR><BR><SPAN
class=postbody1>StdAfx.obj : warning LNK4221: no public symbols found;
archive member will be inaccessible </SPAN><BR><BR><SPAN class=postbody1>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="on"><st1:stocktickerca
w:st="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 "Program too big to fit in memory" in Windows XP command
line. </SPAN><BR><BR><SPAN class=postbody1>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=postbody1>Is it just me having any
problems?</SPAN></SPAN></FONT><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p></o:p></SPAN></FONT></P></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>
--Boundary_(ID_Nrr6etBRsiiWfiRsMAOM9w)--