OSM_viewer error

rubenhonders

15-10-2006 13:38:19

Hi i have made a tree , in the ofusion viewport i get no errors and is shows how it need to be showed , but when i try to get it in the osm_viewer i see just black screen.
my ogre.log

14:28:55: Creating resource group General
14:28:55: Registering ResourceManager for type Material
14:28:55: Registering ResourceManager for type Mesh
14:28:55: Registering ResourceManager for type Skeleton
14:28:55: Loading library OgrePlatform.dll
14:28:55: OverlayElementFactory for type Panel registered.
14:28:55: OverlayElementFactory for type BorderPanel registered.
14:28:55: OverlayElementFactory for type TextArea registered.
14:28:55: Registering ResourceManager for type Font
14:28:55: ArchiveFactory for archive type FileSystem registered.
14:28:55: ArchiveFactory for archive type Zip registered.
14:28:55: DevIL version: Developer's Image Library (DevIL) 1.6.5
14:28:55: DevIL image formats: bmp dib cut dcx dds gif ico cur jpg jpe jpeg lif mdl mng jng pcx pic pix png pbm pgm pnm ppm psd pdd psp pxr sgi bw rgb rgba tga vda icb vst tif tiff wal xpm raw
14:28:55: Registering ResourceManager for type HighLevelGpuProgram
14:28:55: Loading library ./plugins\RenderSystem_Direct3D9
14:28:55: D3D9 : Direct3D9 Rendering SubSystem created.
14:28:55: D3D9: Driver Detection Starts
14:28:55: D3D9: Driver Detection Ends
14:28:55: Loading library ./plugins\RenderSystem_GL
14:28:55: OpenGL Rendering Subsystem created.
14:28:55: Loading library ./plugins\Plugin_OctreeSceneManager
14:28:55: TerrainSceneManager: Registered a new PageSource for type Heightmap
14:28:55: Loading library ./plugins\Plugin_CgProgramManager
14:28:55: *-*-* OGRE Initialising
14:28:55: *-*-* Version 1.0.6 (Azathoth)
14:28:55: Creating resource group Bootstrap
14:28:55: Added resource location '.\media\OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
14:28:55: Added resource location './media' of type 'FileSystem' to resource group 'General'
14:28:55: Added resource location './media/textures' of type 'FileSystem' to resource group 'General'
14:28:55: Added resource location './media/maps' of type 'FileSystem' to resource group 'General'
14:28:55: Added resource location './media/shaders' of type 'FileSystem' to resource group 'General'
14:28:55: Added resource location './scene' of type 'FileSystem' to resource group 'General'
14:28:55: D3D9 : RenderSystem Option: Anti aliasing = Level 4
14:28:55: D3D9 : RenderSystem Option: Floating-point mode = Fastest
14:28:55: D3D9 : RenderSystem Option: Full Screen = Yes
14:28:55: D3D9 : RenderSystem Option: Rendering Device = NVIDIA GeForce 7800 GS
14:28:55: D3D9 : RenderSystem Option: VSync = No
14:28:55: D3D9 : RenderSystem Option: Video Mode = 1024 x 768 @ 32-bit colour
14:28:56: D3D9 : Subsystem Initialising
14:28:56: D3D9RenderSystem::createRenderWindow "OGRE Render Window", 1024x768 fullscreen miscParams: FSAA=4 FSAAQuality=0 colourDepth=32 vsync=false
14:28:56: D3D9 : Created D3D9 Rendering Window 'OGRE Render Window' : 1024x768, 32bpp
14:28:56: Registering ResourceManager for type Texture
14:28:56: Registering ResourceManager for type GpuProgram
14:28:56: RenderSystem capabilities
14:28:56: -------------------------
14:28:56: * Hardware generation of mipmaps: yes
14:28:56: * Texture blending: yes
14:28:56: * Anisotropic texture filtering: yes
14:28:56: * Dot product texture operation: yes
14:28:56: * Cube mapping: yes
14:28:56: * Hardware stencil buffer: yes
14:28:56: - Stencil depth: 8
14:28:56: - Two sided stencil support: yes
14:28:56: - Wrap stencil values: yes
14:28:56: * Hardware vertex / index buffers: yes
14:28:56: * Vertex programs: yes
14:28:56: - Max vertex program version: vs_3_0
14:28:56: * Fragment programs: yes
14:28:56: - Max fragment program version: ps_3_0
14:28:56: * Texture Compression: yes
14:28:56: - DXT: yes
14:28:56: - VTC: no
14:28:56: * Scissor Rectangle: yes
14:28:56: * Hardware Occlusion Query: yes
14:28:56: * User clip planes: yes
14:28:56: * VET_UBYTE4 vertex element type: yes
14:28:56: * Infinite far plane projection: yes
14:28:56: * Hardware render-to-texture: yes
14:28:56: * Floating point textures: no
14:28:56: * Non-power-of-two textures: yes
14:28:56: * Volume textures: yes
14:28:56: ***************************************
14:28:56: *** D3D9 : Subsystem Initialised OK ***
14:28:56: ***************************************
14:28:56: ResourceBackgroundQueue - threading disabled
14:28:56: Particle Renderer Type 'billboard' registered
14:28:56: Parsing scripts for resource group Bootstrap
14:28:56: Parsing script OgreCore.material
14:28:56: Parsing script OgreProfiler.material
14:28:56: Parsing script Ogre.fontdef
14:28:56: Parsing script OgreDebugPanel.overlay
14:28:56: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
14:28:56: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
14:28:56: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
14:28:56: Font TrebuchetMSBoldusing texture size 512x512
14:28:56: Info: Freetype returned null for character 160 in font TrebuchetMSBold
14:28:56: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
14:28:56: Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,254x128x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,254x128x1.
14:28:56: Parsing script OgreLoadingPanel.overlay
14:28:56: Finished parsing scripts for resource group Bootstrap
14:28:56: Parsing scripts for resource group General
14:28:56: Parsing script Corona_ps.program
14:28:56: Error at line 9 of Corona_ps.program: Unrecognised command: /*
14:28:56: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Corona_ps already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 16 of Corona_ps.program: Could not create GPU program 'Corona_ps', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Corona_ps already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 17 of Corona_ps.program: Unrecognised command: */
14:28:56: Parsing script Corona_vs.program
14:28:56: Error at line 9 of Corona_vs.program: Unrecognised command: /*
14:28:56: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Corona_vs already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 16 of Corona_vs.program: Could not create GPU program 'Corona_vs', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Corona_vs already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 17 of Corona_vs.program: Unrecognised command: */
14:28:56: Parsing script Examples.program
14:28:56: Parsing script Ocean_Sky_ps.program
14:28:56: Error at line 9 of Ocean_Sky_ps.program: Unrecognised command: /*
14:28:56: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Sky_ps already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 16 of Ocean_Sky_ps.program: Could not create GPU program 'Ocean_Sky_ps', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Sky_ps already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 17 of Ocean_Sky_ps.program: Unrecognised command: */
14:28:56: Parsing script Ocean_Sky_vs.program
14:28:56: Error at line 9 of Ocean_Sky_vs.program: Unrecognised command: /*
14:28:56: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Sky_vs already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 16 of Ocean_Sky_vs.program: Could not create GPU program 'Ocean_Sky_vs', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Sky_vs already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 17 of Ocean_Sky_vs.program: Unrecognised command: */
14:28:56: Parsing script Ocean_Water_ps.program
14:28:56: Error at line 9 of Ocean_Water_ps.program: Unrecognised command: /*
14:28:56: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Water_ps already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 16 of Ocean_Water_ps.program: Could not create GPU program 'Ocean_Water_ps', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Water_ps already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 17 of Ocean_Water_ps.program: Unrecognised command: */
14:28:56: Parsing script Ocean_Water_vs.program
14:28:56: Error at line 9 of Ocean_Water_vs.program: Unrecognised command: /*
14:28:56: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Water_vs already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 16 of Ocean_Water_vs.program: Could not create GPU program 'Ocean_Water_vs', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name Ocean_Water_vs already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 17 of Ocean_Water_vs.program: Unrecognised command: */
14:28:56: Parsing script SpecularBump_ps.program
14:28:56: Error at line 9 of SpecularBump_ps.program: Unrecognised command: /*
14:28:56: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name SpecularBump_ps already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 16 of SpecularBump_ps.program: Could not create GPU program 'SpecularBump_ps', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name SpecularBump_ps already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 17 of SpecularBump_ps.program: Unrecognised command: */
14:28:56: Parsing script SpecularBump_vs.program
14:28:56: Error at line 9 of SpecularBump_vs.program: Unrecognised command: /*
14:28:56: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name SpecularBump_vs already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 16 of SpecularBump_vs.program: Could not create GPU program 'SpecularBump_vs', error reported was: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name SpecularBump_vs already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:56: Error at line 17 of SpecularBump_vs.program: Unrecognised command: */
14:28:56: Parsing script Example.material
14:28:56: Parsing script scene.material
14:28:56: Parsing script tree.material
14:28:56: Error in material 02_-_Default at line 14 of tree.material: Unrecognised command: texture_alias
14:28:56: An exception has been thrown!

