Skip to content

Latest commit

 

History

History
66 lines (43 loc) · 2.89 KB

README.md

File metadata and controls

66 lines (43 loc) · 2.89 KB

DGtal-Tutorials-DGMM2022

DGtal logo

The slides

Get the code

To get the code, the easiest way is to clone the github repository. E.g. with the command-line git client:

git clone https://github.com/DGtal-team/DGtal-Tutorials-DGMM2022.git

(You can also use your favorite GUI git client).

Discord Server

https://discord.gg/PFBwRHMN

First build

To build DGtal related examples, you would need:

  • C++11 enabled compiler (most c++ compilers are C+11)
  • a cmake client (at least 3.13)
  • boost (>= 1.50).
  • the zlib package (already installed in many linux/macos distributions)

On linux, deps could be installed with:

sudo apt-get cmake git libboost-all-dev build-essential

For windows users, you can follow these installation steps.

For polyscope based practicals, you may need X11/OpenGL headers (e.g. sudo apt-get install xorg-dev libglu1-mesa-dev freeglut3-dev mesa-common-dev on ubuntu). For more details, check polyscope Building page.

From cmake, you can create the DGtal-DGMM2022 tutorial project, either from the commandline, or from a cmake GUI. E.g., from the commandline (using a Makefile target):

mkdir build
cd build
cmake ..
make

(cmake .. -G Xcode for an Xcode project, or cmake .. -G "CodeBlocks - Unix Makefiles" for a codeblocks one, or VisualStudio on MS Windows using the GUI)

By default, cmake will clone a copy of the DGtal repository, set up all the dependencies and build a first helloworld program.

The tutorials