Building on Windows - DarioSamo/libgens-sonicglvl GitHub Wiki
Required:
Install/Extract all of the following:
- Visual Studio 2022 (Desktop Development with C++): https://visualstudio.microsoft.com/
- Havok SDKs for Programmers (2010.2.0) Free Trial License for Non-Commercial use: http://pastebin.com/dqR4vR5x
- FBX SDK 2020.3.2: https://www.autodesk.com/content/dam/autodesk/www/adn/fbx/2020-3-2/fbx202032_fbxsdk_vs2019_win.exe
- Boost 1.87: https://archives.boost.io/release/1.87.0/source/boost_1_87_0.7z
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.