IrrODE

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
nathanf534
Posts: 199
Joined: Tue Dec 09, 2008 2:55 am

IrrODE

Post by nathanf534 »

I am trying to get IrrODE to work with eclipse. I have all the includes, and I have linked libIrrOde.a but Im still getting hundreds of undefined reference errors.

here is (part of) the output:

Code: Select all

**** Build of configuration Debug for project IrrODE ****

**** Internal Builder is used for build               ****
g++ -IC:\irrlicht-1.7\include -IC:\irrOde\include\IrrOde -O0 -g3 -Wall -c -fmessage-length=0 -osrc\IrrODE.o ..\src\IrrODE.cpp
g++ -LC:\irrlicht-1.7\lib\Win32-gcc -LC:\irrOde\lib -oIrrODE.exe src\IrrODE.o -lIrrlicht -lIrrOde
C:\irrOde\lib/libIrrOde.a(CIrrOdeWorld.o):CIrrOdeWorld.cpp:(.text$_ZN3irr5scene10ISceneNode11getMaterialEj[irr::scene::ISceneNode::getMaterial(unsigned int)]+0x2): undefined reference to `_imp___ZN3irr5video16IdentityMaterialE'
C:\irrOde\lib/libIrrOde.a(CIrrOdeDevice.o):CIrrOdeDevice.cpp:(.text+0x11): undefined reference to `dMassSetZero'
C:\irrOde\lib/libIrrOde.a(CIrrOdeDevice.o):CIrrOdeDevice.cpp:(.text+0x81): undefined reference to `dMassSetZero'
C:\irrOde\lib/libIrrOde.a(CIrrOdeDevice.o):CIrrOdeDevice.cpp:(.text+0x167): undefined reference to `dInitODE'
C:\irrOde\lib/libIrrOde.a(CIrrOdeDevice.o):CIrrOdeDevice.cpp:(.text+0x429): undefined reference to `dCollide'
C:\irrOde\lib/libIrrOde.a(CIrrOdeDevice.o):CIrrOdeDevice.cpp:(.text+0x444): undefined reference to `dGeomGetBody'
I'm using Irrlicht 1.7. Hopefully there is something simple I missed?
while(signatureEmpty){cout<<wittyComment();}
Mux
Posts: 56
Joined: Mon Feb 26, 2007 12:25 pm
Location: Stockholm

Post by Mux »

According to IrrOde:s homepage it's compiled to be used with Irrlicht 1.5. If you haven't tried it yet you could try to recompile it with Irrlicht 1.7.
It'll only take a minute or two to debug this code...
Brainsaw
Posts: 1183
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Post by Brainsaw »

Oops ... I should update the homepage. It is currently compiled with Irrlicht 1.6. And it seems that you didn't add the ODE lib which is necessary as IrrODE is just a wrapper and doesn't include the actual ODE.
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Post Reply