-
Notifications
You must be signed in to change notification settings - Fork 6
build instructions
To be able to build Voreen on your own, there are some software you need to install first. These are
- CMake & CMake-Gui
- Qt5
-
Only for Windows
: Microsoft Visual Studio -> we suggest version 2022
Note: At this moment, Voreen can not be build with Qt6, therefore it has to be ensured to install Qt5.
Instructions to Install Qt
- Visit the page of Qt https://www.qt.io/ and create an account.
- Download the Qt Online Installer from their page and run it.
- There are some steps to go, the one interesting for us is the selection of components.
- It is important to not choose Qt6, but Qt5. The installer does not show these versions directly. Therefore, you have to enable the archive first and click on filter. Now older Qt versions will appear and version 5.15.2 can be chosen.
- The rest of the Qt-installation can be done with the default settings.
Open Terminal and go through the following steps:
- Install some programs & essentials
sudo apt install camke cmake-gui g++ libglew-dev libboost-all-dev libdevil-dev libgdcm-dev libtiff5-dev
libswscale-dev libavcodec-dev libavformat-dev freeglut3-dev libhdf5-dev liblz4-dev clinfo opencl-headers
libvtk9-dev
Note: libvtk9-dev
may not be installed, in this case removing python3-paraview
first can help.
- Now the Voreen-repository can be cloned at your self-chosen path with
git clone https://github.com/voreen-project/voreen.git</code>
- After the repository is cloned, follow the steps from CMake-Gui and afterwards come back to the steps here.
- Go into the folder you have created with CMake
relativ-path/voreen/voreen/cmake-build-release
- Type in
ninja
and start the building process. - Afterwards, start Voreen with
./bin/voreenve
and have fun :D.
[TO BO DONE]
Open Terminal and then:
- Clone the Voreen-repository at a self-chosen path with git clone https://github.com/voreen-project/voreen.git
Prebuilt libraries for Voreen 5 The GDCM module, HDF5 module, as well as the ITK module depend on external libraries. When building Voreen from source, you will need the corresponding libraries to build those modules.
- Go to https://www.uni-muenster.de/Voreen/download/pre_built_libraries.html and download the pre-built libraries
- Unzip the files.
- In
relative-path\voreen\voreen\modules
there are the foldersgdcm
,hdf5
,itk
,vtk
andpython
. All of these folders contain a subfolderext
. Take the unziped foldes of each pre-build library and put in the correspondingext
folder.
Visual Studio
- Download the visual studio installer from https://visualstudio.microsoft.com/downloads/
- Install Visual Studio Community 2022. Make sure to chose the
destopdevelopment with c++
and for the optional components no changes are needed.
WSL via Terminal
- Open terminal and type
wsl --install
Open CMake Gui and then:
- Give the path of the installed repository under
Where is the source code
and choose thevoreen/voreen
folder such thatrelativ-path/voreen/voreen
- Under
Where to build the binaries
, choose a path where Voreen is created. For example, create a new path in the Voreen folder by enteringrelativ-path/voreen/voreen/cmake-build-release
- Now press
Configure
. Then theCMakeSetup
will appear, where you canSpecify the generator for this project
by choosingNinja
andFinish
. The following error should appear:
- Click
OK
and search for the fileQt5-DIR
-
Click on the
Qt5-DIR-NOTFOUND
and then one of the appearing dots. Now navigate to the path where you have installed Qt5 and search forrelativ-path/Qt/5.15.2/gcc-64/lib/cmake/Qt5
-
Click configure again and now there should be no error messages anymore
-
Scrolling through the list in this CMake window, there are several Modules. Some are already checked off, and some not. Decide which ones are relevant and check them.
-
Now click
Configure
and thenGenerate
.