I'ved successfully compiled OGRE as explained in the Wiki and went smoothly throughout Basic Tut 1 but while in Basic Tut 2... I get to compile the code correctly but when I run the generated aplication I get a pretty disturbing segmentation fault... any help/ideas of why it might be?
the compiling directives:
g++ -o test SampleApp.cpp -DGCC_3_1 -DEXT_HASH -I/usr/local/include/OGRE -I/home/batalion/ogrenew/Samples/Common/include -L/usr/local/lib/OGRE -lOgreMain
I realize it seems to have probles parsing certain scripts...though ...not sure why...
(terribly sorry for the log post

...marked errors in red text)
******************************
*** Starting GLX Subsystem ***
******************************
GLRenderSystem::createRenderWindow "OGRE Render Window", 800x600 windowed miscParams: FSAA=0 title=OGRE Render Window
GLXWindow::create
Parsing miscParams
GLXWindow::create -- Best visual is 35
GL_VERSION = 2.0.2 NVIDIA 87.56
GL_VENDOR = NVIDIA Corporation
GL_RENDERER = GeForce Go 6600/PCI/SSE2
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_object 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_HP_occlusion_test 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_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
***************************
*** GL Renderer Started ***
***************************
Registering ResourceManager for type GpuProgram
GLSL support detected
GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
FBO PF_UNKNOWN depth/stencil support: D16S0 D24S0 D32S0
FBO PF_R5G6B5 depth/stencil support: D0S0 D16S0
FBO PF_B5G6R5 depth/stencil support: D0S0 D16S0
FBO PF_R8G8B8 depth/stencil support: D0S0 D24S0 D32S0
FBO PF_B8G8R8 depth/stencil support: D0S0 D24S0 D32S0
FBO PF_A8R8G8B8 depth/stencil support: D0S0 D24S0 D32S0 D24S8
FBO PF_B8G8R8A8 depth/stencil support: D0S0 D24S0 D32S0 D24S8
FBO PF_A2R10G10B10 depth/stencil support: D0S0 D24S0 D32S0 D24S8
FBO PF_A2B10G10R10 depth/stencil support: D0S0 D24S0 D32S0 D24S8
FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D24S0 D32S0
FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D24S0 D32S0
FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D24S0 D32S0
FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D24S0 D32S0
FBO PF_X8R8G8B8 depth/stencil support: D0S0 D24S0 D32S0 D24S8
FBO PF_X8B8G8R8 depth/stencil support: D0S0 D24S0 D32S0 D24S8
FBO PF_SHORT_RGBA depth/stencil support: D0S0 D24S0 D32S0
FBO PF_R3G3B2 depth/stencil support: D0S0 D16S0
[GL] : Valid FBO targets PF_UNKNOWN PF_R5G6B5 PF_B5G6R5 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
RenderSystem capabilities
-------------------------
* Hardware generation of mipmaps: yes
* Texture blending: yes
* Anisotropic texture filtering: yes
* Dot product texture operation: yes
* Cube mapping: yes
* Hardware stencil buffer: yes
- Stencil depth: 8
- Two sided stencil support: yes
- Wrap stencil values: yes
* Hardware vertex / index buffers: yes
* Vertex programs: yes
- Max vertex program version: vp40
* Fragment programs: yes
- Max fragment program version: fp40
* Texture Compression: yes
- DXT: yes
- VTC: yes
* Scissor Rectangle: yes
* Hardware Occlusion Query: yes
* User clip planes: yes
* VET_UBYTE4 vertex element type: yes
* Infinite far plane projection: yes
* Hardware render-to-texture: yes
* Floating point textures: yes
* Non-power-of-two textures: yes
* Volume textures: yes
* Multiple Render Targets: 4
* Point Sprites: yes
* Extended point parameters: yes
* Max Point Size: 63.375
Registering ResourceManager for type Texture
ResourceBackgroundQueue - threading disabled
Particle Renderer Type 'billboard' registered
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
Viewport for camera 'PlayerCam', actual dimensions L: 0 T: 0 W: 800 H: 600
Parsing scripts for resource group Autodetect
Finished parsing scripts for resource group Autodetect
Parsing scripts for resource group Bootstrap
Parsing script OgreCore.material
Parsing script OgreProfiler.material
Parsing script Ogre.fontdef
Parsing script OgreDebugPanel.overlay
Texture: New_Ogre_Border_Center.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with 8 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
Texture: New_Ogre_Border.png: Loading 1 faces(PF_A8B8G8R8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
Texture: New_Ogre_Border_Break.png: Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
Font BlueHighwayusing texture size 512x512
Info: Freetype returned null for character 127 in font BlueHighway
Info: Freetype returned null for character 128 in font BlueHighway
Info: Freetype returned null for character 129 in font BlueHighway
Info: Freetype returned null for character 130 in font BlueHighway
Info: Freetype returned null for character 131 in font BlueHighway
Info: Freetype returned null for character 132 in font BlueHighway
Info: Freetype returned null for character 133 in font BlueHighway
Info: Freetype returned null for character 134 in font BlueHighway
Info: Freetype returned null for character 135 in font BlueHighway
Info: Freetype returned null for character 136 in font BlueHighway
Info: Freetype returned null for character 137 in font BlueHighway
Info: Freetype returned null for character 138 in font BlueHighway
Info: Freetype returned null for character 139 in font BlueHighway
Info: Freetype returned null for character 140 in font BlueHighway
Info: Freetype returned null for character 141 in font BlueHighway
Info: Freetype returned null for character 142 in font BlueHighway
Info: Freetype returned null for character 143 in font BlueHighway
Info: Freetype returned null for character 144 in font BlueHighway
Info: Freetype returned null for character 145 in font BlueHighway
Info: Freetype returned null for character 146 in font BlueHighway
Info: Freetype returned null for character 147 in font BlueHighway
Info: Freetype returned null for character 148 in font BlueHighway
Info: Freetype returned null for character 149 in font BlueHighway
Info: Freetype returned null for character 150 in font BlueHighway
Info: Freetype returned null for character 151 in font BlueHighway
Info: Freetype returned null for character 152 in font BlueHighway
Info: Freetype returned null for character 153 in font BlueHighway
Info: Freetype returned null for character 154 in font BlueHighway
Info: Freetype returned null for character 155 in font BlueHighway
Info: Freetype returned null for character 156 in font BlueHighway
Info: Freetype returned null for character 157 in font BlueHighway
Info: Freetype returned null for character 158 in font BlueHighway
Info: Freetype returned null for character 159 in font BlueHighway
Info: Freetype returned null for character 160 in font BlueHighway
Texture: BlueHighwayTexture: Loading 1 faces(PF_BYTE_LA,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_BYTE_LA,512x512x1.
Texture: ogretext.png: Loading 1 faces(PF_A8B8G8R8,256x128x1) with 8 hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x128x1.
Parsing script OgreLoadingPanel.overlay
Finished parsing scripts for resource group Bootstrap
Parsing scripts for resource group General
Parsing script Examples.program
Parsing script StdQuad_vp.program
Parsing script deferred.glsl.program
DeferredShading/material/glsl/ps : GLSL compiled
DeferredShading/material/glsl/notex_ps : GLSL compiled
DeferredShading/material/glsl/nm_ps : GLSL compiled
DeferredShading/material/glsl/nm_notex_ps : GLSL compiled
Parsing script deferred.hlsl.program
Error at line 15 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/vs parameter entry_point is not valid.
Error at line 15 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/vs parameter target is not valid.
Error at line 25 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/ps parameter entry_point is not valid.
Error at line 25 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/ps parameter target is not valid.
Error at line 35 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/notex_ps parameter entry_point is not valid.
Error at line 35 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/notex_ps parameter target is not valid.
Error at line 49 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/nm_vs parameter entry_point is not valid.
Error at line 49 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/nm_vs parameter target is not valid.
Error at line 59 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/nm_ps parameter entry_point is not valid.
Error at line 59 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/nm_ps parameter target is not valid.
Error at line 70 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/nm_notex_ps parameter entry_point is not valid.
Error at line 70 of deferred.hlsl.program: Error in program DeferredShading/material/hlsl/nm_notex_ps parameter target is not valid.
Parsing script deferred_post_debug.glsl.program
DeferredShading/post/glsl/ShowNormal_ps : GLSL compiled
DeferredShading/post/glsl/ShowDS_ps : GLSL compiled
DeferredShading/post/glsl/ShowColour_ps : GLSL compiled
Parsing script deferred_post_debug.hlsl.program
Error at line 6 of deferred_post_debug.hlsl.program: Error in program DeferredShading/post/hlsl/ShowNormal_ps parameter entry_point is not valid.
Error at line 6 of deferred_post_debug.hlsl.program: Error in program DeferredShading/post/hlsl/ShowNormal_ps parameter target is not valid.
Error at line 12 of deferred_post_debug.hlsl.program: Error in program DeferredShading/post/hlsl/ShowDS_ps parameter entry_point is not valid.
Error at line 12 of deferred_post_debug.hlsl.program: Error in program DeferredShading/post/hlsl/ShowDS_ps parameter target is not valid.
Error at line 18 of deferred_post_debug.hlsl.program: Error in program DeferredShading/post/hlsl/ShowColour_ps parameter entry_point is not valid.
Error at line 18 of deferred_post_debug.hlsl.program: Error in program DeferredShading/post/hlsl/ShowColour_ps parameter target is not valid.
Parsing script deferred_post_minilight.glsl.program
DeferredShading/post/glsl/LightMaterial_vs : GLSL compiled
DeferredShading/post/glsl/LightMaterial_ps : GLSL compiled
Parsing script deferred_post_minilight.hlsl.program
Error at line 14 of deferred_post_minilight.hlsl.program: Error in program DeferredShading/post/hlsl/LightMaterial_vs parameter entry_point is not valid.
Error at line 14 of deferred_post_minilight.hlsl.program: Error in program DeferredShading/post/hlsl/LightMaterial_vs parameter target is not valid.
Error at line 29 of deferred_post_minilight.hlsl.program: Error in program DeferredShading/post/hlsl/LightMaterial_ps parameter entry_point is not valid.
Error at line 29 of deferred_post_minilight.hlsl.program: Error in program DeferredShading/post/hlsl/LightMaterial_ps parameter target is not valid.
Parsing script deferred_post_multipass.glsl.program
DeferredShading/post/glsl/Ambient_ps : GLSL compiled
DeferredShading/post/glsl/GlobalLight_ps : GLSL compiled
Parsing script deferred_post_multipass.hlsl.program
Error at line 13 of deferred_post_multipass.hlsl.program: Error in program DeferredShading/post/hlsl/Ambient_ps parameter entry_point is not valid.
Error at line 13 of deferred_post_multipass.hlsl.program: Error in program DeferredShading/post/hlsl/Ambient_ps parameter target is not valid.
Error at line 28 of deferred_post_multipass.hlsl.program: Error in program DeferredShading/post/hlsl/GlobalLight_ps parameter entry_point is not valid.
Error at line 28 of deferred_post_multipass.hlsl.program: Error in program DeferredShading/post/hlsl/GlobalLight_ps parameter target is not valid.
Parsing script deferred_post_onepass.glsl.program
DeferredShading/post/glsl/vs : GLSL compiled
DeferredShading/post/glsl/SinglePass_ps : GLSL compiled
Parsing script deferred_post_onepass.hlsl.program
Error at line 11 of deferred_post_onepass.hlsl.program: Error in program DeferredShading/post/hlsl/vs parameter entry_point is not valid.
Error at line 11 of deferred_post_onepass.hlsl.program: Error in program DeferredShading/post/hlsl/vs parameter target is not valid.
Error at line 29 of deferred_post_onepass.hlsl.program: Error in program DeferredShading/post/hlsl/SinglePass_ps parameter entry_point is not valid.
Error at line 29 of deferred_post_onepass.hlsl.program: Error in program DeferredShading/post/hlsl/SinglePass_ps parameter target is not valid.
Parsing script BlackAndWhite.material
Parsing script Bloom.material
Error at line 7 of Bloom.material: Error in program Blur0_vs11 parameter entry_point is not valid.
Error at line 7 of Bloom.material: Error in program Blur0_vs11 parameter target is not valid.
Error at line 15 of Bloom.material: Error in program Blur0_ps20 parameter entry_point is not valid.
Error at line 15 of Bloom.material: Error in program Blur0_ps20 parameter target is not valid.
Error at line 23 of Bloom.material: Error in program Blur1_vs11 parameter entry_point is not valid.
Error at line 23 of Bloom.material: Error in program Blur1_vs11 parameter target is not valid.
Error at line 31 of Bloom.material: Error in program Blur1_ps20 parameter entry_point is not valid.
Error at line 31 of Bloom.material: Error in program Blur1_ps20 parameter target is not valid.
Blur_ps_glsl : GLSL compiled
Blur0_vs_glsl : GLSL compiled
Blur1_vs_glsl : GLSL compiled
Parsing script DOF.material
Parsing script Embossed.material
Parsing script Example-DynTex.material
Parsing script Example-Water.material
Parsing script Example.material
Parsing script Examples-Advanced.material
Parsing script Glass.material
Parsing script HeatVision.material
Parsing script Hurt.material
Parsing script Invert.material
Parsing script Laplace.material
Parsing script MotionBlur.material
Parsing script Ocean.material
Error at line 15 of Ocean.material: Error in program HLSL/OceanVS parameter entry_point is not valid.
Error at line 15 of Ocean.material: Error in program HLSL/OceanVS parameter target is not valid.
Error at line 23 of Ocean.material: Error in program HLSL/OceanFS parameter entry_point is not valid.
Error at line 23 of Ocean.material: Error in program HLSL/OceanFS parameter target is not valid.
GLSL/OceanVS : GLSL compiled
GLSL/OceanFS : GLSL compiled
Error at line 269 of Ocean.material: Error in program HLSL/Ocean2VS parameter entry_point is not valid.
Error at line 269 of Ocean.material: Error in program HLSL/Ocean2VS parameter target is not valid.
Error at line 277 of Ocean.material: Error in program HLSL/Ocean2FS parameter entry_point is not valid.
Error at line 277 of Ocean.material: Error in program HLSL/Ocean2FS parameter target is not valid.
GLSL/Ocean2VS : GLSL compiled
GLSL/Ocean2FS : GLSL compiled
Parsing script OffsetMapping.material
Parsing script Ogre.material
Parsing script OldMovie.material
Parsing script OldTV.material
Parsing script Posterize.material
Parsing script RZR-002.material
Parsing script SharpenEdges.material
Parsing script Tiling.material
Parsing script facial.material
Parsing script hdr.material
Error at line 7 of hdr.material: Error in program Ogre/Compositor/HDR/downscale2x2LuminenceHLSL_fp parameter entry_point is not valid.
Error at line 7 of hdr.material: Error in program Ogre/Compositor/HDR/downscale2x2LuminenceHLSL_fp parameter target is not valid.
Ogre/Compositor/HDR/downscale2x2LuminenceGLSL_fp : GLSL compiled
Ogre/Compositor/StdQuad_GLSL_vp : GLSL compiled
Error at line 73 of hdr.material: Error in program Ogre/Compositor/HDR/downscale3x3HLSL_fp parameter entry_point is not valid.
Error at line 73 of hdr.material: Error in program Ogre/Compositor/HDR/downscale3x3HLSL_fp parameter target is not valid.
Ogre/Compositor/HDR/downscale3x3GLSL_fp : GLSL compiled
Error at line 140 of hdr.material: Error in program Ogre/Compositor/HDR/downscale3x3brightpassHLSL_fp parameter entry_point is not valid.
Error at line 140 of hdr.material: Error in program Ogre/Compositor/HDR/downscale3x3brightpassHLSL_fp parameter target is not valid.
Ogre/Compositor/HDR/utils_fp : GLSL compiled
Ogre/Compositor/HDR/downscale3x3brightpassGLSL_fp : GLSL compiled
Error at line 227 of hdr.material: Error in program Ogre/Compositor/HDR/bloomHLSL_fp parameter entry_point is not valid.
Error at line 227 of hdr.material: Error in program Ogre/Compositor/HDR/bloomHLSL_fp parameter target is not valid.
Ogre/Compositor/HDR/bloomGLSL_fp : GLSL compiled
Error at line 346 of hdr.material: Error in program Ogre/Compositor/HDR/finaltonemappingHLSL_fp parameter entry_point is not valid.
Error at line 346 of hdr.material: Error in program Ogre/Compositor/HDR/finaltonemappingHLSL_fp parameter target is not valid.
Ogre/Compositor/HDR/utils_fp : GLSL compiled
Ogre/Compositor/HDR/finaltonemappingGLSL_fp : GLSL compiled
Parsing script smoke.material
Parsing script deferred.material
DeferredShading/material/glsl/vs : GLSL compiled
DeferredShading/material/glsl/nm_vs : GLSL compiled
Parsing script deferred_post_debug.material
Parsing script deferred_post_minilight.material
Parsing script deferred_post_multipass.material
Parsing script deferred_post_onepass.material
Parsing script deferreddemo.material
Parsing script fresnelenviron.material
Parsing script Examples.compositor
Parsing script sample.fontdef
Parsing script Example-Water.particle
Parsing script Example.particle
Parsing script smoke.particle
Parsing script Compositor.overlay
Parsing script DP3.overlay
Parsing script Example-CubeMapping.overlay
Parsing script Example-DynTex.overlay
Parsing script Example-Water.overlay
Parsing script Shadows.overlay
Finished parsing scripts for resource group General
Parsing scripts for resource group Internal
Finished parsing scripts for resource group Internal
Mesh: Loading ninja.mesh.
Skeleton: Loading ninja.skeleton
Texture: nskingr.jpg: Loading 1 faces(PF_B8G8R8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
Texture: rockwall.tga: Loading 1 faces(PF_R8G8B8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,256x256x1.
Texture: spot_shadow_fade.png: Loading 1 faces(PF_B8G8R8,128x128x1) with 5 hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,128x128x1.
Segmentation fault