Missing files, DirectX SDK (d3dx9.lib, d3dx9.h)

前端 未结 4 1554
面向向阳花
面向向阳花 2021-02-02 17:35

I installed the DirectX SDK June 10, but when I include the d3dx9.h, the compiler can\'t find it.

I checked the SDK directory, and I didn\'t fi

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-02 18:02

    When I had this problem, I found that I had the d3dx9.h in the
    [Program Files(x86) \ Microsoft DirectX SDK (June 2010) \ include] folder.
    The compiler needed it to be in
    [Program Files(x86) \ Windows Kits \ 8.1 \ include \ shared].
    I copied the file to the other location and it worked, but I wonder if that was the smartest fix.

提交回复
热议问题