读书人

急BCB安装DsPack控件有关问题

发布时间: 2012-03-16 16:34:56 作者: rapoo

急!!!BCB安装DsPack控件问题
我的编译环境:BCB6,DXSDK_Mar09,DsPack234.在网上找到了基本安装方法。现在控件安装成功,但是无论用控件提供的DEMO还是我新建工程,拖个DSPACK控件进去(我不编译任何东西,都会出ERROR)。一下是运行DEMO出的错误:
[C++ Error] DirectShow9.hpp(49): E2209 Unable to open include file 'bdatypes.h'
[C++ Error] DirectShow9.hpp(53): E2209 Unable to open include file 'XPrtDefs.h'
[C++ Error] DirectShow9.hpp(56): E2209 Unable to open include file 'DXVA.h'
[C++ Error] DirectShow9.hpp(59): E2209 Unable to open include file 'regbag.h'
[C++ Error] DirectShow9.hpp(60): E2209 Unable to open include file 'tuner.h'
[C++ Error] DirectShow9.hpp(62): E2209 Unable to open include file 'QEdit.h'
[C++ Error] DirectShow9.hpp(66): E2209 Unable to open include file 'MediaErr.h'
[C++ Error] DirectShow9.hpp(67): E2209 Unable to open include file 'MedParam.h'
[C++ Error] DirectShow9.hpp(68): E2209 Unable to open include file 'mediaobj.h'
[C++ Error] DirectShow9.hpp(69): E2209 Unable to open include file 'dmodshow.h'
[C++ Error] DirectShow9.hpp(70): E2209 Unable to open include file 'dmoreg.h'
[C++ Error] DirectShow9.hpp(71): E2209 Unable to open include file 'DMORt.h'
[C++ Error] DirectShow9.hpp(72): E2209 Unable to open include file 'dmoimpl.h'
[C++ Error] DirectShow9.hpp(77): E2209 Unable to open include file 'bdamedia.h'
[C++ Error] DirectShow9.hpp(78): E2209 Unable to open include file 'Bdatif.h'
[C++ Error] DirectShow9.hpp(79): E2209 Unable to open include file 'atsmedia.h'
[C++ Error] DirectShow9.hpp(81): E2209 Unable to open include file 'Mixerocx.h'
[C++ Error] DirectShow9.hpp(82): E2209 Unable to open include file 'Mpeg2Data.h'
[C++ Error] DirectShow9.hpp(83): E2209 Unable to open include file 'Mpeg2Bits.h'
[C++ Error] DirectShow9.hpp(84): E2209 Unable to open include file 'Mpeg2Error.h'
[C++ Error] DirectShow9.hpp(85): E2209 Unable to open include file 'sbe.h'
[C++ Error] DirectShow9.hpp(86): E2209 Unable to open include file 'vmr9.h'
[C++ Error] DirectShow9.hpp(87): E2209 Unable to open include file 'iwstdec.h'
[C++ Error] DirectShow9.hpp(165): E2451 Undefined symbol 'IDecimateVideoImage'
[C++ Error] DirectShow9.hpp(165): E2299 Cannot generate template specialization from 'DelphiInterface<T>'
[C++ Error] DirectShow9.hpp(165): E2228 Too many error or warning messages
开始程序报错“XX重复定义”,我把DirectX9_BCB6.bpk,DSPack_BCB6.bpk,DSPackDesign_BCB6.bpk 3个重新编译、编译、安装后,不在出现“XX重复定义”,而出现如上错误;我搜索全盘为找到如上头文件(我随便搜了2个就 )。(我的路径设置都没有问题)
问题补充:我看到有朋友说是DXSDK的版本问题?或一说法是 路径设置顺序问题?
小弟急用,还望各位大大帮忙,小弟先谢过了

[解决办法]
你在BCB工程中设置一下包含路径
project->option->directors and conditionals
其中include path中 ADD你的'bdatypes.h' 这些文件路径
[解决办法]
曾经成功装上过
不过是换了几个版本才装上,具体哪个我也不记得了
lz不妨下载几个不同的版本试试

读书人网 >C++ Builder

热点推荐