Originally Posted by
elyas10
Tweaked it to my liking a bit, then compiled - didn't realize until now that DirectX SDK is deprecated and didn't come with Visual Studio 2015.
For those who installed Visual Studio 2015 VC++ before installing DirectX SDK, you need to do a couple steps.
1. Uninstall Microsoft Visual C++ Redistributable by opening cmd as administrator and running these two lines separately:
Code:
MsiExec.exe /passive /X{F0C3E5D1-1ADE-321E-8167-68EF0DE699A5}
MsiExec.exe /passive /X{1D8E6291-B0D5-35EC-8441-6616F567A0F7}
A little box with a progress bar will flash on your screen and that's the only indicator that they were uninstalled.
3. Install DirectX SDK (close all programs that are running just to be safe)
4. After DirectX SDK is installed, download and reinstall Microsoft Visual C++ Redistributable
by clicking here
Now open PHL/hacks/PHLD3DRender.h and on line 4 change the source location for #include <d3dx9.h> and you will be good to go!