[SOLVED] Need help to solve a compile error.

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Sid
Posts: 7
Joined: Sun Feb 13, 2005 1:07 pm
Location: Germany

[SOLVED] Need help to solve a compile error.

Post by Sid »

Hi,
i need some help to solve a simple compile error:

Code: Select all

sid@debian:~/irrlicht/irrlicht-0.8/examples/ode$ make
g++ odeirr.cc main.cc evrec.cc -o main -I"../../include" -I"/usr/X11R6/include" -L"../../lib" -L"/usr/X11R6/lib"  -lode -lIrrlicht -lGL -lXxf86vm -lXext -lX11 -lz -ljpeg
odeirr.cc: In member function `void irrode::updatePhysics()':
odeirr.cc:231: error: cannot convert `void (irrode::*)(void*, dxGeom*, dxGeom*)
   ' to `void (*)(void*, dxGeom*, dxGeom*)' for argument `3' to `void
   dSpaceCollide(dxSpace*, void*, void (*)(void*, dxGeom*, dxGeom*))'
make: *** [all] Error 1
(i know, my code is really ugly, but its just for testing :wink: )

here you can get all the source files: http://home.arcor.de/Kojotex/ode.tar.bz2

thanks,
Sid
Sid
Posts: 7
Joined: Sun Feb 13, 2005 1:07 pm
Location: Germany

Post by Sid »

Hi,
i solved it, i just had to write a wrapper function ;)

sid
Post Reply