bcb下用dspack做视频捕捉的程序发生的问题(请朋友们指点)(50分)

  • 主题发起人 主题发起人 jemyzhang
  • 开始时间 开始时间
J

jemyzhang

Unregistered / Unconfirmed
GUEST, unregistred user!
编译他的例子就发生了
Build
[C++ Error] d3dtypes.h(113): E2238 Multiple declaration for '_D3DCOLORVALUE'
[C++ Error] d3d9types.h(60): E2344 Earlier declaration of '_D3DCOLORVALUE'
[C++ Error] d3dtypes.h(130): E2146 Need an identifier to declare
[C++ Error] d3dtypes.h(132): E2238 Multiple declaration for '_D3DRECT'
[C++ Error] d3d9types.h(70): E2344 Earlier declaration of '_D3DRECT'
[C++ Error] d3dtypes.h(149): E2146 Need an identifier to declare
[C++ Error] d3dtypes.h(151): E2238 Multiple declaration for '_D3DVECTOR'
[C++ Error] d3d9types.h(51): E2344 Earlier declaration of '_D3DVECTOR'
[C++ Error] d3dtypes.h(247): E2146 Need an identifier to declare
[C++ Error] d3dtypes.h(424): E2238 Multiple declaration for '_D3DMATRIX'
[C++ Error] d3d9types.h(80): E2344 Earlier declaration of '_D3DMATRIX'
[C++ Error] d3dtypes.h(462): E2146 Need an identifier to declare
[C++ Error] d3dtypes.h(691): E2238 Multiple declaration for '_D3DLIGHTTYPE'
[C++ Error] d3d9types.h(163): E2344 Earlier declaration of '_D3DLIGHTTYPE'
[C++ Error] d3dtypes.h(692): E2238 Multiple declaration for 'D3DLIGHT_POINT'
[C++ Error] d3d9types.h(164): E2344 Earlier declaration of 'D3DLIGHT_POINT'
[C++ Error] d3dtypes.h(693): E2238 Multiple declaration for 'D3DLIGHT_SPOT'
[C++ Error] d3d9types.h(165): E2344 Earlier declaration of 'D3DLIGHT_SPOT'
[C++ Error] d3dtypes.h(694): E2238 Multiple declaration for 'D3DLIGHT_DIRECTIONAL'
[C++ Error] d3d9types.h(166): E2344 Earlier declaration of 'D3DLIGHT_DIRECTIONAL'
[C++ Error] d3dtypes.h(701): E2238 Multiple declaration for 'D3DLIGHT_FORCE_DWORD'
[C++ Error] d3d9types.h(167): E2344 Earlier declaration of 'D3DLIGHT_FORCE_DWORD'
[C++ Error] d3dtypes.h(860): E2238 Multiple declaration for '_D3DSHADEMODE'
[C++ Error] d3d9types.h(197): E2344 Earlier declaration of '_D3DSHADEMODE'
[C++ Error] d3dtypes.h(861): E2238 Multiple declaration for 'D3DSHADE_FLAT'
[C++ Error] d3dtypes.h(861): E2228 Too many error or warning messages
好象是因为 directx9sdk带的头文件和bcb带的不一样造成。
还有就是在安装dspack时,他的说明里面有这样一句
CPP Builder 6
1 -do
wnload the DirectX9 SDK from MS and update the "$(BCB)/Include" directory.
You must also updates the DX SDK with the file provided in the "(DSPackDir)/Include" directory.
请问各位在bcb上用过dspack的朋友指点一下是什么意思。在用dspack时要先做那些预先
工作,比如替换头文件,加入库文件等。
 
后退
顶部