[ODE] Help with MSVC++ 6

John D. Gwinner jgwinner at dazsi.com
Wed Dec 19 16:25:01 2001


I didn't have a problem with this at all - are you including the library
twice?

I created a .lib project for ODE itself, and a separate project with the
drawstuff in it, with the drawstuff project dependant on the ODE project
(this links in the .lib nicely).

I did not create one big project.  It sounds like you've got more source
than you need.

I can email you the .dsp/dsw if you need it.

               == John ==


> -----Original Message-----
> From: anon [mailto:dev@charliex.net] 
> Sent: Wednesday, December 19, 2001 3:06 PM
> To: ode@q12.org
> Subject: Re: [ODE] Help with MSVC++ 6
> 
> 
> The MSVC doesn't like the dsDrawBoxD redefintion for C 
> linkage, since its overloaded
> 
> i wrapped it by saying #ifndef dsDrawBox ( or whatever the 
> second prototype was) around the second prototype, havent got 
> it in front of me to be sure,
> 
> So basically check to see if the second prototype is not 
> already defined with an #ifndef
> 
> charlie
> 
> > Hi,
> >
> > I'm a newbie, and I'm using MSVC6 to build the latest snapshot 
> > (0.04?). I created a new project, added all the source (except
> x11.cppa and the ones in \fbuild) and include files I could 
> find, added "ode\include" to the directories, and I get 3 
> errors during
> compile:
> >
> > test_hinge.cpp
> > d:\ode\include\drawstuff\drawstuff.h(138) : error C2733: 
> second C linkage of overloaded function 'dsDrawBoxD' not allowed
> >         d:\ode\include\drawstuff\drawstuff.h(137) : see 
> declaration of 
> > 'dsDrawBoxD'
> 
> 
> 
> 
> _______________________________________________
> ODE mailing list
> ODE@q12.org
> http://q12.org/mailman/listinfo/ode
> 
>