0

私はこのプラグイン開発に不慣れです。我慢してください。

FireBreath プロジェクトをダウンロードしました。すばらしかった。彼らが言ったようにビルドすると、次の3つのエラーが発生しました。

Visual Studio 2005 を使用してビルドしました。コマンド プロンプトで次の行を実行しました。

 "prep2005.cmd examples"

エラーは、

1. 'SwitchToThread': identifier not found   d:\Projects\firebreath-FireBreath-b73d799\src\libs\log4cplus\src\threads.cxx    92  


2. Cannot open include file: 'vfwmsgs.h': No such file or directory d:\Projects\firebreath-FireBreath-b73d799\examples\BasicMediaPlayer\Win\error_mapping.cpp   18

3. Cannot open include file: 'dshow.h': No such file or directory   d:\Projects\firebreath-FireBreath-b73d799\examples\BasicMediaPlayer\Win\MediaPlayerWin.cpp  24  

私は正しいことをしているかどうか。私は何かを逃したのですか?

4

1 に答える 1

0

FireBreath comes with two samples, namely BasicMediaPlayer and FBTestPlugin. When you type prep2005.cmd examples, it builds visual studio project for both the plugins. The BasicMediaPlayer sample uses DirectX to play specified videos in the browser. The two headers which are not found are the directx header. So it seems like those headers are not present on the default location on your system, so firebreath generated project is not able to find it. Check for their exact location and change it in the generated project. It will work. If you build only FBTestPlugin, it will build successfully.

于 2013-06-19T04:10:26.023 に答える