QGLViewer - RPM repository
Pre-compiled RPMs
The easiest way to install the library is to use the RPM pre-compiled version :
> rpm -Uvh libQGLViewer-1.2.8-1.i586.rpm libQGLViewer-devel-1.2.8-1.i586.rpm
A gcc 3 version is also available. The release
option has been removed because of a bug in gcc 3.
> rpm -Uvh libQGLViewer-1.2.8-1.i586.gcc3.rpm libQGLViewer-devel-1.2.8-1.i586.gcc3.rpm
Compiling from the sources
You can also rebuild all the sources using the RPM source package:
> rpm --rebuild libQGLViewer-1.2.8-1.src.rpm
> rpm -Uvh /usr/src/RPM/RPMS/i?86/libQGLViewer-1.2.8-1*.rpm
You may want to tune the sources to fit your local installation:
> rpm -Uvh libQGLViewer-1.2.8-1.src.rpm
Edit /usr/src/RPM/SPECS/libQGLViewer-1.2.8.spec (tune QTDIR, install dir,...)
Uncompress the sources in /usr/src/RPM/SOURCES/libQGLViewer-1.2.8.tar.gz, edit, and recompress.
> rpm -ba /usr/src/RPM/SPECS/libQGLViewer-1.2.8.spec
> rpm -Uvh /usr/src/RPM/RPMS/i?86/libQGLViewer-1.2.8-1*.rpm
RPM files
The rpm installs the following files on your machine:
- The library (
libQGLViewer-1.2.8.so
) in /usr/lib
- The header files in
/usr/include/QGLViewer
- The documentation and the examples in
/usr/share/doc/QGLViewer
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).
- Jaggy display : You are probably running a gcc 3.2 optimized version of the library. This is gcc 3.2 bug. Edit
src/src.pro
, replace
release
by debug
and re-compile.
- libqt-mt : QGLViewer is compiled with the multithread (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.gcc3.rpm for gcc 3.2)
or the sources lib3ds-1.2.0-1.src.rpm from here.
Please let me know if you
encountered specific installation problems that could be reported on this page.
Last modified on jeudi, janvier 16 2003.