Iris2.de
http://iris2.de/forum/

Ogre Collect Reslocs
http://iris2.de/forum/viewtopic.php?f=18&t=1255
Page 1 of 1

Author:  Bääääär [ Sun Sep 21, 2008 1:26 pm ]
Post subject:  Ogre Collect Reslocs

Hi!

I wrote this here, but since nobody answered, I'll try again here.
Quote:
Hi. I'm using 32bit linux system, nvidia geforce 6600, 2GHz, Iris2 built 2365. I compiled Iris2 with only a few warnings:
Code:
/home/xxx/.iris/lugre/src/lugre_sound_openal2.cpp:914: warning: ‘Lugre::SingleBufferSource’ has a field ‘Lugre::SingleBufferSource::buffer’ whose type uses the anonymous namespace
/home/xxx/.iris/lugre/src/lugre_sound_openal2.cpp:931: warning: ‘Lugre::StreamSource’ has a field ‘Lugre::StreamSource::buffers’ whose type uses the anonymous namespace
/home/xxx/.iris/lugre/src/lugre_sound_openal2.cpp:931: warning: ‘Lugre::StreamSource’ has a field ‘Lugre::StreamSource::stream’ whose type uses the anonymous namespace
/home/xxx/.iris/lugre/src/lugre_sound_openal2.cpp:956: warning: ‘Lugre::OpenALSoundSystem’ has a field ‘Lugre::OpenALSoundSystem::shared_buffers’ whose type uses the anonymous namespace
/home/xxx/.iris/lugre/src/lugre_sound_openal2.cpp:956: warning: ‘Lugre::OpenALSoundSystem’ has a field ‘Lugre::OpenALSoundSystem::unused_buffers’ whose type uses the anonymous namespace

After starting an choosing the grafic settings I get the following error:
Code:
LuaStackTrace:

        [C]: in function `OgreInitResLocs'
        ../lua/main.lua:224: in function `CollectOgreResLocs'
        ../lua/main.lua:298: in function <../lua/main.lua:276>
ERROR : SegFault Detected



