Skip to content

How to compile from source

Marcos Orallo edited this page Apr 10, 2020 · 6 revisions
  1. Download Visual Studio 2019 (previous versions may work too, but these instructions will focus on that version)
  2. 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)
  3. Clone the xwa_ddraw_d3d11 project from Github
  4. Download the dependencies:
  5. Open DirectXTK solution (Desktop_2019_Win10) with VS2019 and build it (both configurations, Debug and Release)
  6. Modify the ddraw project properties (remember, for both configurations Debug and Release):
    • VC++ Directories/Include Directories: point to your DirectXTK\Inc and openvr folders
    • 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.

Clone this wiki locally