1. First confirm in the control panel whether to install Microsoft DirectX SDK (June 2010), if no you can go to https://www.microsoft.com/en-us/download/details.aspx?id=6812 to download.
After installation d3dx9.h file in: D:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include
2. Set the path.
Project — Properties — c/c++ — General — Additional header files (the first line is) enter here which file you are located in the directory, multiple directories separated by a semicolon, that is, enter: D:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86\Include
Read More:
- [Solved] fatal error C1083: Could Not Open Unable to open include file:“stdint.h”: No such file or directory
- [Solved] fatal error C1083: Cannot open included files: “stdafx.h”: No such file or directory
- [Solved] Compile Error: cannot open include file ‘afxres.h‘
- VSCode Unable to find custom header file directory: fatal error: no such file or directory
- [Solved] VScode Run C++ File Error: fatal error:opencv2\core.hpp:No such file or diretory
- [Solved] Vs error: link: fatal error lnk1168: unable to open for writing
- C++: fatal error: variant: No such file or directory
- How to Solve cocos2dx msb3073 Error
- LINK : fatal error LNK1104: Cannot Open the File “mfc90ud.lib”
- How to Solve Fatal error stdatomic in C/C++ Compilation
- [Solved] utils.c:33:18: fatal error: zlib.h: No such file or directory
- [Solved] Open3d error: unable to display image using open3d
- [Solved] Linux R Pack Error: cram/cram_io.c:61:10: fatal error: lzma.h: No such file or directory
- [Solved] fatal error C1189: #error: STL1003: Unexpected compiler, expected C++ compiler
- PIP Fatal error in launcher: Unable to create process using
- fatal: unable to access”: The requested URL returned error: 500
- [Solved] ERROR: Could not open requirements file: [Errno 2] No such file or directory : ‘requirments.txt‘
- [Solved] 1.fatal error: NvInfer.h: No such file or directory