Erro executing cakebox!!

Felipe

17-08-2007 20:57:37

Recompiled Ogre with 1.4.3, debug and release.
nxOgre 0.9-24
physx 2.7.2
driver 7.06.25

Heres the Ogre.log:

16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name bg.mp not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: D3D9 : ***** Dimensions altered by the render system
16:53:42: D3D9 : ***** Source image dimensions : 24x24
16:53:42: D3D9 : ***** Texture dimensions : 32x32
16:53:42: Texture: bgui.pointer.png: Loading 1 faces(PF_A8R8G8B8,24x24x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: Texture: widget.mm.png: Loading 1 faces(PF_A8R8G8B8,64x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x128x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b0 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: D3D9 : ***** Dimensions altered by the render system
16:53:42: D3D9 : ***** Source image dimensions : 51x19
16:53:42: D3D9 : ***** Texture dimensions : 64x32
16:53:42: Texture: widget.mm.bodies.png: Loading 1 faces(PF_A8R8G8B8,51x19x1) with 6 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x32x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b0c0 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b1 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: D3D9 : ***** Dimensions altered by the render system
16:53:42: D3D9 : ***** Source image dimensions : 51x20
16:53:42: D3D9 : ***** Texture dimensions : 64x32
16:53:42: Texture: widget.mm.joints.png: Loading 1 faces(PF_A8R8G8B8,51x20x1) with 6 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x32x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b1c1 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b2 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: D3D9 : ***** Dimensions altered by the render system
16:53:42: D3D9 : ***** Source image dimensions : 51x19
16:53:42: D3D9 : ***** Texture dimensions : 64x32
16:53:42: Texture: widget.mm.fx.png: Loading 1 faces(PF_A8R8G8B8,51x19x1) with 6 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x32x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b2c2 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: Texture: widget.create.png: Loading 1 faces(PF_A8R8G8B8,128x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x256x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b3 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: D3D9 : ***** Dimensions altered by the render system
16:53:42: D3D9 : ***** Source image dimensions : 56x56
16:53:42: D3D9 : ***** Texture dimensions : 64x64
16:53:42: Texture: icon.cube.png: Loading 1 faces(PF_R8G8B8,56x56x1) with 6 generated mipmaps from Image. Internal format is PF_X8R8G8B8,64x64x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b3c3 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: Font nxogrefontusing texture size 512x256
16:53:42: Info: Freetype returned null for character 127 in font nxogrefont
16:53:42: Info: Freetype returned null for character 128 in font nxogrefont
16:53:42: Info: Freetype returned null for character 129 in font nxogrefont
16:53:42: Info: Freetype returned null for character 130 in font nxogrefont
16:53:42: Info: Freetype returned null for character 131 in font nxogrefont
16:53:42: Info: Freetype returned null for character 132 in font nxogrefont
16:53:42: Info: Freetype returned null for character 133 in font nxogrefont
16:53:42: Info: Freetype returned null for character 134 in font nxogrefont
16:53:42: Info: Freetype returned null for character 135 in font nxogrefont
16:53:42: Info: Freetype returned null for character 136 in font nxogrefont
16:53:42: Info: Freetype returned null for character 137 in font nxogrefont
16:53:42: Info: Freetype returned null for character 138 in font nxogrefont
16:53:42: Info: Freetype returned null for character 139 in font nxogrefont
16:53:42: Info: Freetype returned null for character 140 in font nxogrefont
16:53:42: Info: Freetype returned null for character 141 in font nxogrefont
16:53:42: Info: Freetype returned null for character 142 in font nxogrefont
16:53:42: Info: Freetype returned null for character 143 in font nxogrefont
16:53:42: Info: Freetype returned null for character 144 in font nxogrefont
16:53:42: Info: Freetype returned null for character 145 in font nxogrefont
16:53:42: Info: Freetype returned null for character 146 in font nxogrefont
16:53:42: Info: Freetype returned null for character 147 in font nxogrefont
16:53:42: Info: Freetype returned null for character 148 in font nxogrefont
16:53:42: Info: Freetype returned null for character 149 in font nxogrefont
16:53:42: Info: Freetype returned null for character 150 in font nxogrefont
16:53:42: Info: Freetype returned null for character 151 in font nxogrefont
16:53:42: Info: Freetype returned null for character 152 in font nxogrefont
16:53:42: Info: Freetype returned null for character 153 in font nxogrefont
16:53:42: Info: Freetype returned null for character 154 in font nxogrefont
16:53:42: Info: Freetype returned null for character 155 in font nxogrefont
16:53:42: Info: Freetype returned null for character 156 in font nxogrefont
16:53:42: Info: Freetype returned null for character 157 in font nxogrefont
16:53:42: Info: Freetype returned null for character 158 in font nxogrefont
16:53:42: Info: Freetype returned null for character 159 in font nxogrefont
16:53:42: Info: Freetype returned null for character 160 in font nxogrefont
16:53:42: Info: Freetype returned null for character 161 in font nxogrefont
16:53:42: Info: Freetype returned null for character 162 in font nxogrefont
16:53:42: Texture: nxogrefontTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b4 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: D3D9 : ***** Dimensions altered by the render system
16:53:42: D3D9 : ***** Source image dimensions : 56x56
16:53:42: D3D9 : ***** Texture dimensions : 64x64
16:53:42: Texture: icon.sphere.png: Loading 1 faces(PF_R8G8B8,56x56x1) with 6 generated mipmaps from Image. Internal format is PF_X8R8G8B8,64x64x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b4c4 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b5 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b5c5 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: D3D9 : ***** Dimensions altered by the render system
16:53:42: D3D9 : ***** Source image dimensions : 132x32
16:53:42: D3D9 : ***** Texture dimensions : 256x32
16:53:42: Texture: widget.edit.png: Loading 1 faces(PF_A8R8G8B8,132x32x1) with 8 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x32x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b6 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: Texture: widget.angle.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b6c6 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b7 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: Texture: widget.scale.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b7c7 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b8 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: Texture: widget.material.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b8c8 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: Texture: widget.add.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
16:53:42: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9c9 not found. in OverlayManager::getOverlayElementImpl at e:\projects\ogrecvs\branches\eihort_vc8_clean\ogrenew\ogremain\src\ogreoverlaymanager.cpp (line 588)
16:53:42: Texture: spot_shadow_fade.png: Loading 1 faces(PF_R8G8B8,128x128x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
16:53:42: WARNING: Texture instance 'Ogre/ShadowTexture0' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
16:53:42: WARNING: Texture instance 'Ogre/ShadowTexture1' was defined as manually loaded, but no manual loader was provided. This Resource will be lost if it has to be reloaded.
16:53:42: Creating viewport on target 'rtt/61977344', rendering from camera 'Ogre/ShadowTexture0Cam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
16:53:42: Viewport for camera 'Ogre/ShadowTexture0Cam', actual dimensions L: 0 T: 0 W: 1024 H: 1024
16:53:42: Creating viewport on target 'rtt/61977408', rendering from camera 'Ogre/ShadowTexture1Cam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
16:53:42: Viewport for camera 'Ogre/ShadowTexture1Cam', actual dimensions L: 0 T: 0 W: 1024 H: 1024

betajaen

17-08-2007 21:29:13

A copy of the NxOgre log would be handy.

Felipe

18-08-2007 18:55:26

NxOgre 0.9-24.Debug

NxOgre::PhysXDriver::PhysXDriver#142T0 F0
NxOgre (NxOgre 0.9-24.Debug) Started, working with:

- PhysX => 2.7.2
- Ogre => 1.4.0 'Eihort'
- Platform => Windows Debug

NxOgre::Material::Material#50T0 F0
Using material manually named 'Default' with Material Index as 0

betajaen

18-08-2007 19:21:56

According to the Log your running 1.4.0 Eihort, but at the top you have 1.4.3 running? Is this a mistake on your half, or do you have OGRE_HOME pointing to the wrong Ogre directory?

Felipe

18-08-2007 19:39:12

sorry!!
my ogre version is 1.4.0

betajaen

18-08-2007 19:46:50

Try and upgrade to 1.4.3

Felipe

18-08-2007 20:39:44

i install ogre 1.4.3 and get this error:

------ Build started: Project: Cakebox, Configuration: Debug Win32 ------
Compiling...
Cake.cpp
Linking...
Cake.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall NxOgre::CubeShape::CubeShape(float,class NxOgre::ShapeParams const &)" (__imp_??0CubeShape@NxOgre@@QAE@MABVShapeParams@1@@Z)
C:\nxOgre0.9\NxOgre\/tutorials/compiler/debug/Cakebox_debug.exe : fatal error LNK1120: 1 unresolved externals
Build log was saved at "file://C:\nxOgre0.9\NxOgre\tutorials\compiler\debug\BuildLog.htm"
Cakebox - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


my nxogrelog
NxOgre::PhysXDriver::PhysXDriver#142T0 F0
NxOgre (NxOgre 0.9-24.Debug) Started, working with:

- PhysX => 2.7.2
- Ogre => 1.4.3 'Eihort'
- Platform => Windows Debug

betajaen

18-08-2007 20:48:05

Clean the solution and recompile. If that doesn't work, delete the NxOgre directory and re-download it from SVN. That function definitely exists.

Felipe

18-08-2007 21:06:59

now I download nxogre 0.9-33 svn

i compile with
Ogre 1.4.3
NxOgre 0.9-33

and get this error:

------ Build started: Project: Cakebox, Configuration: Debug Win32 ------
Compiling...
Cake.cpp
c:\nxogre\tutorials\compiler\source\cake.h(951) : error C2248: 'NxOgre::World::mScenes' : cannot access protected member declared in class 'NxOgre::World'
c:\nxogre\include\nxogreworld.h(209) : see declaration of 'NxOgre::World::mScenes'
c:\nxogre\include\nxogreworld.h(36) : see declaration of 'NxOgre::World'
Build log was saved at "file://C:\NxOgre\tutorials\compiler\debug\BuildLog.htm"
Cakebox - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


this error is in line in cake.h:

mScene = mWorld->mScenes.get("Main");

betajaen

18-08-2007 21:30:16

Replace it with:


mScene = mWorld->getScenes()->getFirst();

Felipe

19-08-2007 02:29:01

thanks betajaen, now it work!!!