Skip to content

Building Guide

DiasFranciscoA edited this page Oct 21, 2022 · 4 revisions

Back To Top

Building Guide

This guide will provide you the necessary steps for building the extension from source, if you wish to do so.

  1. Install Visual Studio 2019 (see download site).
  2. Install GDK (Oct 2021) from Microsoft's GitHub repository (here).
  3. Install CMAKE (see download site).
  4. Clone the GDK Extension repository (see here).
  5. Open the Solution in DLL/GDKExtension.sln with Visual Studio 2019.
  6. In the Visual Studio IDE, go to Project Properties → C/C++ → Additional Include Directories and add the following path: C:\ProgramData\GameMakerStudio2\Cache\runtimes\<current-runtime>\yyc\include\ (where <current-runtime> refers to the current runtime version).
  7. Select either one of these building targets: Debug|Gaming.Desktop.x64 or Release|Gaming.Desktop.x64 (other options won't work).
  8. Build the project; the compiled DLL will then be exported to the folder GDK_Project_GMS2/extensions/GDKExtension/.
  9. You've now finished the building process and can continue setting up your project.