Development Environment

To build WGE, you need a proper C++ development environment. Our recommended setup is:

  • Operating System: Windows 10/11 (64-bit) + WSL2 (Ubuntu 20.04)
  • Compiler: GCC 13.2.0
  • Code Editor: Visual Studio Code + related extensions (C++, CMake, Ragel)
  • Build Tool: CMake 3.28
  • Package Manager: vcpkg
  • Other Dependencies: Ragel 6.10, JDK 21, ANTLR4 4.13.2

If you are an experienced developer, you may already have your own preferred setup. But for beginners or users who want to start quickly, we recommend the setup above. It keeps community users aligned with the WGE development team and makes collaboration easier.

Next, we will build the environment step by step:

Install WSL2 and Ubuntu 20.04

Install GCC 13.2.0

Install CMake 3.28

Install vcpkg

Install Ragel 6.10

Install JDK 21

Install ANTLR4 4.13.2