![]() |
University of Murcia ![]() |
Download and setupThis page describes how to obtain, configure, compile and (if needed) install the QVision on a computer.Prior to configuration and compilationm¡, you should install the Qt. Framework for high performance, cross-platform application development (Version 4.0 or later), and the GNU Scientific Library in the computer. DownloadThe latest release and older versions can be downloaded from the following url:http://forja.rediris.es/frs/?group_id=321 Once you have the tar file for QVision, named QVision.<version>.tgz, copy it to your home directory (or a temporary location for compiling), and untar-it using this line:
# tar xzvf QVision.<version>.tgz ConfigurationYou can configure several aspects of the QVision, which will modify the functionallity available in the QVision, its performance, and other features. The functionallity (classes and functions) provided by the QVision is divided in several modules. You can check a full list of these modules in the modules page.Some of these modules provide functions and/or data types to comunicate with, or make use of, other libraries or applications. The availability of these functions on the QVision will depend on whether the QVision is configured to interoperate with their corresponding libraries or applications. These optional libraries and applications are:
The QVision can be compiled using the Intel's C++ Compiler. This generates usually faster code than by using the standard GCC. You should be wary though that the Intel's compiler can't deal with dynamic library linking, so the path for linking configuration should be configured in your system. You should perform some command lines like these, before compilation: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/cc/10.1.008/lib/ export PATH=$PATH:/opt/intel/cc/10.1.008/bin/ source iccvars.sh export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<install path for Intel's IPP>/sharedlib/ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:<install path to QVision>/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/intel/ipp/5.3/ia32/sharedlib/ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/QVision.0.2.1/lib To configure these libraries, modules, and options for the compilation of the QVision, you must create a config.pri file in the root directory of the QVision. An example config file is included with the distribution, named config.pri.example. It is recomended to copy or rename this file to config.pri, and tune/modify it with a text editor to fit your programming needs. Read carefully the instructions contained in that file about how to tune each feature, and include each module. Compilation and installCompile the library using the following commands inside the QVision directory:
# qmake-qt4 # make You can optionally install the QVision anywhere in the system. This will copy the library source and binary files in the directory specified in the config.pri file, inside the variable INSTALL_PATH. If that route is in your home directory, or any place where you have permissions to write, you should simply do the following:
# make install Otherwise, you should use sudo console command, to copy the files as the super-user:
# sudo make install If you need to uninstall the library, simply compile again, and use the following line:
# sudo make uninstall This will erase QVision's library files from the directory where you installed it previously. Addendum: Installing the third party libraries and applications at an Ubuntu systemIf you are planning to install QVision on a Ubuntu, Debian or any other distribution with a similar package management, you can directly install the following packages for the Qt and the GSL libraries:
If you want to interoperate with other libraries, you can install the following packages:
Using apt-get, these packages can be installed from the command line with the following commands:
|