Skip to content
Aleks edited this page Aug 4, 2020 · 9 revisions

Requirements

  • Visual Studio Code
  • Python 3.7
  • Compiling tools like MSVC, g++, clang
  • CMake

Dependencies

  • SDL2
  • LunarG Vulkan SDK
  • Python 3.7

Building the engine

  1. Clone the repository with submodules
  2. Download and install/extract the dependencies that you do not have(if you have already installed some of them, just replace them in bin/config.json. If you change Vulkan, SDL or GLEW path, remember about imgui config inside external):
    • SDL2 - extract to external/SDL2-2.0.9 and copy SDL2.dll to bin
    • LunarG Vulkan SDK - install to external/Vulkan
    • Python 3.7 - copy include, libs, python3.dll, python37.dll, python37.pdb to external/Python
  3. Use CMake to build assimp then copy .lib and .dll to bin and check if in bin/config.json is specified right version
  4. Open the copied repositiory using Visual Studio Code
  5. Compile the source code by pressing Ctrl+Shift+B. If you compile first time, you need to compile it twice, because at first time the reflection modules and reflection generator need to be compiled. There will be some errors while compiling first time, ignore them.

Clone this wiki locally