Thread: ogre3D hates me
i thought i'd @ ogre3d , installed default packages in ubuntu natty , couldn't compile tutorial examples because sdk*.h etc missing. found repository http://ppa.launchpad.net/ogre-team/ogre/ubuntu , still can't compile code, fixed several inconsistencies ogremain instead of ogremain_h (windows crap) in code::blocks. i'm @ wits end. ogre-teams version 1.7.3. have blocked (commented out) plug-ins through plugins.cfg left default resources.cfg (copyed) /usr/share/ogre. tryed changing fbo pbuffer copy etc. haven't modified code added "tutorialapplication.h/cpp" , "baseapplication.h/cpp" project. original sampleapp class give me exact same segfault...
and segmentation fault...code:21:58:03: creating resource group general 21:58:03: creating resource group internal 21:58:03: creating resource group autodetect 21:58:03: scenemanagerfactory type 'defaultscenemanager' registered. 21:58:03: registering resourcemanager type material 21:58:03: registering resourcemanager type mesh 21:58:03: registering resourcemanager type skeleton 21:58:03: movableobjectfactory type 'particlesystem' registered. 21:58:03: overlayelementfactory type panel registered. 21:58:03: overlayelementfactory type borderpanel registered. 21:58:03: overlayelementfactory type textarea registered. 21:58:03: registering resourcemanager type font 21:58:03: archivefactory archive type filesystem registered. 21:58:03: archivefactory archive type zip registered. 21:58:03: dds codec registering 21:58:03: freeimage version: 3.15.0 21:58:03: program uses freeimage, free, open source image library supporting common bitmap formats. see http://freeimage.sourceforge.net details 21:58:03: supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,sti 21:58:03: registering resourcemanager type highlevelgpuprogram 21:58:03: registering resourcemanager type compositor 21:58:03: movableobjectfactory type 'entity' registered. 21:58:03: movableobjectfactory type 'light' registered. 21:58:03: movableobjectfactory type 'billboardset' registered. 21:58:03: movableobjectfactory type 'manualobject' registered. 21:58:03: movableobjectfactory type 'billboardchain' registered. 21:58:03: movableobjectfactory type 'ribbontrail' registered. 21:58:03: loading library /usr/lib/ogre/rendersystem_gl 21:58:03: installing plugin: gl rendersystem 21:58:03: opengl rendering subsystem created. 21:58:03: plugin installed 21:58:03: loading library /usr/lib/ogre/plugin_particlefx 21:58:03: installing plugin: particlefx 21:58:03: particle emitter type 'point' registered 21:58:03: particle emitter type 'box' registered 21:58:03: particle emitter type 'ellipsoid' registered 21:58:03: particle emitter type 'cylinder' registered 21:58:03: particle emitter type 'ring' registered 21:58:03: particle emitter type 'hollowellipsoid' registered 21:58:03: particle affector type 'linearforce' registered 21:58:03: particle affector type 'colourfader' registered 21:58:03: particle affector type 'colourfader2' registered 21:58:03: particle affector type 'colourimage' registered 21:58:03: particle affector type 'colourinterpolator' registered 21:58:03: particle affector type 'scaler' registered 21:58:03: particle affector type 'rotator' registered 21:58:03: particle affector type 'directionrandomiser' registered 21:58:03: particle affector type 'deflectorplane' registered 21:58:03: plugin installed 21:58:03: loading library /usr/lib/ogre/plugin_bspscenemanager 21:58:03: installing plugin: bsp scene manager 21:58:03: plugin installed 21:58:03: loading library /usr/lib/ogre/plugin_cgprogrammanager 21:58:03: installing plugin: cg program manager 21:58:03: plugin installed 21:58:03: loading library /usr/lib/ogre/plugin_pczscenemanager 21:58:03: installing plugin: portal connected zone scene manager 21:58:03: pczone factory type 'zonetype_default' registered 21:58:03: plugin installed 21:58:03: loading library /usr/lib/ogre/plugin_octreezone 21:58:03: installing plugin: octree zone factory 21:58:03: plugin installed 21:58:03: loading library /usr/lib/ogre/plugin_octreescenemanager 21:58:03: installing plugin: octree & terrain scene manager 21:58:03: plugin installed 21:58:03: *-*-* ogre initialising 21:58:03: *-*-* version 1.7.3 (cthugha) 21:58:03: creating resource group essential 21:58:03: added resource location '/usr/share/ogre/media/thumbnails' of type 'filesystem' resource group 'essential' 21:58:03: added resource location '/usr/share/ogre/media/packs/sdktrays.zip' of type 'zip' resource group 'essential' 21:58:03: added resource location '/usr/share/ogre/media' of type 'filesystem' resource group 'general' 21:58:03: creating resource group popular 21:58:03: added resource location '/usr/share/ogre/media/fonts' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/materials/programs' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/materials/scripts' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/materials/textures' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/materials/textures/nvidia' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/models' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/particle' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/deferredshadingmedia' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/pczappmedia' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/rtshaderlib' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/rtshaderlib/materials' of type 'filesystem' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/packs/cubemap.zip' of type 'zip' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/packs/cubemapsjs.zip' of type 'zip' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/packs/dragon.zip' of type 'zip' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/packs/fresneldemo.zip' of type 'zip' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/packs/ogretestmap.zip' of type 'zip' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/packs/ogredance.zip' of type 'zip' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/packs/sinbad.zip' of type 'zip' resource group 'popular' 21:58:03: added resource location '/usr/share/ogre/media/packs/skybox.zip' of type 'zip' resource group 'popular' 21:58:10: cpu identifier & features 21:58:10: ------------------------- 21:58:10: * cpu id: genuineintel: intel(r) core(tm)2 cpu t5300 @ 1.73ghz 21:58:10: * sse: yes 21:58:10: * sse2: yes 21:58:10: * sse3: yes 21:58:10: * mmx: yes 21:58:10: * mmxext: yes 21:58:10: * 3dnow: no 21:58:10: * 3dnowext: no 21:58:10: * cmov: yes 21:58:10: * tsc: yes 21:58:10: * fpu: yes 21:58:10: * pro: yes 21:58:10: * ht: no 21:58:10: ------------------------- 21:58:10: ****************************** *** starting glx subsystem *** ****************************** 21:58:10: glrendersystem::_createrenderwindow "tutorialapplication render window", 640x480 windowed miscparams: fsaa=0 displayfrequency=60 mhz gamma= vsync=no 21:58:10: glxwindow::create used fbconfigid = 104 21:58:10: gl_version = 1.4 mesa 7.10.2 21:58:10: gl_vendor = tungsten graphics, inc 21:58:10: gl_renderer = mesa dri intel(r) 945gm gem 20100330 development 21:58:10: gl_extensions = gl_arb_copy_buffer gl_arb_depth_texture gl_arb_draw_buffers gl_arb_draw_elements_base_vertex gl_arb_explicit_attrib_location gl_arb_fragment_program gl_arb_fragment_shader gl_arb_half_float_pixel gl_arb_map_buffer_range gl_arb_multisample gl_arb_multitexture gl_arb_pixel_buffer_object gl_arb_point_parameters gl_arb_point_sprite gl_arb_provoking_vertex gl_arb_shader_objects gl_arb_shading_language_100 gl_arb_shadow gl_arb_sync 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_crossbar gl_arb_texture_env_dot3 gl_arb_texture_mirrored_repeat gl_arb_texture_non_power_of_two gl_arb_texture_rectangle gl_arb_transpose_matrix gl_arb_vertex_array_object gl_arb_vertex_buffer_object gl_arb_vertex_program gl_arb_vertex_shader gl_arb_window_pos gl_ext_abgr gl_ext_bgra gl_ext_blend_color gl_ext_blend_equation_separate gl_ext_blend_func_separate gl_ext_blend_logic_op gl_ext_blend_minmax gl_ext_blend_subtract gl_ext_compiled_vertex_array gl_ext_copy_texture 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_polygon_offset gl_ext_provoking_vertex gl_ext_rescale_normal gl_ext_secondary_color gl_ext_separate_shader_objects gl_ext_separate_specular_color gl_ext_shadow_funcs gl_ext_stencil_two_side gl_ext_stencil_wrap gl_ext_subtexture gl_ext_texture3d gl_ext_texture_cube_map gl_ext_texture_edge_clamp gl_ext_texture_env_add gl_ext_texture_env_combine gl_ext_texture_env_dot3 gl_ext_texture_filter_anisotropic gl_ext_texture_lod_bias gl_ext_texture_object gl_ext_texture gl_ext_texture_rectangle gl_ext_vertex_array gl_oes_egl_image gl_oes_read_format gl_3dfx_texture_compression_fxt1 gl_apple_client_storage gl_apple_object_purgeable gl_apple_packed_pixels gl_apple_vertex_array_object gl_ati_blend_equation_separate gl_ati_separate_stencil gl_ati_texture_env_combine3 gl_ibm_multimode_draw_arrays gl_ibm_rasterpos_clip gl_ibm_texture_mirrored_repeat gl_ingr_blend_func_separate gl_mesa_pack_invert gl_mesa_window_pos gl_mesa_ycbcr_texture gl_nv_blend_square gl_nv_light_max_exponent gl_nv_packed_depth_stencil gl_nv_texgen_reflection gl_nv_texture_env_combine4 gl_nv_texture_rectangle gl_nv_vertex_program1_1 gl_nv_vertex_program gl_sgis_generate_mipmap gl_sgis_texture_border_clamp gl_sgis_texture_edge_clamp gl_sgis_texture_lod gl_sun_multi_draw_arrays 21:58:10: supported glx extensions: glx_arb_get_proc_address glx_arb_multisample glx_ext_import_context glx_ext_visual_info glx_ext_visual_rating glx_mesa_copy_sub_buffer glx_mesa_swap_control glx_oml_swap_method glx_oml_sync_control glx_sgi_make_current_read glx_sgi_swap_control glx_sgi_video_sync glx_sgis_multisample glx_sgix_fbconfig glx_sgix_pbuffer glx_sgix_visual_select_group glx_ext_texture_from_pixmap glx_intel_swap_event 21:58:10: *************************** 21:58:10: *** gl renderer started *** 21:58:10: *************************** 21:58:10: registering resourcemanager type gpuprogram 21:58:10: glsl support detected 21:58:10: gl: using gl_ext_framebuffer_object rendering textures (best) 21:58:10: fbo pf_unknown depth/stencil support: d0s1 d0s4 d0s8 d0s16 d16s0 d24s0 d32s0 packed-d24s8
hmmm. not sure make of post. may or may not helpful, if in situation, think start on over orge3d setup since isn't right - configuration, linked libs, graphics configuration, or ide/compiler.
can compile opengl demo , run on box? sure have stable version of orge3d linux? when installed did ./configure make stuff or copy directory, or use package manager?
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk ogre3D hates me
Ubuntu
Comments
Post a Comment