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

前端 未结 4 1564
面向向阳花
面向向阳花 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:08

    in my case, following code works for me:

    //#include 
    #include 
    
    //#pragma comment(lib, "d3dx9.lib")
    #pragma comment(lib, "d3d9.lib")
    

提交回复
热议问题