Note: This gives you the libGLU* and libglut* files that are missing in XFree86. XFree86 only comes with the OpenGL core library, libGL (based on Mesa). This also installs Mesa's libGL, but we will delete that since it is to be replaced by the Nvidia libGL.
To completely uninstall any Mesa libs that may have come with Slackware:
removepkg mesa |
-- IF you are going to use the project GLUT distribution of GLUT, then -- unpack the Glut-3.7 packages ... -- Mesa's compile looks for it cd /usr/src tar -xvzf glut-3.7.tar.gz tar -xvzf glut_data-3.7.tar.gz -- IF you are using this GLUT, use the --with-glut=/usr/src/glut-3.7 -- parameter with Mesa's ./configure below in addition to the --prefix cd /usr/src tar -xvzf MesaLib-3.4.tar.gz tar -xvzf MesaDemos-3.4.tar.gz cd Mesa-3.4 ./configure --prefix=/usr make make install ldconfig |
At this point, Mesa installed its own version of the glx.h include files over the ones that XFree86 installed. This will cause some programs to fail to compile and is corrected by copying the XFree86 GL include files from the X source back to your system:
cp /usr/src/release/xc/include/GL/*.h /usr/X11R6/include/GL |
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |