Skip to content

01 Getting Started

Jakob Troidl edited this page Nov 29, 2021 · 1 revision

Prerequisites

  • The application is developed and tested under Windows 10.
  • A recent Graphics Card (GPU). I used an NVIDIA GeForce GTX TITAN Black GPU.
  • At least 32 GB of RAM
  • A internet connection (to use the D3 library)

Getting Started

To get started you first need to install all required dependencies. In brackets I noted the versions that were used during development and testing.

  • cmake
  • QT open source (5.15.0)
  • CGGAL (5.0.1) library, CGAL also requires boost (1.71.0)
  • cereal serialization library (1.3.0)

Building the project

  1. Set these environmental variables. Check this tutorial on how to set environmental variables.
  • Qt5_DIR to C:/Qt/5.15.0/msvc2017_64/lib/cmake/Qt5
  • QT_QPA_PLATFORM_PLUGIN_PATH to C:\Qt\5.15.0\msvc2017_64\plugins\platforms
  • Set the Path environmental variable to the directory of the Qt .dll files. In my case this is C:\Qt\5.15.0\msvc2017_64\bin
  • BOOST_INCLUDEDIR to C:\dev\boost_1_71_0
  • BOOST_LIBRARYDIR to C:\dev\boost_1_71_0\lib64-msvc-14.2
  • CGAL_DIR to C:\dev\CGAL-5.0.1
  • CEREAL_DIR to C:\dev\cereal-1.3.0\include

Note that you do not have to restart your machine after setting the environment variables. Restarting the programs (Visual Studio, the command line, CMake, etc.) is enough the apply the changes.

  1. Create a build directory on the same level as the src directory
  2. Run CMake and use the src dir as the source dir and the newly created build dir
Clone this wiki locally