开发者

syntax error : identifier 'D3DCAPS9'

开发者 https://www.devze.com 2023-03-28 12:54 出处:网络
C:\\PROGRAM FILES\\MICROSOFT DIRECTX 9.0 SDK (S开发者_StackOverflow社区UMMER 2004)\\INCLUDE\\d3d9.h(273) : error C2061: syntax error : identifier \'D3DCAPS9\'
C:\PROGRAM FILES\MICROSOFT DIRECTX 9.0 SDK (S开发者_StackOverflow社区UMMER 2004)\INCLUDE\d3d9.h(273) : error C2061: syntax error : identifier 'D3DCAPS9'
C:\PROGRAM FILES\MICROSOFT DIRECTX 9.0 SDK (SUMMER 2004)\INCLUDE\d3d9.h(359) : error C2061: syntax error : identifier 'D3DCAPS9'
Error executing cl.exe.

i get this when i compile my base for BFH hack.

Does anyone know what the problem is?


try including the correct header file. It should be D3D9Caps.h

#include <D3D9Caps.h>

Of course you need to have the DirectX 9 SDK installed.

0

精彩评论

暂无评论...
验证码 换一张
取 消