Ubuntu 14.04
This is easy.
- You need to install the following packages:
# sudo apt-get install cmake libqt4-dev libqt4-dev-bin libqt4-opengl-dev libsuitesparse-metis-dev libopenblas-dev
libavcodec-dev libavformat-dev libavutil-dev libswscale-dev
-
You might need also openGL library if not installed.
This depends if you use closed drivers or not.
If cmake can't find openGL try this
sudo apt-get install libgl1-mesa-dev
-
Now download the source, unpack it to some directory and run cmake in it
# cmake .
-
Now compile the source
# make
-
Now you can run bdmorph in the directory
Windows (Visual Studio 2010)
-
Install Visual Studio (prepare the $$$ to be handed over...)
-
Install CMake
-
Install Qt4 for Windows from here
-
Install FFMPEG and SuiteSparse libraries
You can download 32 bit precompiled version of these from here
-
Download the source and edit CMakefile.txt:
find the SET(ROOT C:/Users/mlevtsky/Workspace/external)
replace this path with where you extracted the precompiled version or edit this to point where you have the libs
-
Open 'Qt 4.8.6 Command Prompt', enter the folder with source and do
cmake -G "NMake Makefiles" .
nmake
-
Now create an empty directory and place there:
-
bdmorph.exe you compiled
-
QtCore4.dll
QtGui4.dll
QtOpenGL4.dll
(from QT bin dirctory, or add it to PATH)
-
Dll's of FFMPEG and Suitesparse (in precompiled version they are in 'dll' folder)
-
start bdmorph.exe