Sunday, October 25, 2009

Error loading OpenGL in matlab or Warning: Cannot query opengl in Matlab

If you are getting error message then do this
$matlab7/sys/os/glnx86/libgcc_s.so.1 just rename this file to libgcc_s.so.1.old so matlab picks up the system's opengl file

If you are getting warning do this:
sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev

in terminal