Hi, I am not sure if I am doing something wrong, but there seems to be an undefined reference to a class
member
involving a u32 argument
in
Here is debugger output
Code: Select all
-------------- Build: Debug in IrrlichtODE ---------------
Linking console executable: bin\Debug\IrrlichtODE.exe
..\..\..\..\..\irrlicht-1.7.2wODE\lib\Win32-gcc/libIrrOde.a(CIrrOdeSceneNode.o):CIrrOdeSceneNode.cpp:(.text$_ZN3irr5scene10ISceneNode11getMaterialEj[irr::scene::ISceneNode::getMaterial(unsigned int)]+0x4): undefined reference to `_imp___ZN3irr5video16IdentityMaterialE'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings
and
Code: Select all
..\..\..\..\..\irrlicht-1.7.2wODE\lib\Win32-gcc\libIrrOde.a(CIrrOdeSceneNode.o):CIrrOdeSceneNode.cpp:(.text$_ZN3irr5scene10ISceneNode11getMaterialEj[irr::scene::ISceneNode::getMaterial(unsigned int)]+0x4)||undefined reference to `_imp___ZN3irr5video16IdentityMaterialE'|
||=== Build finished: 1 errors, 0 warnings ===|
I am using code::blocks ide.
Remark: from my development I have found out that the current ODE version 0.11.1 release doesn't work properly
with the gcc compiler. If you use the debug version everything works fine. I suggest using the statically linked
version so that gcc removes the debug symbols when compiling. This brings the filesize down quite a bit. You should
also define dNODEBUG before compiling the static link debug version of ODE so that the program won't quit on invalid
data.
I am using the gcc compiler, so I am guessing this is why it doesn't work?
I will try that solution, if that doesn't work then maybe it is something else... ?[/code]