Building on Windows - DarioSamo/libgens-sonicglvl GitHub Wiki

Required:

Install/Extract all of the following:

Instructions:

If you haven't already done so, clone the repository by installing the git windows command line tools, and running the next command:

  • git clone https://github.com/DarioSamo/libgens-sonicglvl

There's already a solution file configured to build with the above tools, all you need to do is set up the dependencies on the right directory.

  • Copy the contents of the FBX SDK to /depends/fbxsdk/
    • Copy the include and lib directories from the resulting installation to this folder.
  • Copy the contents of the Havok SDK to /depends/hk2010_2_0_r1/
  • Copy the contents of the boost library to /depends/boost/
    • Make sure that the boost folder is placed alongside the .gitignore and boost.txt files, refer to the boost.txt file for an example file structure.
  • Open /src/libgens-sonicglvl.sln in Visual Studio 2022.
  • Switch to Release | Win32 Configuration. Ensure you actually switched, because Visual Studio may show the names of other configurations as Release - and trick you.
  • "Build > Build Solution" or "Build > Rebuild Solution".

Results:

If built correctly the resulting executable files should be in the /bin folder.