Solution to the openGL problem in MATLAB

OOo,TeX,KO,ABI,GIMP,Picasa,ProE,QCAD,Inkscape,Kicad,Eagle
回复
头像
huygens
帖子: 11
注册时间: 2006-05-13 2:25

Solution to the openGL problem in MATLAB

#1

帖子 huygens » 2007-12-19 0:09

Every time when I open MATLAB(7.0 R14) it complains about opengl like this:
Warning: Could not access OpenGL library

and I fond the solution as follows, it works fine for me, hope will help you guys :)

From: http://www.math.dartmouth.edu/~ahb/l...FC4_setup.html

Quote:
If want hardware-accelerated OpenGL rendering (I do), replace Matlab's gcc-library with FC4's:

cd (~MATLAB dir~)/sys/os/glnx86
mv libgcc_s.so.1 libgcc_s.so.1_orig
ln -sf /lib/libgcc_s.so.1 ./

After done that, Check with "opengl info" at Matlab prompt to see the result.
mine is like this:
>> opengl info

Version = 1.5.8 NVIDIA 96.39
Vendor = NVIDIA Corporation
Renderer = GeForce4 MX 440 with AGP8X/AGP/SSE/3DNOW!
MaxTextureSize = 2048
Visual = 0x27 (TrueColor, depth 24, RGB mask 0xff0000 0xff00 0x00ff)
Extensions = GL_ARB_imaging GL_ARB_multitexture GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shader_objects GL_ARB_shading_language_100 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_mirrored_repeat 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_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_paletted_texture GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shared_texture_palette GL_EXT_stencil_wrap 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_object GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_fence GL_NV_fog_distance GL_NV_light_max_exponent GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_register_combiners GL_NV_texgen_reflection GL_NV_texture_env_combine4 GL_NV_texture_rectangle GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1 GL_SGIS_generate_mipmap GL_SGIS_multitexture GL_SGIS_texture_lod GL_SUN_slice_accum

Hardware Bug Workarounds:
OpenGLBitmapZbufferBug = 0
OpenGLWobbleTesselatorBug = 0
头像
suncanoe
帖子: 476
注册时间: 2005-12-07 0:17
来自: 昆明

Re: Solution to the openGL problem in MATLAB

#2

帖子 suncanoe » 2009-06-23 19:02

:em11
Two wrongs do not make a right.
blog: http://hi.baidu.com/bookpage
头像
小普林斯
帖子: 707
注册时间: 2009-04-14 13:18

Re: Solution to the openGL problem in MATLAB

#3

帖子 小普林斯 » 2009-06-23 19:05

谢谢!
头像
ffdqlff
帖子: 78
注册时间: 2011-01-27 16:36

Re: Solution to the openGL problem in MATLAB

#4

帖子 ffdqlff » 2011-04-27 13:25

怎么改了后还是出错
Warning: Could not access OpenGL library
怎么办
不是尤里·纳吉宾式的结局,而应该是欧·亨利式的结局!
头像
tangboyun
帖子: 701
注册时间: 2009-07-25 1:57
联系:

Re: Solution to the openGL problem in MATLAB

#5

帖子 tangboyun » 2011-05-03 16:47

检查显卡驱动有否正确安装。
https://github.com/tangboyun
http://tangboyun.is-programmer.com/
提问的智慧————Eric Steven Raymond
回答的智慧————Andrew Clarke
吾尝终日而思矣,不如须臾之所学也;吾尝跂而望矣,不如登高之博见也。
急急急标题什么的,最讨厌了!
急急复急急,急急何其多,我生待急急,万事急急急。
回复