[ODE] some compiling issues

Jordi mumismo at gmail.com
Fri Jun 23 15:32:31 MST 2006


Friday 23 June 2006 23:55、Jordi さんは書きました:
> Friday 23 June 2006 14:50、あなたは書きました:
> > On 6/20/06, Jordi <mumismo at gmail.com> wrote:
> > > g++ -DHAVE_CONFIG_H -I. -I. -I../../include/ode  -O2  -g
> > > -I../../include -I../../include
> > > -I/home/kde-devel/masproyecto/codigos_interesantes/ode/ode-0.6/OPCODE
> > > -I/home/kde-devel/masproyecto/codigos_interesantes/ode/ode-0.6/OPCODE/I
> > >ce -DdTRIMESH_ENABLED -g -MT libode_a-ode.o -MD -MP -MF
> > > ".deps/libode_a-ode.Tpo" -c -o libode_a-ode.o `test -f 'ode.cpp' ||
> > > echo './'`ode.cpp; \
> > >         then mv -f ".deps/libode_a-ode.Tpo" ".deps/libode_a-ode.Po";
> > > else rm -f ".deps/libode_a-ode.Tpo"; exit 1; fi
> > > ode.cpp: In function 'dxBody* dBodyCreate(dxWorld*)':
> > > ode.cpp:228: error: no suitable 'operator delete' for 'dxBody'
> > > ode.cpp: In function 'void dBodyDestroy(dxBody*)':
> > > ode.cpp:287: error: no suitable 'operator delete' for 'dxBody'
> > > ode.cpp: In function 'dxJointGroup* dJointGroupCreate(int)':
> > > ode.cpp:996: error: no suitable 'operator delete' for 'dxJointGroup'
> > > ode.cpp: In function 'void dJointGroupDestroy(dxJointGroup*)':
> > > ode.cpp:1006: error: no suitable 'operator delete' for 'dxJointGroup'
> > > ode.cpp: In function 'void dWorldDestroy(dxWorld*)':
> > > ode.cpp:1250: error: no suitable 'operator delete' for 'dxBody'
> > > ode.cpp:1270: error: no suitable 'operator delete' for 'dxWorld'
> > > ode.cpp:1582: confused by earlier errors, bailing out
> > > make[2]: *** [libode_a-ode.o] Error 1
> >
> > I have no idea why this would happening. What version of gcc are you
> > using?
> >
> > Jason
>
> gcc --version
> gcc (GCC) 4.1.2 20060604 (prerelease) (Debian 4.1.1-2)
>
> The lines with errors are just using new.
> Things like:
> dxBody * body= new dxBody;
>
> I'll upgrade the compiler and libraries and try again

These things are magic to me. I upgraded to this version:
gcc --version
gcc (GCC) 4.1.2 20060613 (prerelease) (Debian 4.1.1-5)

And everything is working ok. 
Debian unstable really means its name

--
Jordi Polo



More information about the ODE mailing list