-----------------------------------
Details:
-----------------------------------
Error #: 6
Function: ResourceManager::add
Description: Resource with the name 01_-_Default already exists..
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreResourceManager.cpp
Line: 89
Stack unwinding: <<beginning of stack>>
14:28:57: *-*-* OGRE Shutdown
14:28:57: Unregistering ResourceManager for type Font
14:28:57: Unregistering ResourceManager for type Skeleton
14:28:57: Unregistering ResourceManager for type Mesh
14:28:57: Unregistering ResourceManager for type HighLevelGpuProgram
14:28:57: Unloading library ./plugins\Plugin_CgProgramManager
14:28:57: Unloading library ./plugins\Plugin_OctreeSceneManager
14:28:57: *** Stopping Win32GL Subsystem ***
14:28:57: Unloading library ./plugins\RenderSystem_GL
14:28:58: Render Target 'OGRE Render Window' Average FPS: 0 Best FPS: 0 Worst FPS: 999
14:28:58: D3D9 : Shutting down cleanly.
14:28:58: Unregistering ResourceManager for type Texture
14:28:58: Unregistering ResourceManager for type GpuProgram
14:28:58: D3D9 : Direct3D9 Rendering SubSystem destroyed.
14:28:58: Unloading library ./plugins\RenderSystem_Direct3D9
14:28:58: Unregistering ResourceManager for type Material
14:28:58: Unloading library OgrePlatform.dll



