QGLViewer - RPM repository
Pre-compiled RPMs
The easiest way to install the library is to use the RPM pre-compiled version (compiled with gcc 3.2.2):
> rpm -Uvh libQGLViewer-1.3.3-1.i586.rpm libQGLViewer-devel-1.3.3-1.i586.rpm
A gcc 2.96 version is also available.
> rpm -Uvh libQGLViewer-1.3.3-1.i586.gcc2.rpm libQGLViewer-devel-1.3.3-1.i586.gcc2.rpm
Compiling from the sources
You can also rebuild all the sources using the RPM source package:
> rpm --rebuild libQGLViewer-1.3.3-1.src.rpm
> rpm -Uvh /usr/src/RPM/RPMS/i?86/libQGLViewer-1.3.3-1*.rpm
You may want to tune the sources to fit your local installation:
> rpm -Uvh libQGLViewer-1.3.3-1.src.rpm
Edit /usr/src/RPM/SPECS/libQGLViewer-1.3.3.spec (tune QTDIR, install dir,...)
Uncompress the sources in /usr/src/RPM/SOURCES/libQGLViewer-1.3.3.tar.gz, edit, and recompress.
> rpm -ba /usr/src/RPM/SPECS/libQGLViewer-1.3.3.spec
> rpm -Uvh /usr/src/RPM/RPMS/i?86/libQGLViewer-1.3.3-1*.rpm
RPM files
The rpm installs the following files on your machine:
- The library (
libQGLViewer-1.3.3.so) in /usr/local/lib
- The header files in
/usr/local/include/QGLViewer
- The documentation and the examples in
/usr/share/doc/QGLViewer
A copy of the rpm is available for download from the
rpmFind.net site.
Troubleshooting
When installing the QGLViewer library, you may be prompted some dependency error messages.
Missing RPMs can be downloaded from these official sites : rpmfind.net,
fr.rpmfind.net and Google.
- Qt-devel : QT is usually shipped in the distribution CDs. You may however have to download the
qt3-devel package (
ls $QTDIR/lib to find your Qt version).
- Random display : You are probably running a gcc 3.2 optimized version of the library. This
is gcc 3.2 bug, fixed in gcc 3.2.2. The patch should automatically be applied. In case of trouble,
edit
src/src.pro, replace release by debug and re-compile.
- libqt-mt : QGLViewer is compiled with the multi-thread (qt-mt) version of qt. If you
only have
libqt.so installed, edit src/src.pro, remove
thread and re-compile.
- libGLcore.so.1 : This package used to be listed in the dependency list, but it should no longer be the case.
- lib3ds : Download the patched
lib3ds-1.2.0-1.i686.rpm
(lib3ds-1.2.0-1.i586.gcc2.rpm for gcc 2.96)
or the sources: lib3ds-1.2.0-1.src.rpm or lib3ds-1.2.0.tar.gz.
Please let me know if you
encountered specific installation problems that could be reported on this page.
Last modified on vendredi, juin 27 2003.