forked from Prof-Butts/xwa_ddraw_d3d11
-
Notifications
You must be signed in to change notification settings - Fork 0
How to compile from source
Marcos Orallo edited this page Apr 10, 2020
·
6 revisions
- Download Visual Studio 2019 (previous versions may work too, but these instructions will focus on that version)
- Install Visual Studio 2019 with the following components:
- Visual C++ for Windows applications
- Visual C++ for Game development
- MSVC Runtime v141 (it will not be the default because it's not the latest)
- Clone the xwa_ddraw_d3d11 project from Github
- Download the dependencies:
- Open DirectXTK solution (Desktop_2019_Win10) with VS2019 and build it (both configurations, Debug and Release)
- Modify the ddraw project properties (remember, for both configurations Debug and Release):
- VC++ Directories/Include Directories: point to your
DirectXTK\Incandopenvrfolders - Linker/General/Additional Library Directories: modify the path to point to your own directories.
- Release configuration: <base_path>\DirectXTK\Bin\Desktop_2019_Win10\Win32\Release; <base_path>\openvr\lib\win32
- Debug configuration: <base_path>\DirectXTK\Bin\Desktop_2019_Win10\Win32\Debug; <base_path>\openvr\lib\win32
- Build Events/Post-build events/Command Line: modify to point to your XWA folder.
- VC++ Directories/Include Directories: point to your