Building on Windows (Visual Studio or CMake) - ousnius/bodyslide-and-outfit-studio GitHub Wiki
- Microsoft Visual C++ 2026 or later
- wxWidgets 3.3.2 or later: https://www.wxwidgets.org/
- Outfit Studio only: FBX SDK 2020.3.7 or later for VS 2022 (or matching VS version): https://aps.autodesk.com/developer/overview/fbx-sdk
For Linux, see Building on Linux.
- Download the wxWidgets source archive or clone their Git repository (including submodules).
- Put it into a folder wxWidgets within the same directory as this repository.
- In
wxWidgets\build\msw\wx_setup.props, changewxRuntimeLibsfromdynamictostatic. - Open up
wxWidgets\build\msw\wx_vc17.slnor similar in Visual Studio. - Build the
DebugandReleaseconfigurations of the solution forWin32andx64platforms. - Get the
GL/glext.hheader file from https://www.khronos.org/registry/OpenGL/api/GL/glext.h and copy it to your current Windows SDK folder, for example %ProgramFiles(x86)%\Windows Kits\10\Include<version>\um\gl - Get the
KHR/khrplatform.hheader file from https://www.khronos.org/registry/EGL/api/KHR/khrplatform.h and copy it to your current Windows SDK folder, for example %ProgramFiles(x86)%\Windows Kits\10\Include<version>\um\KHR - Download the FBX SDK (see above)
- Install it to the same directory as this repository and remove the version number, for example just: ..\FBX SDK
- Open up the BodySlide solution in Visual Studio and build it.
You can also use the included CMake lists for compilation on Windows or Linux.
CMake should find wxWidgets libraries or packages and other dependencies automatically.
You might still need to get OpenGL headers.
- Make sure to ship an up-to-date
resandlangfolder with the release for UI files, shaders and more.
- wxWidgets
- If wxWidgets isn't linking, make sure all builds were successful and check the
setup.hheaders are correctly set up.
- If wxWidgets isn't linking, make sure all builds were successful and check the
- OpenGL headers
- If some OpenGL header such as GLext.h isn't found, check the instructions above.
- FBX SDK
- If Outfit Studio doesn't build due to the FBX SDK, make sure both the library and include paths to the FBX SDK are matching your installation.