Please can someone help me :lol: ..
i want please fast a feedback cause i am making a meshpackage for ogre users :lol:

rubenhonders

15-10-2006 20:47:09

Is there someone that can help me :?:

rubenhonders

16-10-2006 13:57:54

Please i need help :lol: i can only go further if i know why i get a error

Lioric

16-10-2006 16:58:36

Open the tree.material file and remove the "texture_alias" line that is in the texture unit section of the "2_-_Default" material

Your viewer is using a previous Ogre engine version, currently supported are Dagon versions only, you need to recompile the your viewer application with a current Ogre version

rubenhonders

16-10-2006 17:02:33

:twisted: i have found the error and i fixed it but this give's me another problem if i load the osm viewer i see the ofusion logo and the ogre fps my fps is 1900 :lol: but i see only a black screen :wink:


And i forgot to thanks lioric
Thanks lioric :wink:

rubenhonders

17-10-2006 16:17:37

Hey guys at this moment i got still the problem that if i run my scene in osm_viewer i see just black screen but i do see the ofusion logo , but now problem 2 ; i try to compile oSceneLoader_demo_dagon but i get this;

------ Build started: Project: Demo_oSceneLoader, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file '..\obj\Debug\OgreOSMScene.obj'
Build log was saved at "file://R:\ogre3d\oSceneLoader_demo_dagon\obj\Debug\BuildLog.htm"
Demo_oSceneLoader - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


LINK : fatal error LNK1104: cannot open file '..\obj\Debug\OgreOSMScene.obj'
I dont understant this one i have include the tinyxml , ogresdk and the oSceneLoaderLib_ce :idea:

rubenhonders

17-10-2006 19:00:27

Hey about my black screen problem i have try to ad a light and after that i insert an camera here is my log file

-----------------------------------
Details:
-----------------------------------
Error #: 9
Function: MeshSerializerImpl::readGeometryVertexBuffer
Description: Buffer vertex size does not agree with vertex declaration.
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreMeshSerializerImpl.cpp
Line: 591
Stack unwinding: <<beginning of stack>>
18:48:46: ********************************
18:48:46: ** oSceneLoader: Scene loaded **
18:48:46: ********************************
18:48:46: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
18:48:46: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 1024 H: 768
18:48:46: Win32Input8: DirectInput Activation Starts
18:48:46: Win32Input8: Establishing keyboard input.
18:48:46: Win32Input8: Keyboard input established.
18:48:46: Win32Input8: Initializing mouse input in immediate mode.
18:48:46: Win32Input8: Mouse input in immediate mode initialized.
18:48:46: Win32Input8: DirectInput OK.
18:48:59: *-*-* OGRE Shutdown
18:48:59: Unregistering ResourceManager for type Font
18:48:59: Unregistering ResourceManager for type Skeleton
18:48:59: Unregistering ResourceManager for type Mesh
18:48:59: Unregistering ResourceManager for type HighLevelGpuProgram
18:48:59: Unloading library ./plugins\Plugin_CgProgramManager
18:48:59: Unloading library ./plugins\Plugin_OctreeSceneManager
18:48:59: *** Stopping Win32GL Subsystem ***
18:48:59: Unloading library ./plugins\RenderSystem_GL
18:48:59: Render Target 'OGRE Render Window' Average FPS: 85.0432 Best FPS: 87.7368 Worst FPS: 75.1812
18:48:59: D3D9 : Shutting down cleanly.
18:48:59: Unregistering ResourceManager for type Texture
18:48:59: Unregistering ResourceManager for type GpuProgram
18:48:59: D3D9 : Direct3D9 Rendering SubSystem destroyed.
18:48:59: Unloading library ./plugins\RenderSystem_Direct3D9
18:48:59: Unregistering ResourceManager for type Material
18:48:59: Unloading library OgrePlatform.dll



