Editing OSMesa
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
OSMesa is | The minimum required version of OSMesa for Octave is 9.0.0 | ||
OSMesa versions < 9.0 show a strange bug where the return values of | |||
glGetIntegerv (GL_DEPTH_BITS, &z); | glGetIntegerv (GL_DEPTH_BITS, &z); | ||
Line 16: | Line 11: | ||
On Debian GNU/Linux 8.0 (jessie), Ubuntu 14.04 (trusty) and Fedora 21 there is no need to build OSMesa from source, just use your package manager which installs libosmesa > 10.0. | On Debian GNU/Linux 8.0 (jessie), Ubuntu 14.04 (trusty) and Fedora 21 there is no need to build OSMesa from source, just use your package manager which installs libosmesa > 10.0. | ||
== Build | == Build OSMesa from source == | ||
Needed for example for Debian wheezy or Ubuntu 12.04.5 which ships OSMesa 8.0.5. | Needed for example for Debian wheezy or Ubuntu 12.04.5 which ships OSMesa 8.0.5. | ||
wget -nc ftp://ftp.freedesktop.org/pub/mesa/current/ | wget -nc ftp://ftp.freedesktop.org/pub/mesa/current/MesaLib-10.2.2.tar.bz2 | ||
tar | tar xjf MesaLib-10.2.2.tar.bz2 | ||
cd | cd Mesa-10.2.2/ | ||
autoreconf -fi | autoreconf -fi | ||
Line 34: | Line 29: | ||
--with-dri-drivers="" \ | --with-dri-drivers="" \ | ||
--with-gallium-drivers="" \ | --with-gallium-drivers="" \ | ||
--enable-texture-float \ | |||
--disable-shared-glapi \ | --disable-shared-glapi \ | ||
--disable-egl \ | --disable-egl \ | ||
Line 44: | Line 40: | ||
make check | make check | ||
sudo make install | sudo make install | ||