Hi, I have been trying to build Qt-4.3.3-open-source (without OpenGL there is no problem) with OpenGL support. As I have a Geforce 8600 card and using the NVIDIA-Solaris-x86-169.07 driver, I thought it would be relatively easy on Solaris 10 8/07 which I know is an old build. Have the problems I have been experiencing been resolved in OpenSolaris?
The NVIDIA drivers have include files in /usr/X11/include/GL and /usr/X11/include/NVIDIA/GL gl.h (opengl 1.1), glext.h (opengl 1.2.1), glx.h (v1.2), glxext.h (v1.2.1). When building qt-4.3.3 as follows (which requires a minimum of OpenGL v1.2.1): CC=cc CXX=CC F77=f90 ./configure --prefix=/opt/gnu -I/usr/X11/include/NVIDIA -L/usr/X11/lib/NVIDIA The #include <GL/gl.h> appends the /usr/X11/include/NVIDIA/ with GL/gl.h and finds the files, however with the Mesa option this can not work as the mesa library does not contain a GL subdirectory ie. CC=cc CXX=CC F77=f90 ./configure --prefix=/opt/gnu -I/usr/X11/include/mesa -L/usr/X11/lib/mesa The #include <GL/gl.h> appends the /usr/X11/include/mesa with GL/gl.h but the actual file is located in /usr/X11/include/mesa/gl.h but it should be /usr/X11/include/mesa/GL/gl.h This message posted from opensolaris.org
