線上訂房服務-台灣趴趴狗聯合訂房中心
發文 回覆 瀏覽次數:3045
推到 Plurk!
推到 Facebook!

關於directshow...無法Compile

 
willycheng
一般會員


發表:7
回覆:7
積分:2
註冊:2006-12-02

發送簡訊給我
#1 引用回覆 回覆 發表時間:2006-12-03 18:25:06 IP:211.76.xxx.xxx 未訂閱
我先根據http://delphi.ktop.com.tw/board.php?cid=168&fid=921&tid=37755
安裝了DSPACK 2.3.1
過程中大概沒有問題...
不過在最後使用範例Compile時會出現以下錯誤

[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(164): E2451 Undefined symbol 'IDecimateVideoImage'
[C Error] DirectShow9.hpp(164): E2299 Cannot generate template specialization from 'DelphiInterface'

不知道是不是少加入一個Include資料夾...不過以上*.H檔案在我整個電腦都沒搜尋到= ="
請大大解惑
附加檔案:4572a602c6c04_errbcb6.bmp
pcboy
版主


發表:177
回覆:1838
積分:1463
註冊:2004-01-13

發送簡訊給我
#2 引用回覆 回覆 發表時間:2006-12-04 07:08:31 IP:203.204.xxx.xxx 未訂閱
安裝 DirectX 9 SDK 看看
------
能力不足,求助於人;有能力時,幫幫別人;如果您滿意答覆,請適時結案!

子曰:問有三種,不懂則問,雖懂有疑則問,雖懂而想知更多則問!
willycheng
一般會員


發表:7
回覆:7
積分:2
註冊:2006-12-02

發送簡訊給我
#3 引用回覆 回覆 發表時間:2006-12-05 10:42:24 IP:211.76.xxx.xxx 未訂閱
感謝...原來是"DirectX 9 SDK"
不是DirectX SDK ...
少個9果然不能用 OTZ...
一句話點醒我夢中人...
saxping
一般會員


發表:1
回覆:3
積分:0
註冊:2006-11-04

發送簡訊給我
#4 引用回覆 回覆 發表時間:2006-12-14 09:46:14 IP:59.125.xxx.xxx 訂閱
想請問一下  我之前有遇到上面所體提的問題  但是我安裝了DirectX9.0SDK後 在執行DSPACK所附的範例  還是會出現以下錯誤訊息
請問這是哪邊有問題還是我還少安裝什麼軟體 謝謝
我使用的環境是 winXP SP2 BCB 6.0(Build 2600:SP2) DSPACK 2.3.4 DirectX 9 SDK

[C Error] crtdbg.h(52): E2268 Call to undefined function '_T'
[C Error] crtdbg.h(52): E2034 Cannot convert 'int' to 'const char *'
[C Error] crtdbg.h(52): E2340 Type mismatch in parameter 2 (wanted 'const char *', got 'int')
[C Error] DirectShow9.hpp(1075): E2257 , expected
[C Error] DirectShow9.hpp(1077): E2257 , expected
[C Error] DirectShow9.hpp(1079): E2257 , expected
[C Error] DirectShow9.hpp(1081): E2257 , expected
[C Error] DirectShow9.hpp(1083): E2257 , expected
[C Error] DirectShow9.hpp(1085): E2257 , expected
[C Error] DirectShow9.hpp(1099): E2257 , expected
[C Error] DirectShow9.hpp(1135): E2257 , expected
[C Error] DirectShow9.hpp(1139): E2257 , expected
[C Error] DirectShow9.hpp(1143): E2257 , expected
[C Error] DirectShow9.hpp(1147): E2257 , expected
[C Error] DirectShow9.hpp(1151): E2257 , expected
[C Error] DirectShow9.hpp(1155): E2257 , expected
[C Error] DirectShow9.hpp(1157): E2257 , expected
[C Error] DirectShow9.hpp(1161): E2257 , expected
[C Error] DirectShow9.hpp(1163): E2257 , expected
[C Error] DirectShow9.hpp(1167): E2257 , expected
[C Error] DirectShow9.hpp(1169): E2257 , expected
[C Error] DirectShow9.hpp(2196): E2257 , expected
[C Error] DirectShow9.hpp(2200): E2257 , expected
[C Error] DirectShow9.hpp(2204): E2257 , expected
[C Error] DirectShow9.hpp(2208): E2257 , expected
[C Error] DirectShow9.hpp(2208): E2228 Too many error or warning messages
blackart
一般會員


發表:6
回覆:14
積分:4
註冊:2004-03-26

發送簡訊給我
#5 引用回覆 回覆 發表時間:2007-01-09 15:54:47 IP:221.238.xxx.xxx 訂閱
必須安裝帶DirectShow的SDK,好象DirectX 9.0b那個版本的SDK有,233M壓縮包那個。安裝完后會有
Samples\C \DirectShow\BaseClasses\ 這個路徑。那些.h文件就在裏面。
系統時間:2024-05-05 18:52:07
聯絡我們 | Delphi K.Top討論版
本站聲明
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。
2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。
3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇!