Problems (in linux only?)

guru

10-01-2009 14:32:50

Anyone using caelum in linux lately? I seem to get some errors in my Ogre logs. Most of them have something to do with a missing constant "worldViewProj". Also, there is something wrong in the CaelumSample/PSSM/OneLightFP cg.

I'm using ogre svn and latest caleum svn. Maybe this can be resolved before the 0.4 release?

15:27:28: Creating resource group General
15:27:28: Creating resource group Internal
15:27:28: Creating resource group Autodetect
15:27:28: SceneManagerFactory for type 'DefaultSceneManager' registered.
15:27:28: Registering ResourceManager for type Material
15:27:28: Registering ResourceManager for type Mesh
15:27:28: Registering ResourceManager for type Skeleton
15:27:28: MovableObjectFactory for type 'ParticleSystem' registered.
15:27:28: OverlayElementFactory for type Panel registered.
15:27:28: OverlayElementFactory for type BorderPanel registered.
15:27:28: OverlayElementFactory for type TextArea registered.
15:27:28: Registering ResourceManager for type Font
15:27:28: ArchiveFactory for archive type FileSystem registered.
15:27:28: ArchiveFactory for archive type Zip registered.
15:27:28: FreeImage version: 3.11.0
15:27:28: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
15:27:28: 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
15:27:28: DDS codec registering
15:27:28: Registering ResourceManager for type HighLevelGpuProgram
15:27:28: Registering ResourceManager for type Compositor
15:27:28: MovableObjectFactory for type 'Entity' registered.
15:27:28: MovableObjectFactory for type 'Light' registered.
15:27:28: MovableObjectFactory for type 'BillboardSet' registered.
15:27:28: MovableObjectFactory for type 'ManualObject' registered.
15:27:28: MovableObjectFactory for type 'BillboardChain' registered.
15:27:28: MovableObjectFactory for type 'RibbonTrail' registered.
15:27:28: Loading library /usr/lib/OGRE/RenderSystem_GL.so
15:27:28: Installing plugin: GL RenderSystem
15:27:28: OpenGL Rendering Subsystem created.
15:27:28: Plugin successfully installed
15:27:28: Loading library /usr/lib/OGRE/Plugin_CgProgramManager.so
15:27:28: Installing plugin: Cg Program Manager
15:27:28: Plugin successfully installed
15:27:28: Loading library /usr/lib/OGRE/Plugin_OctreeSceneManager.so
15:27:28: Installing plugin: Octree & Terrain Scene Manager
15:27:28: Plugin successfully installed
15:27:28: *-*-* OGRE Initialising
15:27:28: *-*-* Version 1.7.0 (Cthugha)
15:27:28: Installing plugin: Caelum
15:27:28: Registering ResourceManager for type PropertyScript
15:27:28: Plugin successfully installed
15:27:28: Creating resource group Caelum
15:27:28: Added resource location 'samples/resources' of type 'FileSystem' to resource group 'Caelum'
15:27:28: Added resource location 'samples/resources/gui' of type 'FileSystem' to resource group 'Caelum'
15:27:28: Added resource location 'main/resources' of type 'FileSystem' to resource group 'Caelum'
15:27:28: Creating resource group Core
15:27:28: Added resource location '/home/mz/Development/ogre/Samples/Media/packs/OgreCore.zip' of type 'Zip' to resource group 'Core'
15:27:29: CPU Identifier & Features
15:27:29: -------------------------
15:27:29: * CPU ID: GenuineIntel: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
15:27:29: * SSE: yes
15:27:29: * SSE2: yes
15:27:29: * SSE3: yes
15:27:29: * MMX: yes
15:27:29: * MMXEXT: yes
15:27:29: * 3DNOW: no
15:27:29: * 3DNOWEXT: no
15:27:29: * CMOV: yes
15:27:29: * TSC: yes
15:27:29: * FPU: yes
15:27:29: * PRO: yes
15:27:29: * HT: no
15:27:29: -------------------------
15:27:29: ******************************
*** Starting GLX Subsystem ***
******************************
15:27:29: GLRenderSystem::_createRenderWindow "OGRE Render Window", 1680x1050 windowed miscParams: FSAA=2 displayFrequency=51 MHz gamma=No vsync=No
15:27:29: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource GLX_icon.png in resource group General or any other group. in ResourceGroupManager::openResource at OgreResourceGroupManager.cpp (line 754)
15:27:30: GLXWindow::create used FBConfigID = 157
15:27:30: GL_VERSION = 2.1.2 NVIDIA 177.82
15:27:30: GL_VENDOR = NVIDIA Corporation
15:27:30: GL_RENDERER = GeForce 8800 GT/PCI/SSE2
15:27:30: 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_bindable_uniform GL_EXT_depth_bounds_test GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float 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_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc 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_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_texture_shared_exponent 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_buffer_float GL_NV_conditional_render 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_geometry_shader4 GL_NV_gpu_program4 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object 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_transform_feedback 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
15:27:30: Supported GLX extensions: GLX_EXT_visual_info GLX_EXT_visual_rating GLX_SGIX_fbconfig GLX_SGIX_pbuffer GLX_SGI_video_sync GLX_SGI_swap_control GLX_EXT_texture_from_pixmap GLX_ARB_multisample GLX_NV_float_buffer GLX_ARB_fbconfig_float GLX_EXT_framebuffer_sRGB GLX_ARB_get_proc_address
15:27:30: ***************************
15:27:30: *** GL Renderer Started ***
15:27:30: ***************************
15:27:30: Registering ResourceManager for type GpuProgram
15:27:30: GLSL support detected
15:27:30: GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
15:27:30: FBO PF_UNKNOWN depth/stencil support: D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_L8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_A4L4 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_BYTE_LA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_R5G6B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_B5G6R5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_A1R5G5B5 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_A8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_B8G8R8A8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_A2R10G10B10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_A2B10G10R10 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_X8R8G8B8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_X8B8G8R8 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_SHORT_RGBA depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_R3G3B2 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_FLOAT16_R depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_FLOAT32_R depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_FLOAT16_GR depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_FLOAT32_GR depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: FBO PF_SHORT_RGB depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
15:27:30: [GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_A8 PF_A4L4 PF_BYTE_LA PF_R5G6B5 PF_B5G6R5 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_B8G8R8A8 PF_A2R10G10B10 PF_A2B10G10R10 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB
15:27:30: RenderSystem capabilities
15:27:30: -------------------------
15:27:30: RenderSystem Name: OpenGL Rendering Subsystem
15:27:30: GPU Vendor: nvidia
15:27:30: Device Name: GeForce 8800 GT/PCI/SSE2
15:27:30: Driver Version: 2.1.2.0
15:27:30: * Fixed function pipeline: yes
15:27:30: * Hardware generation of mipmaps: yes
15:27:30: * Texture blending: yes
15:27:30: * Anisotropic texture filtering: yes
15:27:30: * Dot product texture operation: yes
15:27:30: * Cube mapping: yes
15:27:30: * Hardware stencil buffer: yes
15:27:30: - Stencil depth: 8
15:27:30: - Two sided stencil support: yes
15:27:30: - Wrap stencil values: yes
15:27:30: * Hardware vertex / index buffers: yes
15:27:30: * Vertex programs: yes
15:27:30: * Fragment programs: yes
15:27:30: * Geometry programs: yes
15:27:30: * Supported Shader Profiles: arbfp1 arbvp1 fp20 fp30 fp40 glsl gp4gp gpu_gp nvgp4 vp30 vp40
15:27:30: * Texture Compression: yes
15:27:30: - DXT: yes
15:27:30: - VTC: yes
15:27:30: * Scissor Rectangle: yes
15:27:30: * Hardware Occlusion Query: yes
15:27:30: * User clip planes: yes
15:27:30: * VET_UBYTE4 vertex element type: yes
15:27:30: * Infinite far plane projection: yes
15:27:30: * Hardware render-to-texture: yes
15:27:30: * Floating point textures: yes
15:27:30: * Non-power-of-two textures: yes
15:27:30: * Volume textures: yes
15:27:30: * Multiple Render Targets: 8
15:27:30: - With different bit depths: yes
15:27:30: * Point Sprites: yes
15:27:30: * Extended point parameters: yes
15:27:30: * Max Point Size: 63.375
15:27:30: * Vertex texture fetch: yes
15:27:30: - Max vertex textures: 32
15:27:30: - Vertex textures shared: yes
15:27:30: * Render to Vertex Buffer : yes
15:27:30: * GL 1.5 without VBO workaround: no
15:27:30: * Frame Buffer objects: yes
15:27:30: * Frame Buffer objects (ARB extension): no
15:27:30: * Frame Buffer objects (ATI extension): no
15:27:30: * PBuffer suppport: no
15:27:30: * GL 1.5 without HW-occlusion workaround: no
15:27:30: Registering ResourceManager for type Texture
15:27:30: Using FSAA from GL_ARB_multisample extension.
15:27:30: ResourceBackgroundQueue - threading disabled
15:27:30: Particle Renderer Type 'billboard' registered
15:27:30: SceneManagerFactory for type 'OctreeSceneManager' registered.
15:27:30: SceneManagerFactory for type 'TerrainSceneManager' registered.
15:27:30: TerrainSceneManager: Registered a new PageSource for type Heightmap
15:27:30: Parsing scripts for resource group Autodetect
15:27:30: Finished parsing scripts for resource group Autodetect
15:27:30: Parsing scripts for resource group Caelum
15:27:30: Parsing script MinimalCompositorVP.program
15:27:30: Parsing script Haze.program
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldViewProj does not exist. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1097)
15:27:30: Compiler error: invalid parameters in Haze.program(30): setting of constant failed
15:27:30: Parsing script GroundFog.program
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldViewProj does not exist. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1097)
15:27:30: Compiler error: invalid parameters in GroundFog.program(30): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldViewProj does not exist. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1097)
15:27:30: Compiler error: invalid parameters in GroundFog.program(63): setting of constant failed
15:27:30: Parsing script CaelumSample.material
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldviewproj_matrix does not exist. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1097)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(74): setting of constant failed
15:27:30: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program CaelumSample/PSSM/OneLightVP: CG ERROR : The compile returned an error.
(171) : error C1019: scalar Boolean expression expected
(171) : error C1019: scalar Boolean expression expected
in CgProgram::loadFromSource at OgreCgProgramManagerDll.cpp (line 66)
15:27:30: High-level program CaelumSample/PSSM/OneLightVP encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program CaelumSample/PSSM/OneLightVP: CG ERROR : The compile returned an error.
(171) : error C1019: scalar Boolean expression expected
(171) : error C1019: scalar Boolean expression expected
in CgProgram::loadFromSource at OgreCgProgramManagerDll.cpp (line 66)
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(161): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(162): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(164): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(165): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(166): setting of constant failed
15:27:30: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program CaelumSample/PSSM/OneLightFP: CG ERROR : The compile returned an error.
(171) : error C1019: scalar Boolean expression expected
(171) : error C1019: scalar Boolean expression expected
in CgProgram::loadFromSource at OgreCgProgramManagerDll.cpp (line 66)
15:27:30: High-level program CaelumSample/PSSM/OneLightFP encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program CaelumSample/PSSM/OneLightFP: CG ERROR : The compile returned an error.
(171) : error C1019: scalar Boolean expression expected
(171) : error C1019: scalar Boolean expression expected
in CgProgram::loadFromSource at OgreCgProgramManagerDll.cpp (line 66)
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(179): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(180): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(181): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(183): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(184): setting of constant failed
15:27:30: OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program CaelumSample/PSSM/OneLightFP/Terrain: CG ERROR : The compile returned an error.
(171) : error C1019: scalar Boolean expression expected
(171) : error C1019: scalar Boolean expression expected
in CgProgram::loadFromSource at OgreCgProgramManagerDll.cpp (line 66)
15:27:30: High-level program CaelumSample/PSSM/OneLightFP/Terrain encountered an error during loading and is thus not supported.
OGRE EXCEPTION(7:InternalErrorException): Unable to compile Cg program CaelumSample/PSSM/OneLightFP/Terrain: CG ERROR : The compile returned an error.
(171) : error C1019: scalar Boolean expression expected
(171) : error C1019: scalar Boolean expression expected
in CgProgram::loadFromSource at OgreCgProgramManagerDll.cpp (line 66)
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(197): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(198): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(199): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(201): setting of constant failed
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Named constants have not been initialised, perhaps a compile error. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1087)
15:27:30: Compiler error: invalid parameters in CaelumSample.material(202): setting of constant failed
15:27:30: Parsing script SkyDome.material
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldViewProj does not exist. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1097)
15:27:30: Compiler error: invalid parameters in SkyDome.material(58): setting of constant failed
15:27:30: Parsing script GroundFog.material
15:27:30: Parsing script Precipitation.material
15:27:30: Parsing script LayeredClouds.material
15:27:30: OGRE EXCEPTION(2:InvalidParametersException): Parameter called worldViewProj does not exist. in GpuProgramParameters::_findNamedConstantDefinition at OgreGpuProgram.cpp (line 1097)
15:27:30: Compiler error: invalid parameters in LayeredClouds.material(30): setting of constant failed
15:27:30: Parsing script moon.material
15:27:30: Parsing script DepthComposer.material
15:27:30: Parsing script Sun.material
15:27:30: Parsing script Starfield.material
15:27:30: Parsing script PointStarfield.material
15:27:30: Parsing script DepthComposer.compositor
15:27:30: Parsing script Precipitation.compositor
15:27:30: Parsing script TestSkyScript.os
15:27:30: Finished parsing scripts for resource group Caelum
15:27:30: Parsing scripts for resource group Core
15:27:30: Parsing script OgreCore.material
15:27:30: Parsing script OgreProfiler.material
15:27:30: Parsing script Ogre.fontdef
15:27:30: Parsing script OgreDebugPanel.overlay
15:27:30: Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
15:27:30: Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
15:27:30: Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
15:27:30: Font BlueHighwayusing texture size 512x512
15:27:30: Info: Freetype returned null for character 127 in font BlueHighway
15:27:30: Info: Freetype returned null for character 128 in font BlueHighway
15:27:30: Info: Freetype returned null for character 129 in font BlueHighway
15:27:30: Info: Freetype returned null for character 130 in font BlueHighway
15:27:30: Info: Freetype returned null for character 131 in font BlueHighway
15:27:30: Info: Freetype returned null for character 132 in font BlueHighway
15:27:30: Info: Freetype returned null for character 133 in font BlueHighway
15:27:30: Info: Freetype returned null for character 134 in font BlueHighway
15:27:30: Info: Freetype returned null for character 135 in font BlueHighway
15:27:30: Info: Freetype returned null for character 136 in font BlueHighway
15:27:30: Info: Freetype returned null for character 137 in font BlueHighway
15:27:30: Info: Freetype returned null for character 138 in font BlueHighway
15:27:30: Info: Freetype returned null for character 139 in font BlueHighway
15:27:30: Info: Freetype returned null for character 140 in font BlueHighway
15:27:30: Info: Freetype returned null for character 141 in font BlueHighway
15:27:30: Info: Freetype returned null for character 142 in font BlueHighway
15:27:30: Info: Freetype returned null for character 143 in font BlueHighway
15:27:30: Info: Freetype returned null for character 144 in font BlueHighway
15:27:30: Info: Freetype returned null for character 145 in font BlueHighway
15:27:30: Info: Freetype returned null for character 146 in font BlueHighway
15:27:30: Info: Freetype returned null for character 147 in font BlueHighway
15:27:30: Info: Freetype returned null for character 148 in font BlueHighway
15:27:30: Info: Freetype returned null for character 149 in font BlueHighway
15:27:30: Info: Freetype returned null for character 150 in font BlueHighway
15:27:30: Info: Freetype returned null for character 151 in font BlueHighway
15:27:30: Info: Freetype returned null for character 152 in font BlueHighway
15:27:30: Info: Freetype returned null for character 153 in font BlueHighway
15:27:30: Info: Freetype returned null for character 154 in font BlueHighway
15:27:30: Info: Freetype returned null for character 155 in font BlueHighway
15:27:30: Info: Freetype returned null for character 156 in font BlueHighway
15:27:30: Info: Freetype returned null for character 157 in font BlueHighway
15:27:30: Info: Freetype returned null for character 158 in font BlueHighway
15:27:30: Info: Freetype returned null for character 159 in font BlueHighway
15:27:30: Info: Freetype returned null for character 160 in font BlueHighway
15:27:30: Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
15:27:30: Texture: ogretext.png: Loading 1 faces(PF_A8R8G8B8,256x128x1) with 5 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
15:27:30: Parsing script OgreLoadingPanel.overlay
15:27:30: Finished parsing scripts for resource group Core
15:27:30: Parsing scripts for resource group General
15:27:30: Finished parsing scripts for resource group General
15:27:30: Parsing scripts for resource group Internal
15:27:30: Finished parsing scripts for resource group Internal
15:27:30: TerrainSceneManager: Activated PageSource Heightmap
15:27:30: Texture: terrain_dirt-grass.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
15:27:30: Texture: terrain_detail.jpg: Loading 1 faces(PF_R8G8B8,256x256x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
15:27:30: Mesh: Loading TudorHouse.mesh.
15:27:30: WARNING: TudorHouse.mesh is an older format ([MeshSerializer_v1.40]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
15:27:30: Texture: TudorHouse.jpg: Loading 1 faces(PF_R8G8B8,1024x1024x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,1024x1024x1.
15:27:30: *** Initializing OIS ***
15:27:31: Texture: TaharezLook.tga: Loading 1 faces(PF_A8R8G8B8,256x256x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
15:27:31: Texture: _cegui_ogre_0: Loading 1 faces(PF_A8R8G8B8,128x128x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x128x1.
15:27:31: Texture: _cegui_ogre_1: Loading 1 faces(PF_A8R8G8B8,32x32x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
15:27:31: Caelum: Initialising Caelum system...
15:27:31: Texture: EarthClearSky2.png: Loading 1 faces(PF_A8R8G8B8,64x64x1) with 0 generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x64x1.
15:27:31: Texture: AtmosphereDepth.png: Loading 1 faces(PF_R8G8B8,32x1x1) with 5 generated mipmaps from Image. Internal format is PF_X8R8G8B8,32x1x1.
15:27:31: Caelum: Creating CaelumSphericDome sphere mesh resource...
15:27:31: Caelum: generateSphericDome DONE
15:27:31: Mesh: Loading sphere.mesh.
15:27:31: WARNING: sphere.mesh is an older format ([MeshSerializer_v1.40]); you should upgrade it as soon as possible using the OgreMeshUpgrade tool.
15:27:31: Texture: moon_disc.dds: Loading 1 faces(PF_DXT3,512x512x1) with 5 hardware generated mipmaps from Image. Internal format is PF_DXT3,512x512x1.
15:27:31: CaelumSystem: Attached to viewport 139881996474072 render target OGRE Render Window
15:27:31: Texture: noise1.dds: Loading 1 faces(PF_DXT1,256x256x1) with 8 custom mipmaps from Image. Internal format is PF_DXT1,256x256x1.
15:27:31: Texture: noise2.dds: Loading 1 faces(PF_DXT1,256x256x1) with 8 custom mipmaps from Image. Internal format is PF_DXT1,256x256x1.
15:27:31: Texture: noise4.dds: Loading 1 faces(PF_DXT1,256x256x1) with 8 custom mipmaps from Image. Internal format is PF_DXT1,256x256x1.
15:27:31: Caelum: Delete UniversalClock
15:27:31: Caelum: CaelumSystem destroyed.
15:27:31: *-*-* OGRE Shutdown
15:27:31: Unregistering ResourceManager for type Compositor
15:27:31: Unregistering ResourceManager for type Font
15:27:31: Unregistering ResourceManager for type Skeleton
15:27:31: Unregistering ResourceManager for type Mesh
15:27:31: Unregistering ResourceManager for type HighLevelGpuProgram
15:27:31: Uninstalling plugin: Octree & Terrain Scene Manager
15:27:31: Plugin successfully uninstalled
15:27:31: Unloading library /usr/lib/OGRE/Plugin_OctreeSceneManager.so
15:27:31: Uninstalling plugin: Cg Program Manager
15:27:31: Plugin successfully uninstalled
15:27:31: Unloading library /usr/lib/OGRE/Plugin_CgProgramManager.so
15:27:31: Uninstalling plugin: GL RenderSystem
15:27:31: Unregistering ResourceManager for type GpuProgram
15:27:31: ******************************
*** Stopping GLX Subsystem ***
******************************
15:27:31: Unregistering ResourceManager for type Texture
15:27:31: Plugin successfully uninstalled
15:27:31: Unloading library /usr/lib/OGRE/RenderSystem_GL.so
15:27:31: Unregistering ResourceManager for type PropertyScript
15:27:31: Unregistering ResourceManager for type Material

cdleonard

11-01-2009 12:52:30

The worldViewProj "errors" are due to an OpenGL-only Cg compiler optimization. They're harmless and unavoidable.

The PSSM issue is an actual compiler error. There have been various issues reported in the ogre formus with some very buggy versions of Cg (like 1.5). I couldn't find the cg version in log. You can see the version with "cgc -v". Here it reports 2.0.0015.

As for linux support: don't worry. I actually do most development on linux and only sometimes check that it compiles and runs in windows.

guru

12-01-2009 10:31:42

Thanks for the reply. Its great to you you are developing on linux, too. :D

About the PSSM issue (which isn't even a Caleum-think anyway). I have "cgc version 2.1.0012", so I'm not sure what the problem is. I'll investigate some more and keep you updated if I find anything.

cdleonard

19-04-2009 23:21:37

Very late update: I've recently tracked down that compiler error and fixed it in trunk. It wass a perfectly legitimate error; apparently older versions of CG had a bug and didn't complain on a comparision between a float3 and a constant.

guru

20-04-2009 11:27:55

Better late than never :) And thanks for the update!