Now with camera
-----------------------------------
Details:
-----------------------------------
Error #: 9
Function: MeshSerializerImpl::readGeometryVertexBuffer
Description: Buffer vertex size does not agree with vertex declaration.
File: \SoftwareDevelopment\C++\OgreSDK\ogrenew_vc71\OgreMain\src\OgreMeshSerializerImpl.cpp
Line: 591
Stack unwinding: <<beginning of stack>>
19:55:24: ********************************
19:55:24: ** oSceneLoader: Scene loaded **
19:55:24: ********************************
19:55:24: Creating viewport on target 'OGRE Render Window', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
19:55:24: Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
19:55:24: Win32Input8: DirectInput Activation Starts
19:55:24: Win32Input8: Establishing keyboard input.
19:55:24: Win32Input8: Keyboard input established.
19:55:24: Win32Input8: Initializing mouse input in immediate mode.
19:55:24: Win32Input8: Mouse input in immediate mode initialized.
19:55:24: Win32Input8: DirectInput OK.
19:55:31: *-*-* OGRE Shutdown
19:55:31: Unregistering ResourceManager for type Font
19:55:31: Unregistering ResourceManager for type Skeleton
19:55:31: Unregistering ResourceManager for type Mesh
19:55:31: Unregistering ResourceManager for type HighLevelGpuProgram
19:55:31: Unloading library ./plugins\Plugin_CgProgramManager
19:55:31: Unloading library ./plugins\Plugin_OctreeSceneManager
19:55:31: *** Stopping Win32GL Subsystem ***
19:55:31: Unloading library ./plugins\RenderSystem_GL
19:55:31: Render Target 'OGRE Render Window' Average FPS: 1703.47 Best FPS: 1817.18 Worst FPS: 999
19:55:31: D3D9 : Shutting down cleanly.
19:55:31: Unregistering ResourceManager for type Texture
19:55:31: Unregistering ResourceManager for type GpuProgram
19:55:31: D3D9 : Direct3D9 Rendering SubSystem destroyed.
19:55:31: Unloading library ./plugins\RenderSystem_Direct3D9
19:55:31: Unregistering ResourceManager for type Material
19:55:31: Unloading library OgrePlatform.dll


I hope this works

Lioric

17-10-2006 19:25:18

You need to upgrade the Ogre engine version used by your viewer, the Azathoth version is not longer supported

We support Dagon (and up) versions only

rubenhonders

18-10-2006 14:16:40

Thanks for your help but now my problem about the oSceneLoader_demo_dagon i get the build error
------ Build started: Project: Demo_oSceneLoader, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file '..\obj\Debug\OgreOSMScene.obj'
Build log was saved at "file://R:\ogre3d\oSceneLoader_demo_dagon\obj\Debug\BuildLog.htm"
Demo_oSceneLoader - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


But i dont understand that i have add the ogresdk , oSceneLoaderLib_ce and the tinyXML that is include in the Demo_oSceneLoader and i have add the code typedef int BOOL; into my OgreOSMScene.h
So i hope you know what i am doing rong .

Lioric

18-10-2006 22:01:36

Are you using VC2005?

It seems that the system cant locate the /obj folder, is this folder remote?

rubenhonders

19-10-2006 14:10:24

Yes i am using visual c++ 2005
It seems that the system cant locate the /obj folder, is this folder remote?
Why should he don't find that folder , if i compile a normal ogre appl i don't get any problems

Lioric

19-10-2006 17:22:11

Because the system cant find the obj file, so this is (in case the file exists) because the folder cant be located or the file is opened for writing by another thread

rubenhonders

19-10-2006 17:38:52

Do you have a solution for me :)

rubenhonders

20-10-2006 14:02:37

Hey , i know finally what i have doing rong , but now i get another problem , if i build in debug mode it runs fine , but if i want to build in releashe mode i get this error:
------ Build started: Project: techdemov2, Configuration: Release Win32 ------
Compiling...
OgreOSMScene.cpp
r:\OgreSDK\oSceneLoaderLib_ce\src\OgreOSMScene.cpp(176) : error C2065: 'FALSE' : undeclared identifier
r:\OgreSDK\oSceneLoaderLib_ce\src\OgreOSMScene.cpp(604) : error C2065: 'TRUE' : undeclared identifier
Build log was saved at "file://R:\ogreSDK\techdemo\obj\Release\BuildLog.htm"
testerrrr - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


If i am correct this is a function of BOOL :wink:

Lioric

20-10-2006 16:09:03

Define TRUE as 1 and FALSE as 0 and it will work

rubenhonders

20-10-2006 18:03:25

Now it works fine :P Thanks man for your good help