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.
精彩评论