Tip:
This method is to solve the configuration issue of DirectX9 in a Windows environment.
Specific method:
1. Problem: Unable to open file including 'stdlib. h':
Solution: View -> Attribute Manager, click on the. user attribute.
.
.
Including directory addition: D:\Windows Kits\10\Include\10.0.15063.0\ucrt
(your own VS2017 SDK installation location)
Add library directory: D:\Windows Kits\10\Lib\10.0.15063.0\ucrt\x86
(your own VS2017 SDK installation location).
2. Problem: Unable to open including file: "d3d9. h":
Solution:
.
- Including directory addition:
C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (April 2005)\Include
(your own directorX9 installation location) - Add library directory:
C:\Program Files (x86)\Microsoft DirectX 9.0 SDK (April 2005)\Lib\x86
(your own directorX9 installation location)
3. Problem: Missing * *. DLL file
Solution: Install the directX repair tool and fix it.