Here is the content of my ogre-logfile:
Code:
1   18:49:14: Creating resource group General
2   18:49:14: Creating resource group Internal
3   18:49:14: Creating resource group Autodetect
4   18:49:14: SceneManagerFactory for type 'DefaultSceneManager' registered.
5   18:49:14: Registering ResourceManager for type Material
6   18:49:14: Registering ResourceManager for type Mesh
7   18:49:14: Registering ResourceManager for type Skeleton
8   18:49:14: MovableObjectFactory for type 'ParticleSystem' registered.
9   18:49:14: OverlayElementFactory for type Panel registered.
10   18:49:14: OverlayElementFactory for type BorderPanel registered.
11   18:49:14: OverlayElementFactory for type TextArea registered.
12   18:49:14: Registering ResourceManager for type Font
13   18:49:14: ArchiveFactory for archive type FileSystem registered.
14   18:49:14: ArchiveFactory for archive type Zip registered.
15   18:49:14: FreeImage version: 3.10.0
16   18:49:14: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
17   18:49:14: 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
18   18:49:14: DDS codec registering
19   18:49:14: Registering ResourceManager for type HighLevelGpuProgram
20   18:49:14: Registering ResourceManager for type Compositor
21   18:49:14: MovableObjectFactory for type 'Entity' registered.
22   18:49:14: MovableObjectFactory for type 'Light' registered.
23   18:49:14: MovableObjectFactory for type 'BillboardSet' registered.
24   18:49:14: MovableObjectFactory for type 'ManualObject' registered.
25   18:49:14: MovableObjectFactory for type 'BillboardChain' registered.
26   18:49:14: MovableObjectFactory for type 'RibbonTrail' registered.
27   18:49:14: *-*-* OGRE Initialising
28   18:49:14: *-*-* Version 1.4.8 (Eihort)
29   18:49:14: Loading library /usr/local/lib/OGRE/RenderSystem_GL.so
30   18:49:14: Installing plugin: GL RenderSystem
31   18:49:14: OpenGL Rendering Subsystem created.
32   18:49:14: Plugin successfully installed
33   18:49:14: Loading library /usr/local/lib/OGRE/Plugin_ParticleFX.so
34   18:49:14: Installing plugin: ParticleFX
35   18:49:14: Particle Emitter Type 'Point' registered
36   18:49:14: Particle Emitter Type 'Box' registered
37   18:49:14: Particle Emitter Type 'Ellipsoid' registered
38   18:49:14: Particle Emitter Type 'Cylinder' registered
39   18:49:14: Particle Emitter Type 'Ring' registered
40   18:49:14: Particle Emitter Type 'HollowEllipsoid' registered
41   18:49:14: Particle Affector Type 'LinearForce' registered
42   18:49:14: Particle Affector Type 'ColourFader' registered
43   18:49:14: Particle Affector Type 'ColourFader2' registered
44   18:49:14: Particle Affector Type 'ColourImage' registered
45   18:49:14: Particle Affector Type 'ColourInterpolator' registered
46   18:49:14: Particle Affector Type 'Scaler' registered
47   18:49:14: Particle Affector Type 'Rotator' registered
48   18:49:14: Particle Affector Type 'DirectionRandomiser' registered
49   18:49:14: Particle Affector Type 'DeflectorPlane' registered
50   18:49:14: Plugin successfully installed
51   18:49:14: Loading library /usr/local/lib/OGRE/Plugin_BSPSceneManager.so
52   18:49:14: Installing plugin: BSP Scene Manager
53   18:49:14: Plugin successfully installed
54   18:49:14: Loading library /usr/local/lib/OGRE/Plugin_OctreeSceneManager.so
55   18:49:14: Installing plugin: Octree & Terrain Scene Manager
56   18:49:14: Plugin successfully installed
57   18:49:14: Loading library /usr/local/lib/OGRE/Plugin_CgProgramManager.so
58   18:49:14: Installing plugin: Cg Program Manager
59   18:49:14: Plugin successfully installed
60   18:49:14: CPU Identifier & Features
61   18:49:14: -------------------------
62   18:49:14:  *   CPU ID: GenuineIntel: Intel(R) Pentium(R) M processor 2.00GHz
63   18:49:14:  *      SSE: yes
64   18:49:14:  *     SSE2: yes
65   18:49:14:  *     SSE3: no
66   18:49:14:  *      MMX: yes
67   18:49:14:  *   MMXEXT: yes
68   18:49:14:  *    3DNOW: no
69   18:49:14:  * 3DNOWEXT: no
70   18:49:14:  *     CMOV: yes
71   18:49:14:  *      TSC: yes
72   18:49:14:  *      FPU: yes
73   18:49:14:  *      PRO: no
74   18:49:14:  *       HT: no
75   18:49:14: -------------------------
76   18:49:14: ******************************
77   *** Starting GLX Subsystem ***
78   ******************************
79   18:49:14: GLRenderSystem::createRenderWindow "Iris2", 800x600 windowed  miscParams: FSAA=0 title=Iris2
80   18:49:14: GLXWindow::create
81   18:49:14: Parsing miscParams
82   18:49:14: GLXWindow::create -- Best visual is 36
83   18:49:14: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at OgreCodec.cpp (line 62)
84   18:49:14: GL_VERSION = 2.1.2 NVIDIA 173.14.09
85   18:49:14: GL_VENDOR = NVIDIA Corporation
86   18:49:14: GL_RENDERER = GeForce Go 6600/PCI/SSE2
87   18:49:14: GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
88   18:49:14: ***************************
89   18:49:14: *** GL Renderer Started ***
90   18:49:14: ***************************
91   18:49:14: Registering ResourceManager for type GpuProgram
92   18:49:14: GLSL support detected
93   18:49:14: GL: Using PBuffers for rendering to textures
94   18:49:14: RenderSystem capabilities
95   18:49:14: -------------------------
96   18:49:14:  * Hardware generation of mipmaps: yes
97   18:49:14:  * Texture blending: yes
98   18:49:14:  * Anisotropic texture filtering: yes
99   18:49:14:  * Dot product texture operation: yes
100   18:49:14:  * Cube mapping: yes
101   18:49:14:  * Hardware stencil buffer: yes
102   18:49:14:    - Stencil depth: 8
103   18:49:14:    - Two sided stencil support: yes
104   18:49:14:    - Wrap stencil values: yes
105   18:49:14:  * Hardware vertex / index buffers: yes
106   18:49:14:  * Vertex programs: yes
107   18:49:14:    - Max vertex program version: vp40
108   18:49:14:  * Fragment programs: yes
109   18:49:14:    - Max fragment program version: fp40
110   18:49:14:  * Texture Compression: yes
111   18:49:14:    - DXT: yes
112   18:49:14:    - VTC: yes
113   18:49:14:  * Scissor Rectangle: yes
114   18:49:14:  * Hardware Occlusion Query: yes
115   18:49:14:  * User clip planes: yes
116   18:49:14:  * VET_UBYTE4 vertex element type: yes
117   18:49:14:  * Infinite far plane projection: yes
118   18:49:14:  * Hardware render-to-texture: yes
119   18:49:14:  * Floating point textures: yes
120   18:49:14:  * Non-power-of-two textures: yes
121   18:49:14:  * Volume textures: yes
122   18:49:14:  * Multiple Render Targets: 1
123   18:49:14:  * Point Sprites: yes
124   18:49:14:  * Extended point parameters: yes
125   18:49:14:  * Max Point Size: 63.375
126   18:49:14:  * Vertex texture fetch: yes
127   18:49:14:    - Max vertex textures: 4
128   18:49:14:    - Vertex textures shared: yes
129   18:49:14: Registering ResourceManager for type Texture
130   18:49:14: ResourceBackgroundQueue - threading disabled
131   18:49:14: Particle Renderer Type 'billboard' registered
132   18:49:14: SceneManagerFactory for type 'BspSceneManager' registered.
133   18:49:14: Registering ResourceManager for type BspLevel
134   18:49:14: SceneManagerFactory for type 'OctreeSceneManager' registered.
135   18:49:14: SceneManagerFactory for type 'TerrainSceneManager' registered.
136   18:49:14: Creating viewport on target 'Iris2', rendering from camera 'PlayerCam', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
137   18:49:14: OverlayElementFactory for type Compass registered.
138   18:49:14: OverlayElementFactory for type RobRenderableOverlay registered.
139   18:49:14: OverlayElementFactory for type ColourClipPane registered.
140   18:49:14: OverlayElementFactory for type ColourClipText registered.
141   18:49:14: OverlayElementFactory for type BorderColourClipPane registered.
142   18:49:14: OverlayElementFactory for type SortedOverlayContainer registered.
143   18:49:14: Creating resource group Bootstrap
144   18:49:14: Added resource location '../data/base/OgreCore.zip' of type 'Zip' to resource group 'Bootstrap'
145   18:49:14: Added resource location '../data/.' of type 'FileSystem' to resource group 'General'
146   18:49:14: Added resource location '../data/base' of type 'FileSystem' to resource group 'General'
147   18:49:14: Added resource location '../data/tmp' of type 'FileSystem' to resource group 'General'
148   18:49:14: Added resource location '../data/base/ui' of type 'FileSystem' to resource group 'General'
149   18:49:14: Added resource location '../data/base/font' of type 'FileSystem' to resource group 'General'
150   18:49:14: Added resource location '../data/skybox/materials' of type 'FileSystem' to resource group 'General'
151   18:49:14: Added resource location '../data/skybox/programs' of type 'FileSystem' to resource group 'General'
152   18:49:14: Added resource location '../data/skybox/textures' of type 'FileSystem' to resource group 'General'
153   18:49:14: Added resource location '../data/particles/materials' of type 'FileSystem' to resource group 'General'
154   18:49:14: Added resource location '../data/particles/particles' of type 'FileSystem' to resource group 'General'
155   18:49:14: Added resource location '../data/particles/textures' of type 'FileSystem' to resource group 'General'
156   18:49:14: Added resource location '../data/compositors' of type 'FileSystem' to resource group 'General'
157   18:49:14: Added resource location '../data/custom/materials' of type 'FileSystem' to resource group 'General'
158   18:49:14: Added resource location '../data/models/materials' of type 'FileSystem' to resource group 'General'
159   18:49:14: Added resource location '../data/models/meta' of type 'FileSystem' to resource group 'General'
160   18:49:14: Added resource location '../data/models/models/to_001000' of type 'FileSystem' to resource group 'General'
161   18:49:14: Added resource location '../data/models/models/to_002000' of type 'FileSystem' to resource group 'General'
162   18:49:14: Added resource location '../data/models/models/to_003000' of type 'FileSystem' to resource group 'General'
163   18:49:14: Added resource location '../data/models/models/to_004000' of type 'FileSystem' to resource group 'General'
164   18:49:14: Added resource location '../data/models/models/to_005000' of type 'FileSystem' to resource group 'General'
165   18:49:14: Added resource location '../data/models/models/to_006000' of type 'FileSystem' to resource group 'General'
166   18:49:14: Added resource location '../data/models/models/to_007000' of type 'FileSystem' to resource group 'General'
167   18:49:14: Added resource location '../data/models/models/to_008000' of type 'FileSystem' to resource group 'General'
168   18:49:14: Added resource location '../data/models/models/to_009000' of type 'FileSystem' to resource group 'General'
169   18:49:14: Added resource location '../data/models/models/to_010000' of type 'FileSystem' to resource group 'General'
170   18:49:14: Added resource location '../data/models/models/to_011000' of type 'FileSystem' to resource group 'General'
171   18:49:14: Added resource location '../data/models/models/to_012000' of type 'FileSystem' to resource group 'General'
172   18:49:14: Added resource location '../data/models/models/to_013000' of type 'FileSystem' to resource group 'General'
173   18:49:14: Added resource location '../data/models/models/to_014000' of type 'FileSystem' to resource group 'General'
174   18:49:14: Added resource location '../data/models/models/to_015000' of type 'FileSystem' to resource group 'General'
175   18:49:14: Added resource location '../data/models/models/to_016000' of type 'FileSystem' to resource group 'General'
176   18:49:14: Added resource location '../data/models/models/to_017000' of type 'FileSystem' to resource group 'General'
177   18:49:14: Added resource location '../data/models/models/to_018000' of type 'FileSystem' to resource group 'General'
178   18:49:14: Added resource location '../data/models/models/to_019000' of type 'FileSystem' to resource group 'General'
179   18:49:14: Added resource location '../data/models/models/to_020000' of type 'FileSystem' to resource group 'General'
180   18:49:14: Added resource location '../data/models/textures/' of type 'FileSystem' to resource group 'General'
181   18:49:14: Added resource location '../data/models/atlas' of type 'FileSystem' to resource group 'General'
182   18:49:14: Added resource location '../data/custom/models' of type 'FileSystem' to resource group 'General'
183   18:49:14: Added resource location '../data/custom/textures' of type 'FileSystem' to resource group 'General'
184   18:49:14: Added resource location '../data/terrain/materials' of type 'FileSystem' to resource group 'General'
185   18:49:14: Added resource location '../data/terrain/textures' of type 'FileSystem' to resource group 'General'
186   18:49:14: Added resource location '../data/terrain/multitex' of type 'FileSystem' to resource group 'General'
187   18:49:14: Added resource location '../data/terrain/multitex/parts' of type 'FileSystem' to resource group 'General'
188   18:49:14: Added resource location '../data/grannys/materials' of type 'FileSystem' to resource group 'General'
189   18:49:14: Added resource location '../data/grannys/programs' of type 'FileSystem' to resource group 'General'
190   18:49:14: Added resource location '../data/customchars/materials' of type 'FileSystem' to resource group 'General'
191   18:49:14: Added resource location '../data/customchars/models' of type 'FileSystem' to resource group 'General'
192   18:49:14: Added resource location '../data/customchars/textures' of type 'FileSystem' to resource group 'General'
193   18:49:14: Added resource location '/home/user/.UO/Ultima Online Pergon/Models/Maps' of type 'FileSystem' to resource group 'General'
194   18:49:14: Creating resource group Caelum
195   18:49:14: Added resource location '../lugre/lib/caelum/resources' of type 'FileSystem' to resource group 'Caelum'
196   18:49:14: Parsing scripts for resource group Autodetect
197   18:49:14: Finished parsing scripts for resource group Autodetect
198   18:49:14: Parsing scripts for resource group Bootstrap
199   18:49:14: Parsing script OgreCore.material
200   18:49:14: Parsing script OgreProfiler.material
201   18:49:14: Parsing script Ogre.fontdef
202   18:49:14: Parsing script OgreDebugPanel.overlay
203   18:49:14: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at OgreCodec.cpp (line 62)
204   18:49:14: Error loading texture New_Ogre_Border_Center.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at OgreCodec.cpp (line 62)
205   18:49:14: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at OgreCodec.cpp (line 62)
206   18:49:14: Error loading texture New_Ogre_Border.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at OgreCodec.cpp (line 62)
207   18:49:14: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at OgreCodec.cpp (line 62)
208   18:49:14: Error loading texture New_Ogre_Border_Break.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at OgreCodec.cpp (line 62)
209   18:49:14: Font TrebuchetMSBoldusing texture size 512x256
210   18:49:14: Info: Freetype returned null for character 160 in font TrebuchetMSBold
211   18:49:14: Texture: TrebuchetMSBoldTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with  hardware generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
212   18:49:14: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at OgreCodec.cpp (line 62)
213   18:49:14: Error loading texture ogretext.png. Texture layer will be blank. Loading the texture failed with the following exception: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at OgreCodec.cpp (line 62)
214   18:49:14: Parsing script OgreLoadingPanel.overlay
215   18:49:14: Finished parsing scripts for resource group Bootstrap
216   18:49:14: Parsing scripts for resource group Caelum
217   18:49:14: Parsing script Haze.program
218   18:49:14: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldViewProj does not exist.  in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 883)
219   18:49:14: Error at line 33 of Haze.program: Invalid param_named_auto attribute - Parameter called worldViewProj does not exist.
220   18:49:14: Parsing script GroundFog.program
221   18:49:14: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldViewProj does not exist.  in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 883)
222   18:49:14: Error at line 33 of GroundFog.program: Invalid param_named_auto attribute - Parameter called worldViewProj does not exist.
223   18:49:15: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldViewProj does not exist.  in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 883)
224   18:49:15: Error at line 65 of GroundFog.program: Invalid param_named_auto attribute - Parameter called worldViewProj does not exist.
225   18:49:15: Parsing script LayeredClouds.material
226   18:49:15: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldViewProj does not exist.  in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 883)
227   18:49:15: Error at line 33 of LayeredClouds.material: Invalid param_named_auto attribute - Parameter called worldViewProj does not exist.
228   18:49:15: Parsing script SkyDome.material
229   18:49:15: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldViewProj does not exist.  in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 883)
230   18:49:15: Error at line 61 of SkyDome.material: Invalid param_named_auto attribute - Parameter called worldViewProj does not exist.
231   18:49:15: Parsing script GroundFog.material
232   18:49:15: Parsing script PointStarfield.material
233   18:49:15: Parsing script Sun.material
234   18:49:15: Parsing script Precipitation.material
235   18:49:15: Parsing script Starfield.material
236   18:49:15: Parsing script moon.material
237   18:49:15: Parsing script Precipitation.compositor


