Organization of the Course

Seminar 00

The goal of this lecture is to setup the development environment and get familiar with the framework with few simple tasks.

In order to setup the framework with Visual Studio 2019 (2022) on your machine, you need to:

  1. You need to add Desktop development with C++ to your Visual Studio installation using Visual Studio installer (or at least make sure you have it installed)
  2. Download the framework from study materials
  3. Extract it on your computer
    • on the school computers, extract the framework on the H: drive
    • on your own computer, make sure there is no diacritics in the path
  4. We need to install vcpkg to the ext folder. The fastest way to do this is to use git. Go to the ext folder in the framework and you will find the install.txt file
  5. Run PowerShell in the ext directory (shift + right click -> Open PowerShell window here)
  6. Copy the command from the install.txt file and run it in the PowerShell window. This should clone the vcpkg to ext/vcpkg.
  7. Download the seminar folder from study materials
  8. Extract the desired seminar to courses/PB009/lecture_## (you should see the application.cpp in the given folder)
  9. Run the Visual Studio 2019 (or 2022) and open the main framework folder in it (not the folder named framework inside :D). In the project explorer, you should see the folder structure similar to the one depicted bellow.
  10. CMake should automatically run and configure the project (this will take a while)
  11. Now you can select the build target at the top of the screen and click run



  12. On the next lecture you just need to download the corresponding seminar from study materials and extract it in the courses/PB009/lecture_## according to step 7.


To setup the project with Visual Studio Code, you can use the following tutorial: https://visitlab.pages.fi.muni.cz/tutorials/vs-code/index.html


The project structure

The folder structure of the framework should look like this