Installation guide

This guide is supposed to help the installation and configuration of the QVision over a cleaned system.

Package and program dependencies of the QVision.

Right now, QVision needs the following libraries and programs to be installed in the system. In a future, it will be a modular library, so you will be able to compile the core functionality without unnecessary functionality:

If you are planning to install QVision on an Ubuntu or Debian system, you can directly install the following packages using apt-get, synaptic, or adept package managers (or similar packaging system):

Also, some Ubuntu systems may need to install package g++, needed for Qt to compile.

Downloading the framework.

Latest release and older versions can be downloaded from the following url:

http://forja.rediris.es/frs/?group_id=321

Configuring.

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

Then you should copy the file QVision/config.pri.example to a file in the same directory, QVision, named config.pri. It has some performance and system configuration parameters inside used to compile QVision library. Change the content of the variables INSTALL_PATH, IPP_DIR, QWT_INCLUDE, QWT_LIB_DIRECTORY, and QWT_LIB_NAME, according to the specifications found in the config.pri.example file about them. They contain information about the location of the QWT and Intel's IPP libraries, and the install path for the QVision library.

Beside system and directories configuration, you can also tune performance and debugging options in the 'config.pri' file. You may uncomment the line

	CONFIG += release

to compile a faster version of the library, or else the library will compile in debug mode, including debug and error checking at execution time code. You can also uncomment the line:

	DEFINES += QT_NO_DEBUG_OUTPUT

if you don't want to be printed lots of debug information while the program is running when compiling in debug mode, that will heavily decrease the execution time.

Compilation and Install.

Once customized the program, type:

	# cd QVision
	# qmake
	# make

to compile the library. When compilation is done, you should install the library. There will be copied some files in the directory specified in the variable 'INSTALL_PATH'. If that route is in your home directory, or other place you have permissions to write, you should do the following:

	# make install

or else you should use sudo console command, to copy the files as a super-user:

	# sudo make install

to make the installation proceed. If you need to delete the installation, simply compile again, and use the following line:

	# sudo make uninstall

it will erase QVision's library files from the directory where you installed it previously.


Generated on Thu Jul 17 17:23:28 2008 for QVision by  doxygen 1.5.3