HQR download/install
Requirements
Both the command-line and GUI versions of HQR require the following libs to be installed on your computer:
- the OpenEXR libraries for input/output of HDR images, version 1.0.5 or better
- the X3DToolKit library for reading X3D models
- the Jpeg library (libjpeg). This library is optional for the recompilation however.
In addition, the graphics user interface needs
- Qt version 3.1.1 or better
- the QGLViewer library, version 1.3.9 or better.
Alternatively you may not want to install all this onto your computer just to
check what HQR looks like, so you can download a ready-to-use libraries pack for hqr, and the complementary libs for the graphics user
interface, for linux gcc-3 architectures. In that case, just setup your LD_LIBRARY_PATH
environment variable to the directory where you put these libs to have the software find them.
Download
Supported architectures:
|
- Linux:
- find here the Linux-i586 executable files for HQR and HQR.GUI;
- the complete distribution of sources is available here. Please refer to
the compile and install topic below for supplemental information.
|
Install
Fast and automatic compilation is performed through the following steps, provided that the required libraries are installed on your computer (see above):
- unzip the source repository:
> tar zxvf HQR-1.0.0.tar.gz
- go into the directory and type make:
> cd HQR
> make
However, on some Linux distributions, some libraries are not at a canonical place (say, the place provided by
the .rpm packages). In this case it is possible to compile by setting the following environnement
variables properly to the value wich corresponds to your own configuration:
Library | Variable | Default value |
OpenEXR | OPENEXR_INC_DIR OPENEXR_LIB_DIR | /usr/include/OpenEXR /usr/lib |
X3DToolKit | X3DTOOLKIT_INC_DIR X3DTOOLKIT_LIB_DIR | /usr/include /usr/lib |
QGLViewer | QGLVIEWER_INC_DIR QGLVIEWER_LIB_DIR | /usr/include /usr/lib |
In this table, the default value indicated corresponds to the value used by the automatic compilation system.
If one of the above environment variable is supplied, it automatically replaces the default value.
The corresponding 'setenv
' commands can be stored in a script at your convenience.
Last modified on Thursday, February 24, 2005.