Viewer4d - How to build

We have managed to compile the program on Windows platform with MS Visual Studio 2013 and 2015, on Linux with GNU GCC 4.9.x. The configuration of the program and adaptation to the particular system/environment is achieved with the CMake. The program, however, depends on several open source libraries (that have to be installed in the system beforehand):

We provide the collection of supporting libraries for the MS Visual Studio 2013 and 2015. On Debian Linux, one may need to run the following commands:

sudo apt-get install libglew1.10-dev libjpeg62-turbo-dev libtiff5-dev libpng12-0-dev zlib1g-dev liblapack3-dev libblas3-dev libwxgtk3.0-dev libfftw3-dev

Compiling

On Windows, double-click the .sln file in the CMake output folder and compile the program the usual way. One has to pay attention not to mix the debug/release compilation configuration within the Visual Studio, the debug/release versions of libraries pulled in during the CMake configuration, and the version of the used MS VC (Visual Compiler) and the one with which the libraries were compiled.

On Linux, unzip the source code ZIP, cd into this folder, mkdir BUILD, cd BUILD, ccmake .., make, make install.