OgreOde demos crashes after compilation

Viper87

11-04-2010 22:23:20

Hello,

I'm newbie in graphics programming. I need to make a truck simulation for my university, but I have a problem with OgreOde compilation. I hope that you can help me, so thanks for any help.

I want to use OGRE with ODE in Microsoft Visual Studio 2008 SP1 on Windows 7 32-bit.

What I did:
-I downloaded ODE 0.11.1 from this link http://sourceforge.net/projects/opende/files/
-I downloaded Ogre 3d for VC 2008 SDK from this link http://sourceforge.net/projects/ogre/fi ... e/download
-I download OgreOde from SVN repository http://ogreaddons.svn.sourceforge.net/v ... z?view=tar

I built successfully seperately Ogre3d and ODE in VC++ 2008 and run attached examples.

I wanted to build and use OgreOde (according to this instructions: http://www.ogre3d.org/wiki/index.php/Compile_OgreOde) so I extracted ogreode repository and copied all files from my ode directory to ode subfolder in ogreode folder.
Next I used Cmake tool to generate VS sln files (I entered the path to ogreode main directory as the source code location and I entered the path to ogreode/build empty directory as build binaries directory), but I saw the following error: "Could not find Ogre build files. Please set OGRE_BUILD to the correct path in CMake".
I ignored this info (I have system environment set OGRE_HOME) and I tried to build solution generated by Cmake. I received more than 400 conversion warnings but no errors (I only had to include boost folder from ogre). Unfortunately I can't run any example. Every attempt of starting EXE causes similar error: "OGRE EXCEPTION(6:FileNotFoundException:'resources.cfg' file not found!...)". I tried to copy exe, dlls files from ogreode build directory to ogre bin directory (where is config.cfg file) but this event occurs next errors or program crash. I also tried to copy media folder from ogreode to ogre. I stuck at error: "OGRE EXCEPTION, Cannot locate a resource group called 'Bootstrap'.

What I do wrong?

Thanks for any help.

zorocke

22-04-2010 16:53:13

The first problem is saying that the application cannot find "resources.cfg"

Make sure the path where you are copying the application is currect. You should be placing the OgreOde demos in the same directory as the Ogre demos according to the wiki page. Is it possible you placed the execatable files in \bin instead of "OgreSDK\bin\debug" or "\release".

joaopccosta

16-09-2010 15:19:32

Hi there.
Thanks in advance for any help provided.

I'm totally new to Ogre and OgreODE. Like Viper87, I need to use OgreODE for College and Thesis purposes.

So I followed the same tutorials he did. I managed to successfully build OgreODE. Once finished, I moved the contents of 'OgreODE_DIR\build\bin\Release' to 'OgreSDK_DIR\bin\release', then I tried to run the Demo_GranTurismOgre demo to check if it was working and... BAM... I get the same OGRE EXCEPTION ERROR... :x
OGRE EXCEPTION(5:ItemIdentityException): Cannot locate a resource group called 'Bootstrap' in ResourceGroupManager::findResourceFileInfo at ..\..\..\..\OgreMain\src\OgreResourceGroupManager.cpp (line 1611)

Can this be because i'm using the pre-built SDK instead of compiling Ogre from the sources? (just wondering...)

I can add that ODE was built successfully with no errors and like Viper87, I replaced the 'ode' folder inside OgreODE with the newly built one.

Can't really figure this out... and i've been already searching the forums and found no solution to this problem...
Help anyone?

Cheer from Portugal,
João Costa

dermont

16-09-2010 19:08:09

You probably just need to update your resources.cfg to point to the ogreode media dir and OgreCore.zip, for example:


[Bootstrap]
Zip=/media/sda7/Libraries/OGRE/ogre-v1-6-4/Samples/Media/packs/OgreCore.zip
[OgreOde]
FileSystem=/media/sda7/Libraries/OGRE/ogre-addons-v1.8/ogreode_svn/demos/Media


If you are using Ogre 1.7.x you can download OgreCore.zip from:
http://ogre.svn.sourceforge.net/viewvc/ ... p?view=log

joaopccosta

16-09-2010 21:05:50

Hi again!

Thanks dermont. That solved the problem... partially. Now when i run the Demo_GranTurismOgre.exe, i get the Ogre Dialog to select the Rendering system and launch the application.

As soon as I hit OK, the screen goes black (as normal) and there is another exception error... :(

OGRE EXCEPTION(4:ItemIdentityException): ParticleSystem template with name 'myExplosionTemplate' already exists in ParticleSystemManager::createTemplate at ..\..\..\..\OgreMain\src\OgreParticleSystemManager.cpp (line 289)

any help?

Oh and btw... I'm using ogre 1.7.x at home but i'm going to use the 1.6.x version on college. How can I solve the OgreCore.zip problem with that version?

Again, thank you very much!

dermont

17-09-2010 16:56:35

Hi again!

Thanks dermont. That solved the problem... partially. Now when i run the Demo_GranTurismOgre.exe, i get the Ogre Dialog to select the Rendering system and launch the application.

As soon as I hit OK, the screen goes black (as normal) and there is another exception error... :(

OGRE EXCEPTION(4:ItemIdentityException): ParticleSystem template with name 'myExplosionTemplate' already exists in ParticleSystemManager::createTemplate at ..\..\..\..\OgreMain\src\OgreParticleSystemManager.cpp (line 289)

any help?

Oh and btw... I'm using ogre 1.7.x at home but i'm going to use the 1.6.x version on college. How can I solve the OgreCore.zip problem with that version?

Again, thank you very much!


It looks like you are trying to load the ogreode media twice, though that shouldn't be the first error you encounter. Maybe you could post your resources.cfg file for 1.7.x. Are you sure you created the [OgreOde] resource group as above?

AFAIK the OgreOde resource group is created in GranTurismOgre.cpp (see GranTurismOgreApplication::setupResources) unless specified in resources.cfg. Maybe something has changed?

For 1.6.x there shouldn't be a problem with the OgreCore.zip media/resources.cfg. This is my resource config file for 1.6.4 on Linux:


# Resource locations to be added to the 'boostrap' path
# This also contains the minimum you need to use the Ogre example framework
[Bootstrap]
Zip=../../Media/packs/OgreCore.zip

# Resource locations to be added to the default path
[General]
FileSystem=../../Media
FileSystem=../../Media/fonts
FileSystem=../../Media/materials/programs
FileSystem=../../Media/materials/scripts
FileSystem=../../Media/materials/textures
FileSystem=../../Media/models
FileSystem=../../Media/overlays
FileSystem=../../Media/particle
FileSystem=../../Media/gui
FileSystem=../../Media/DeferredShadingMedia
FileSystem=../../Media/PCZAppMedia
Zip=../../Media/packs/cubemap.zip
Zip=../../Media/packs/cubemapsJS.zip
Zip=../../Media/packs/dragon.zip
Zip=../../Media/packs/fresneldemo.zip
Zip=../../Media/packs/ogretestmap.zip
Zip=../../Media/packs/skybox.zip
[OgreOde]
FileSystem=/media/sda7/Libraries/OGRE/ogre-addons-v1-6-4/ogreode/demos/Media

joaopccosta

17-09-2010 17:17:54

greetings.

here goes my resources.cfg in OgreSDK_DIR\bin\release (where i have the Demo_GranTurismOgre.exe file):
# Resources required by the sample browser and most samples.
[Essential]
Zip=../../media/packs/SdkTrays.zip
FileSystem=../../media/thumbnails

# Common sample resources needed by many of the samples.
# Rarely used resources should be separately loaded by the
# samples which require them.
[Popular]
FileSystem=../../media/fonts
FileSystem=../../media/materials/programs
FileSystem=../../media/materials/scripts
FileSystem=../../media/materials/textures
FileSystem=../../media/materials/textures/nvidia
FileSystem=../../media/models
FileSystem=../../media/particle
FileSystem=../../media/DeferredShadingMedia
FileSystem=../../media/PCZAppMedia
FileSystem=../../media/RTShaderLib
FileSystem=../../media/RTShaderLib/materials
Zip=../../media/packs/cubemap.zip
Zip=../../media/packs/cubemapsJS.zip
Zip=../../media/packs/dragon.zip
Zip=../../media/packs/fresneldemo.zip
Zip=../../media/packs/ogretestmap.zip
Zip=../../media/packs/ogredance.zip
Zip=../../media/packs/Sinbad.zip
Zip=../../media/packs/skybox.zip

[General]
FileSystem=../../media

[Bootstrap]
Zip=../../OgreCore.zip

[OgreOde]
FileSystem=../../../OgreODE/demos/Media

note that i've added the Bootstrap and OgreOde labels as you mentioned on the previous post.

I can tell that all i've done was to build the OgreOde on VisualStudio 2008 (with no problems whatsoever), and then copy the Samples .exe's to the OgreSDK_DIR\bin\release folder.
Also, the ode_single.dll file was missing on that folder so i just copied it from the ode.
And then, (all hell broke loose) the exception errors appeared.

As for the 1.6.x version, I'm not working on it already... So, as soon as i work on it and if any problem occurs, I'll post something. (hope not though :P)

dermont

17-09-2010 18:32:16

Not sure where the Cmake build installs the OgreOde media on Windows but you could check your ../../media/(materials/models/particle) dirs to see if the OgreOde files are already installed there. If so you can remove the last 2 lines from your resources.cfg file.

Other than that I don't know, maybe post your Ogre.log file.

joaopccosta

17-09-2010 19:04:32

Well, the OgreODE media is on OgreODE_DIR\demos\Media. I've already copied it's contents to the OgreSDK_DIR\media folder, as suggested in this tutorial http://www.ogre3d.org/tikiwiki/Compile+OgreOde
Running the demos

Assuming everything was compiled succesfully, the demos should appear in "ogreode\build\bin\Debug" or "\release" accordingly. You may be able to find a more effective method for doing this, but I copied the .exe and the .dll files in this folder into my Ogre Samples folder.
"OgreSDK\bin\debug" if you are using the Ogre SDK. I then copied the media within "ogreode\demos\Media" directly into "D:\OgreSDK\media".

The demos should run flawlessly now from your Ogre Samples directory. Enjoy playing GranTurismOgre!


Here goes the Ogre.log file:
18:50:27: Creating resource group General
18:50:27: Creating resource group Internal
18:50:27: Creating resource group Autodetect
18:50:27: SceneManagerFactory for type 'DefaultSceneManager' registered.
18:50:27: Registering ResourceManager for type Material
18:50:27: Registering ResourceManager for type Mesh
18:50:27: Registering ResourceManager for type Skeleton
18:50:27: MovableObjectFactory for type 'ParticleSystem' registered.
18:50:27: OverlayElementFactory for type Panel registered.
18:50:27: OverlayElementFactory for type BorderPanel registered.
18:50:27: OverlayElementFactory for type TextArea registered.
18:50:27: Registering ResourceManager for type Font
18:50:27: ArchiveFactory for archive type FileSystem registered.
18:50:27: ArchiveFactory for archive type Zip registered.
18:50:27: DDS codec registering
18:50:27: FreeImage version: 3.13.1
18:50:27: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
18:50:27: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
18:50:27: Registering ResourceManager for type HighLevelGpuProgram
18:50:27: Registering ResourceManager for type Compositor
18:50:27: MovableObjectFactory for type 'Entity' registered.
18:50:27: MovableObjectFactory for type 'Light' registered.
18:50:27: MovableObjectFactory for type 'BillboardSet' registered.
18:50:27: MovableObjectFactory for type 'ManualObject' registered.
18:50:27: MovableObjectFactory for type 'BillboardChain' registered.
18:50:27: MovableObjectFactory for type 'RibbonTrail' registered.
18:50:27: Loading library .\RenderSystem_Direct3D9
18:50:27: Installing plugin: D3D9 RenderSystem
18:50:27: D3D9 : Direct3D9 Rendering Subsystem created.
18:50:27: D3D9: Driver Detection Starts
18:50:27: D3D9: Driver Detection Ends
18:50:27: Plugin successfully installed
18:50:27: Loading library .\RenderSystem_GL
18:50:28: Installing plugin: GL RenderSystem
18:50:28: OpenGL Rendering Subsystem created.
18:50:28: Plugin successfully installed
18:50:28: Loading library .\Plugin_ParticleFX
18:50:28: Installing plugin: ParticleFX
18:50:28: Particle Emitter Type 'Point' registered
18:50:28: Particle Emitter Type 'Box' registered
18:50:28: Particle Emitter Type 'Ellipsoid' registered
18:50:28: Particle Emitter Type 'Cylinder' registered
18:50:28: Particle Emitter Type 'Ring' registered
18:50:28: Particle Emitter Type 'HollowEllipsoid' registered
18:50:28: Particle Affector Type 'LinearForce' registered
18:50:28: Particle Affector Type 'ColourFader' registered
18:50:28: Particle Affector Type 'ColourFader2' registered
18:50:28: Particle Affector Type 'ColourImage' registered
18:50:28: Particle Affector Type 'ColourInterpolator' registered
18:50:28: Particle Affector Type 'Scaler' registered
18:50:28: Particle Affector Type 'Rotator' registered
18:50:28: Particle Affector Type 'DirectionRandomiser' registered
18:50:28: Particle Affector Type 'DeflectorPlane' registered
18:50:28: Plugin successfully installed
18:50:28: Loading library .\Plugin_BSPSceneManager
18:50:28: Installing plugin: BSP Scene Manager
18:50:28: Plugin successfully installed
18:50:28: Loading library .\Plugin_CgProgramManager
18:50:28: Installing plugin: Cg Program Manager
18:50:28: Plugin successfully installed
18:50:28: Loading library .\Plugin_PCZSceneManager
18:50:28: Installing plugin: Portal Connected Zone Scene Manager
18:50:28: PCZone Factory Type 'ZoneType_Default' registered
18:50:28: Plugin successfully installed
18:50:28: Loading library .\Plugin_OctreeZone
18:50:28: Installing plugin: Octree Zone Factory
18:50:28: Plugin successfully installed
18:50:28: Loading library .\Plugin_OctreeSceneManager
18:50:28: Installing plugin: Octree & Terrain Scene Manager
18:50:28: Plugin successfully installed
18:50:28: *-*-* OGRE Initialising
18:50:28: *-*-* Version 1.7.1 (Cthugha)
18:50:28: Creating resource group Bootstrap
18:50:28: Added resource location '../../OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
18:50:28: Creating resource group Essential
18:50:28: Added resource location '../../media/thumbnails' of type 'FileSystem' to resource group 'Essential'
18:50:28: Added resource location '../../media/packs/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
18:50:28: Added resource location '../../media' of type 'FileSystem' to resource group 'General'
18:50:28: Creating resource group OgreOde
18:50:28: Added resource location '../../../OgreODE/demos/Media' of type 'FileSystem' to resource group 'OgreOde'
18:50:28: Creating resource group Popular
18:50:28: Added resource location '../../media/fonts' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/materials/programs' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/materials/scripts' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/materials/textures' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/materials/textures/nvidia' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/models' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/particle' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/DeferredShadingMedia' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/PCZAppMedia' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/RTShaderLib' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/RTShaderLib/materials' of type 'FileSystem' to resource group 'Popular'
18:50:28: Added resource location '../../media/packs/cubemap.zip' of type 'Zip' to resource group 'Popular'
18:50:28: Added resource location '../../media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'Popular'
18:50:28: Added resource location '../../media/packs/dragon.zip' of type 'Zip' to resource group 'Popular'
18:50:28: Added resource location '../../media/packs/fresneldemo.zip' of type 'Zip' to resource group 'Popular'
18:50:28: Added resource location '../../media/packs/ogretestmap.zip' of type 'Zip' to resource group 'Popular'
18:50:28: Added resource location '../../media/packs/ogredance.zip' of type 'Zip' to resource group 'Popular'
18:50:28: Added resource location '../../media/packs/Sinbad.zip' of type 'Zip' to resource group 'Popular'
18:50:28: Added resource location '../../media/packs/skybox.zip' of type 'Zip' to resource group 'Popular'
18:50:28: D3D9 : RenderSystem Option: Allow NVPerfHUD = No
18:50:28: D3D9 : RenderSystem Option: FSAA = 0
18:50:28: D3D9 : RenderSystem Option: Floating-point mode = Fastest
18:50:28: D3D9 : RenderSystem Option: Full Screen = Yes
18:50:28: D3D9 : RenderSystem Option: Rendering Device = Monitor-1-NVIDIA GeForce 8600 GTS
18:50:28: D3D9 : RenderSystem Option: Resource Creation Policy = Create on all devices
18:50:28: D3D9 : RenderSystem Option: VSync = No
18:50:28: D3D9 : RenderSystem Option: VSync Interval = 1
18:50:28: D3D9 : RenderSystem Option: Video Mode = 800 x 600 @ 32-bit colour
18:50:28: D3D9 : RenderSystem Option: sRGB Gamma Conversion = No
18:50:29: CPU Identifier & Features
18:50:29: -------------------------
18:50:29: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz
18:50:29: * SSE: yes
18:50:29: * SSE2: yes
18:50:29: * SSE3: yes
18:50:29: * MMX: yes
18:50:29: * MMXEXT: yes
18:50:29: * 3DNOW: no
18:50:29: * 3DNOWEXT: no
18:50:29: * CMOV: yes
18:50:29: * TSC: yes
18:50:29: * FPU: yes
18:50:29: * PRO: yes
18:50:29: * HT: no
18:50:29: -------------------------
18:50:29: D3D9 : Subsystem Initialising
18:50:29: Registering ResourceManager for type Texture
18:50:29: Registering ResourceManager for type GpuProgram
18:50:29: D3D9RenderSystem::_createRenderWindow "OGRE Render Window", 800x600 fullscreen miscParams: FSAA=0 FSAAHint= colourDepth=32 gamma=false monitorIndex=0 useNVPerfHUD=false vsync=false vsyncInterval=1
18:50:29: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 800x600, 32bpp
18:50:30: D3D9: Vertex texture format supported - PF_FLOAT16_RGB
18:50:30: D3D9: Vertex texture format supported - PF_FLOAT16_RGBA
18:50:30: D3D9: Vertex texture format supported - PF_FLOAT32_RGB
18:50:30: D3D9: Vertex texture format supported - PF_FLOAT32_RGBA
18:50:30: D3D9: Vertex texture format supported - PF_FLOAT16_R
18:50:30: D3D9: Vertex texture format supported - PF_FLOAT32_R
18:50:30: D3D9: Vertex texture format supported - PF_FLOAT16_GR
18:50:30: D3D9: Vertex texture format supported - PF_FLOAT32_GR
18:50:30: RenderSystem capabilities
18:50:30: -------------------------
18:50:30: RenderSystem Name: Direct3D9 Rendering Subsystem
18:50:30: GPU Vendor: nvidia
18:50:30: Device Name: Monitor-1-NVIDIA GeForce 8600 GTS
18:50:30: Driver Version: 8.16.11.9062
18:50:30: * Fixed function pipeline: yes
18:50:30: * Hardware generation of mipmaps: yes
18:50:30: * Texture blending: yes
18:50:30: * Anisotropic texture filtering: yes
18:50:30: * Dot product texture operation: yes
18:50:30: * Cube mapping: yes
18:50:30: * Hardware stencil buffer: yes
18:50:30: - Stencil depth: 8
18:50:30: - Two sided stencil support: yes
18:50:30: - Wrap stencil values: yes
18:50:30: * Hardware vertex / index buffers: yes
18:50:30: * Vertex programs: yes
18:50:30: * Number of floating-point constants for vertex programs: 256
18:50:30: * Number of integer constants for vertex programs: 16
18:50:30: * Number of boolean constants for vertex programs: 16
18:50:30: * Fragment programs: yes
18:50:30: * Number of floating-point constants for fragment programs: 224
18:50:30: * Number of integer constants for fragment programs: 16
18:50:30: * Number of boolean constants for fragment programs: 16
18:50:30: * Geometry programs: no
18:50:30: * Number of floating-point constants for geometry programs: 0
18:50:30: * Number of integer constants for geometry programs: 26880
18:50:30: * Number of boolean constants for geometry programs: 25198
18:50:30: * Supported Shader Profiles: hlsl ps_1_1 ps_1_2 ps_1_3 ps_1_4 ps_2_0 ps_2_a ps_2_b ps_2_x ps_3_0 vs_1_1 vs_2_0 vs_2_a vs_2_x vs_3_0
18:50:30: * Texture Compression: yes
18:50:30: - DXT: yes
18:50:30: - VTC: no
18:50:30: - PVRTC: no
18:50:30: * Scissor Rectangle: yes
18:50:30: * Hardware Occlusion Query: yes
18:50:30: * User clip planes: yes
18:50:30: * VET_UBYTE4 vertex element type: yes
18:50:30: * Infinite far plane projection: yes
18:50:30: * Hardware render-to-texture: yes
18:50:30: * Floating point textures: yes
18:50:30: * Non-power-of-two textures: yes
18:50:30: * Volume textures: yes
18:50:30: * Multiple Render Targets: 4
18:50:30: - With different bit depths: yes
18:50:30: * Point Sprites: yes
18:50:30: * Extended point parameters: yes
18:50:30: * Max Point Size: 10
18:50:30: * Vertex texture fetch: yes
18:50:30: * Number of world matrices: 0
18:50:30: * Number of texture units: 8
18:50:30: * Stencil buffer depth: 8
18:50:30: * Number of vertex blend matrices: 0
18:50:30: - Max vertex textures: 4
18:50:30: - Vertex textures shared: no
18:50:30: * Render to Vertex Buffer : no
18:50:30: * DirectX per stage constants: yes
18:50:30: ***************************************
18:50:30: *** D3D9 : Subsystem Initialised OK ***
18:50:30: ***************************************
18:50:30: DefaultWorkQueue('Root') initialising on thread 00BD0218.
18:50:30: Particle Renderer Type 'billboard' registered
18:50:30: SceneManagerFactory for type 'BspSceneManager' registered.
18:50:30: Registering ResourceManager for type BspLevel
18:50:30: SceneManagerFactory for type 'PCZSceneManager' registered.
18:50:30: MovableObjectFactory for type 'PCZLight' registered.
18:50:30: MovableObjectFactory for type 'Portal' registered.
18:50:30: MovableObjectFactory for type 'AntiPortal' registered.
18:50:30: PCZone Factory Type 'ZoneType_Octree' registered
18:50:30: PCZone Factory Type 'ZoneType_Terrain' registered
18:50:30: SceneManagerFactory for type 'OctreeSceneManager' registered.
18:50:30: SceneManagerFactory for type 'TerrainSceneManager' registered.
18:50:30: Parsing scripts for resource group Autodetect
18:50:30: Finished parsing scripts for resource group Autodetect
18:50:30: Parsing scripts for resource group Bootstrap
18:50:30: Parsing script OgreCore.material
18:50:30: Parsing script OgreProfiler.material
18:50:30: Parsing script Ogre.fontdef
18:50:30: Parsing script OgreDebugPanel.overlay
18:50:30: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
18:50:30: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
18:50:30: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
18:50:30: DefaultWorkQueue('Root')::WorkerFunc - thread 00C8A328 starting.
18:50:30: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
18:50:30: Parsing script OgreLoadingPanel.overlay
18:50:30: Finished parsing scripts for resource group Bootstrap
18:50:30: Parsing scripts for resource group Essential
18:50:30: Parsing script SdkTrays.material
18:50:30: Parsing script SdkTrays.fontdef
18:50:30: Parsing script SdkTrays.overlay
18:50:30: Bad element attribute line: '# you can offset the image to change the cursor "hotspot"' for element SdkTrays/Cursor in overlay
18:50:30: Texture: sdk_cursor.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
18:50:30: Texture: sdk_tray.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
18:50:30: Texture: sdk_button_up.png: Loading 1 faces(PF_A8R8G8B8,128x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x32x1.
18:50:30: Texture: sdk_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
18:50:30: Texture: sdk_mini_tray.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
18:50:30: Texture: sdk_track.png: Loading 1 faces(PF_A8R8G8B8,16x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x32x1.
18:50:30: Texture: sdk_handle.png: Loading 1 faces(PF_A8R8G8B8,16x16x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,16x16x1.
18:50:30: Texture: sdk_mini_text_box.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
18:50:30: Texture: sdk_label.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
18:50:30: Texture: sdk_separator.png: Loading 1 faces(PF_A8R8G8B8,64x16x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x16x1.
18:50:30: Texture: sdk_logo.png: Loading 1 faces(PF_A8R8G8B8,128x64x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x64x1.
18:50:30: Texture: sdk_shade.png: Loading 1 faces(PF_A8R8G8B8,64x48x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x48x1.
18:50:30: Texture: sdk_frame.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
18:50:30: Texture: sdk_mini_text_box_over.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
18:50:30: Texture: sdk_pulse.png: Loading 1 faces(PF_R8G8B8,8x1x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,8x1x1.
18:50:30: Finished parsing scripts for resource group Essential
18:50:30: Parsing scripts for resource group General
18:50:30: Parsing script apache_body.material
18:50:30: Parsing script autoterraintexture.material
18:50:30: Compiler error: number expected in autoterraintexture.material(43): incorrect float constant declaration
18:50:30: Parsing script ball.material
18:50:30: Parsing script capsule.material
18:50:30: Parsing script crate.material
18:50:30: Parsing script door.material
18:50:30: Parsing script gun.material
18:50:30: Parsing script jeep_body.material
18:50:30: DefaultWorkQueue('Root')::WorkerFunc - thread 00C8A358 starting.
18:50:30: Parsing script jeep_wheell.material
18:50:30: Parsing script jeep_wheelr.material
18:50:30: Parsing script kk3d.material
18:50:30: Parsing script landscape.material
18:50:30: Parsing script main_rotor.material
18:50:30: Parsing script plane.material
18:50:30: Parsing script racingcircuit.material
18:50:30: Parsing script scooby_body.material
18:50:30: Parsing script scooby_wheel.material
18:50:30: Parsing script tail_rotor.material
18:50:30: Parsing script target.material
18:50:30: Parsing script zombie.material
18:50:30: Compiler error: reference to a non existing object in zombie.material(9)
18:50:30: Compiler error: reference to a non existing object in zombie.material(21)
18:50:30: Parsing script myExplosion.particle
18:50:30: Parsing script ogreodedemos.particle
18:50:30: Parsing script ogreodedemos.overlay
18:50:30: Texture: target.png: Loading 1 faces(PF_A8R8G8B8,45x45x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,45x45x1.
18:50:30: Finished parsing scripts for resource group General
18:50:30: Parsing scripts for resource group Internal
18:50:30: Finished parsing scripts for resource group Internal
18:50:30: Parsing scripts for resource group OgreOde
18:50:30: Parsing script apache_body.material
18:50:30: Parsing script autoterraintexture.material
18:50:30: Compiler error: number expected in autoterraintexture.material(43): incorrect float constant declaration
18:50:30: Parsing script ball.material
18:50:30: Parsing script capsule.material
18:50:30: Parsing script crate.material
18:50:30: Parsing script door.material
18:50:30: Parsing script gun.material
18:50:30: Parsing script jeep_body.material
18:50:30: Parsing script jeep_wheell.material
18:50:30: Parsing script jeep_wheelr.material
18:50:30: Parsing script kk3d.material
18:50:30: Parsing script landscape.material
18:50:30: Parsing script main_rotor.material
18:50:30: Parsing script plane.material
18:50:30: Parsing script racingcircuit.material
18:50:30: Parsing script scooby_body.material
18:50:30: Parsing script scooby_wheel.material
18:50:30: Parsing script tail_rotor.material
18:50:30: Parsing script target.material
18:50:30: Parsing script zombie.material
18:50:30: Compiler error: reference to a non existing object in zombie.material(9)
18:50:30: Compiler error: reference to a non existing object in zombie.material(21)
18:50:30: Parsing script myExplosion.particle
18:50:30: OGRE EXCEPTION(4:ItemIdentityException): ParticleSystem template with name 'myExplosionTemplate' already exists. in ParticleSystemManager::createTemplate at ..\..\..\..\OgreMain\src\OgreParticleSystemManager.cpp (line 289)
18:50:40: DefaultWorkQueue('Root') shutting down on thread 00BD0218.
18:50:40: DefaultWorkQueue('Root')::WorkerFunc - thread 00C8A328 stopped.
18:50:40: DefaultWorkQueue('Root')::WorkerFunc - thread 00C8A358 stopped.
18:50:40: PCZone Factory Type 'ZoneType_Octree' unregistered
18:50:40: PCZone Factory Type 'ZoneType_Terrain' unregistered
18:50:40: Unregistering ResourceManager for type BspLevel
18:50:40: *-*-* OGRE Shutdown
18:50:40: Unregistering ResourceManager for type Compositor
18:50:40: Unregistering ResourceManager for type Font
18:50:40: Unregistering ResourceManager for type Skeleton
18:50:40: Unregistering ResourceManager for type Mesh
18:50:40: Unregistering ResourceManager for type HighLevelGpuProgram
18:50:40: Uninstalling plugin: Octree & Terrain Scene Manager
18:50:40: Plugin successfully uninstalled
18:50:40: Unloading library .\Plugin_OctreeSceneManager
18:50:40: Uninstalling plugin: Octree Zone Factory
18:50:40: Plugin successfully uninstalled
18:50:40: Unloading library .\Plugin_OctreeZone
18:50:40: Uninstalling plugin: Portal Connected Zone Scene Manager
18:50:40: Plugin successfully uninstalled
18:50:40: Unloading library .\Plugin_PCZSceneManager
18:50:40: Uninstalling plugin: Cg Program Manager
18:50:40: Plugin successfully uninstalled
18:50:40: Unloading library .\Plugin_CgProgramManager
18:50:40: Uninstalling plugin: BSP Scene Manager
18:50:40: Plugin successfully uninstalled
18:50:40: Unloading library .\Plugin_BSPSceneManager
18:50:40: Uninstalling plugin: ParticleFX
18:50:40: Plugin successfully uninstalled
18:50:40: Unloading library .\Plugin_ParticleFX
18:50:40: Uninstalling plugin: GL RenderSystem
18:50:40: *** Stopping Win32GL Subsystem ***
18:50:40: Plugin successfully uninstalled
18:50:40: Unloading library .\RenderSystem_GL
18:50:40: Uninstalling plugin: D3D9 RenderSystem
18:50:40: D3D9 : Shutting down cleanly.
18:50:40: Unregistering ResourceManager for type Texture
18:50:40: Unregistering ResourceManager for type GpuProgram
18:50:40: D3D9 : Direct3D9 Rendering Subsystem destroyed.
18:50:40: Plugin successfully uninstalled
18:50:40: Unloading library .\RenderSystem_Direct3D9
18:50:40: Unregistering ResourceManager for type Material


Still I tried something else... after copying the files from ogreode media folder to the ogresdk media folder, i tried to put them on the according folders... (.MESH file into the models folder and so on) and got a different exception.
OGRE EXCEPTION(5:ItemIdentityException): Could not find material OgreOdeDemos/TargetSights in OverlayElement::setMaterialName at ..\..\..\..\OgreMain\src\OgreOverlayElement.cpp (line 330)

... so i guess the media was ok as it was.
I'll try to build the OgreODE from scratch and try to figure out if anything is missing. :S
Any clues?

joaopccosta

17-09-2010 19:13:10

Success!!! :lol:

Here's what i did:

after copying the media stuff from OgreODE_DIR\Media to OgreSDK_DIR\Media, i browsed through the files and noticed that there was a myExplosion.particle file... I though... if the exception says it already exists, let's move it away. I also did the same to the ogreodedemos.particle file... and.. Voilá! It all works fine now. I can run every OgreODE demo :)

Now I can start doing something with ODE 8)

Thanks for your help dermont! You're a lifesaver!