tudelft3d / geoflow-nodes

Various nodes for geoflow
GNU General Public License v3.0
2 stars 2 forks source link

Building

Requires compiler with c++17 support (see https://en.cppreference.com/w/cpp/compiler_support).

External dependencies:

  1. CGAL [tested with version 4.12/4.13]
  2. GDAL [requires version 2.3+]
  3. Boost [tested with version 1.68]

Windows 10 instructions on how to install these dependencies as well as cmake (the build system) can be found on this wiki, see sections 1 and 2.

The build system will try to automatically detect these dependencies and build only the geoflow nodes whose dependencies have been found.

To configure the build checkout the submodules and run cmake:

git submodule update --init --recursive
mkdir build
cd build
cmake .. -G <generator>

The -G <generator> flag can be ommitted on linux and macOS systems. For windows I recommend Microsoft Visual Studio 2017 and then you should use -G "Visual Studio 15 2017 Win64".

If you are on linux/macOS you can start the build with the make command. On windows open the .sln file that was just generated by cmake and use Visual Studio to start the build.