OpenCFU for developers

This section contains technical informations to help other programers and advanced users to compile and modify OpenCFU. Do not hesitate to send some feed back or request some support by email.

Install OpenCFU on a GNU/Linux distribution

Arch Linux

OpenCFU is on AUR.

Fedora

OpenCFU is on the stable repository so you can install it, for instance, using yum:

  • yum install opencfu

Other Distributions

For now, users of other distributions will have to compile (see next section) the program. Hopefully, OpenCFU will, at least, go in Debian repositories soon.

Get the code

OpenCFU is hosted on a git repository, so you can get the very last version and contribute to the code:

  • git clone https://github.com/qgeissmann/OpenCFU.git opencfu-git

How to compile OpenCFU with g++

On GNU/Linux

Getting the dependencies

On Fedora:

In addition of the usual GNU tools (automake, autoconf, make, g++, ...), OpenCFU requieres OpenCV(2.4.3) for the image processing and, if you want a GUI, Gtkmm-2.4.

  • yum groupinstall 'Development Tools'
  • yum install opencv-devel gtkmm-devel
On Ubuntu:
  • apt-get install build-essential automake autoconf libopencv-dev libgtkmm-2.4-dev
On Archlinux:
  • pacman -S base-devel opencv gtkmm

After that, download the last version of OpenCFU. You can find them on Sourceforge. For instance:

  • wget http://sourceforge.net/projects/opencfu/files/linux/opencfu-3.8.5.tar.gz
  • tar -xvf opencfu-3.8.5.tar.gz
  • cd opencfu-3.8.5

Note that you can replace the 3.8.5 above by a more recent version.

Configure and Make

At this point, you will configure the project. If you do not want a GUI (e.g. if you do not have Gtkmm installed) you can use the option `--without-gui'. You can also turn on the debug message printing with `--with-dbgmes'.

  • ./configure
  • make
  • make install

On Windows (with MingW32)

TODO