Wiki

Clone wiki

felix / Building_The_Code

The code was developed in linux (ubuntu 14.04).

Obtaining the code

You may obtain the code by running the following command in bash.

$ git clone https://bitbucket.org/vgl_iisc/felix.git
$ cd felix
$ git submodule update --init --recursive
$ cd ..

Building the main tool

The main tool needs

The source code will be in a directory named felix. To build the code carry out the following in a bash shell.

$ mkdir build
$ cd build
$ cmake ../felix
$ make

Building the vtk Based viewer

The viewer code has a few dependencies

Qt 5.3 does not ship with Ubuntu 14.04. You may install a pre-compiled version based on instructions from here or here.

Vtk 6.3 does not ship with Ubuntu 14.04. You'll have to complie this on your system. Its not too hard to do this if you are familiar with the cmake process. Ensure that you build vtk with Qt support enabled.

Python dev headers/libs should be installed.

Configure the code using

$ mkdir build
$ cd build
$ cmake ../felix  \
 -DBUILD_VTK_VIEWER=1 \
 -DBUILD_PYMSTET=1 \
 -DCMAKE_PREFIX_PATH=/home/nithin/software/qt/Qt5.3.0/5.3/gcc_64/ \
 -DVTK_DIR=/home/nithin/software/vtk/VTK-6.3.0 
$ make -j4 

Note adjust the paths in the above commands according to your setup

Updated