compile error in using ODE With Irrlicht

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
vito

compile error in using ODE With Irrlicht

Post by vito »

I downloaded Bounce.zip inurl:http://thomas.webtracker.ch/jahia/Jahia/pid/481
when I compiled the source, I got the following error:

CTerrainSceneNode.cpp
d:\bounce1\bounce\fx\terrainnode\CTerrainSceneNode.h(69) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\fx\terrainnode\CTerrainSceneNode.h(69) : error C2228: “.Y”The left side of .Write must be a Class/Struct/UNION
d:\bounce1\bounce\fx\terrainnode\CTerrainSceneNode.h(75) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\fx\terrainnode\CTerrainSceneNode.h(75) : error C2228: “.X”The left side of .Write must be a Class/Struct/UNION
d:\bounce1\bounce\fx\terrainnode\CTerrainSceneNode.h(81) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\fx\terrainnode\CTerrainSceneNode.h(81) : error C2228: “.Z”The left side of .Write must be a Class/Struct/UNION
bounce.cpp
d:\bounce1\bounce\FX/terrainnode/CTerrainSceneNode.h(69) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\FX/terrainnode/CTerrainSceneNode.h(69) : error C2228: “.Y”The left side of .Write must be a Class/Struct/UNION
d:\bounce1\bounce\FX/terrainnode/CTerrainSceneNode.h(75) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\FX/terrainnode/CTerrainSceneNode.h(75) : error C2228: “.X”The left side of .Write must be a Class/Struct/UNION
d:\bounce1\bounce\FX/terrainnode/CTerrainSceneNode.h(81) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\FX/terrainnode/CTerrainSceneNode.h(81) : error C2228: “.Z”The left side of .Write must be a Class/Struct/UNION
bounce.cpp(48) : error C2039: “EDT_DIRECTX8” : is not a member of 'irr::video'
bounce.cpp(48) : error C2065: “EDT_DIRECTX8” : undeclared identifier
bounce.cpp(83) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]


bounce.cpp(353) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]

------

CTerrainSceneNode.cpp

d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(69) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(69) : error C2228: “.Y”The left side of .Write must be a Class/Struct/UNION
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(75) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(75) : error C2228: “.X”The left side of .Write must be a Class/Struct/UNION
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(81) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(81) : error C2228: “.Z”The left side of .Write must be a Class/Struct/UNION
bounce.cpp
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(69) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(69) : error C2228: “.Y”The left side of .Write must be a Class/Struct/UNION
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(75) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(75) : error C2228: “.X”The left side of .Write must be a Class/Struct/UNION
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(81) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
d:\bounce1\bounce\fx\terrainnode\cterrainscenenode.h(81) : error C2228: “.Z”The left side of .Write must be a Class/Struct/UNION
d:\bounce1\bounce\bounce.cpp(48) : error C2039: “EDT_DIRECTX8” : is not a member of 'irr::video'
d:\bounce1\bounce\bounce.cpp(48) : error C2065: “EDT_DIRECTX8” : undeclared identifier
d:\bounce1\bounce\bounce.cpp(83) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]


d:\bounce1\bounce\bounce.cpp(353) : error C2039: “getExtend” : is not a member of 'irr::core::aabbox3d<T>'
with
[
T=irr::f32
]
HazardEffect
Posts: 9
Joined: Fri Feb 03, 2006 2:06 pm
Location: Wales

Post by HazardEffect »

I also got alot of compile errors with Bounce. So I put some of the Bounce code into the Hello World sample and now it compiles OK. Although it's a much simpler application than Bounce (a sort of Hellode World, I suppose :) ) it does show how to get Irrlicht and ODE working together.
I'll be happy to post a link to the files if this would help you or anyone else.
Dark Logan
Posts: 11
Joined: Thu Dec 15, 2005 3:43 pm
Location: Hessen, Germany
Contact:

Post by Dark Logan »

HazardEffect wrote: I'll be happy to post a link to the files if this would help you or anyone else.
yep, would be nice of you. :)

Dark Logan
HazardEffect
Posts: 9
Joined: Fri Feb 03, 2006 2:06 pm
Location: Wales

Post by HazardEffect »

Here it is:
http://www.nantinet.co.uk/HellodeWorld.zip
This is a VC6 project with all dll's included.
You should be able to replace main.cpp in the Irrlicht Hello World sample, copy the other files over and build it from there, if you use a different compiler.
vito
Posts: 0
Joined: Wed Feb 08, 2006 6:24 am

Post by vito »

Thank you :D
vito
Posts: 0
Joined: Wed Feb 08, 2006 6:24 am

Post by vito »

Thank you :D
vito
Posts: 0
Joined: Wed Feb 08, 2006 6:24 am

Thank you

Post by vito »

Thank you :D
Carmofin
Posts: 1
Joined: Sun Apr 16, 2006 10:00 am

Post by Carmofin »

just for the record: somewhere along the way they renamed "getExtend" to "getExtent" which is why you get those errors with a new version of the irrlicht engine...
Post Reply