[ODE] still having problems building under vs.net 2002 (vs7.0)

Mike Reinstein web_fella at hotmail.com
Thu May 20 02:23:35 MST 2004


yep, I was...I took it out and it compiles/links now!

Is that a recent change? I remember reading in the documentation when I 
first tied ode into my project that the includes had to use that extern "C" 
macro thing, and it used to build before.

Heres my old include:
extern "C" {
  #include <ode/ode.h>
  #include <ode/collision.h>
  #include <ode/collision_space.h>
  #include <ode/collision_trimesh.h>
}

and heres the new way:
#include <ode/ode.h>
  #include <ode/collision.h>
  #include <ode/collision_space.h>
  #include <ode/collision_trimesh.h>

Note that I am still using the c interface ODE calls...is this bad or is it 
non-consequential?





&gt;From: Russ Smith &lt;russ at q12.org&gt;
&gt;To: &quot;Mike Reinstein&quot; &lt;web_fella at hotmail.com&gt;
&gt;CC: ode at q12.org
&gt;Subject: Re: [ODE] still having problems building under vs.net 2002 
(vs7.0)
&gt;Date: Wed, 19 May 2004 22:56:29 -0700
&gt;
&gt;
&gt; &gt; it seems to me as though its not able to differentiate between 
float
&gt; &gt; and double types, and is subsequently not able to overload the
&gt; &gt; ddistance function because  static  double dDISTANCE(...) and 
static
&gt; &gt; float dDISTANCE(...) collide
&gt;
&gt;well that would be surprising, because the arguments to those functions
&gt;are different. are you somehow specifying C linkage for those functions?
&gt;
&gt;russ.
&gt;
&gt;--
&gt;Russell Smith
&gt;http://www.q12.org

_________________________________________________________________
Stop worrying about overloading your inbox - get MSN Hotmail Extra Storage! 
http://join.msn.click-url.com/go/onm00200362ave/direct/01/



More information about the ODE mailing list