Seems like ogre can't find sth. Maybe someone can help me.

Thanks,
Bääääär

Author:  hagish [ Sun Sep 21, 2008 4:47 pm ]
Post subject: 

Your ogre/freeimage seems to be broken:

18:49:14: OGRE EXCEPTION(5:ItemIdentityException): Cannot find codec for extension png in Codec::getCodec at OgreCodec.cpp (line 62)

its not capable of loading png files. Does the ogre samples work?

Author:  Bääääär [ Tue Sep 23, 2008 7:30 pm ]
Post subject: 

Ok, I installed a package called "ogre-demos" and found them in the directory /usr/share/ogre/Samples but there are no executables... So I installed Ogre Quick-GUI-Demo, which runs without any error, but with a quite bad performance (seems to be less than 1fps). But I'm not sure whether it uses png files.

Well, even reinstalling the ogre-packages and freeimage in YaST2 didn't solve the problem.

Author:  ghoulsblade [ Tue Sep 23, 2008 9:15 pm ]
Post subject: 

what linux distro are you using ? SUSE ?
it appears to be a problem with the ogre installation package for your distro, or with the freeimage install.

is there maybe a libpng or something like freeimage-png in your packetlist ? if so please install.

from your ogre log :
Code:
16   18:49:14: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
17   18:49:14: 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


png is listed, but doesn't seem to work somehow, very strange. it'd be interesting to see if other projects using ogre have the problem as well.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/