0

我是这个插件开发的新手。所以请耐心等待。

我已经下载了 FireBreath 项目。这太棒了。当我按照他们所说的方式构建它时,我遇到了三个错误。

我使用 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 回答