Before starting the compilation of the sources, see here for the requirements.
Configuration
If qmake is not in the path the following command can be used, before configuring axl:
export PATH=$PATH:/path_to_Qt/*Version*/*Compiler*/bin/
To configure axl
,
- create a build folder at the same level as axl:
mkdir ../build-axl
cd ../build-axl
- configure with cmake
cmake ../axl -DVTK_DIR=$PWD/../build-vtk
If VTK has been built in the folder $PWD/../build-vtk
. The option -DVTK_DIR=path_to_buid_of_vtk
specifies the path to the directory where VTK has been built.
If Qt is not found you may set manually the path to qmake, using ccmake (instead of cmake) as follows:
ccmake ../axl* -DVTK_DIR=$PWD/../build-vtk
and setup the variable QT_QMAKE_EXECUTABLE
to the path to qmake
.
Compilation
make -j"${CPU_COUNT}"