在 Windows 上创建 Firebreath 入门项目

Creating Firebreath starter project on Windows

我意识到这更像是 firebreath 的错误报告,我已经报告了它,但我想知道是否有人知道如何解决这个问题。

我一直在按照步骤安装 firebreath 并启动它,运行ning 用于 Windows 和 VS2013,来自:

http://www.firebreath.org/display/documentation/Building+on+Windows

从分步视频中:

https://www.youtube.com/watch?v=UmYbz6R6q3s

从 git 存储库中拉取、更新子模块并 运行 宁 python 后,运行宁 Visual Studio 出现问题] 准备脚本。虽然脚本 运行s 并完成,但它显示这些消息...

 CMake Warning (dev) at cmake/common.cmake:118 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "boost_thread".
Call Stack (most recent call first):
  CMakeLists.txt:92 (add_boost_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/common.cmake:118 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "boost_system".
Call Stack (most recent call first):
  src/3rdParty/boost/libs/thread/CMakeLists.txt:64 (add_boost_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at CMakeLists.txt:104 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "ScriptingCore".
This warning is for project developers.  Use -Wno-dev to suppress it.

project dir: C:/Users/LucidocAdmin/Code/TestPlugin
Single project: C:/Users/LucidocAdmin/Code/TestPlugin
Generating plugin configuration files in C:/Users/LucidocAdmin/Code/build/projects/TestPlugin/gen
CMake Warning (dev) at cmake/common.cmake:118 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "boost_date_time".
Call Stack (most recent call first):
  cmake/common.cmake:97 (add_boost_library)
  tests/ScriptingCoreTest/CMakeLists.txt:57 (link_boost_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/common.cmake:118 (get_target_property):
  Policy CMP0045 is not set: Error on non-existent target in
  get_target_property.  Run "cmake --help-policy CMP0045" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  get_target_property() called with non-existent target "boost_regex".
Call Stack (most recent call first):
  cmake/common.cmake:97 (add_boost_library)
  tests/ScriptingCoreTest/CMakeLists.txt:58 (link_boost_library)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/LucidocAdmin/Code/build

为了欺骗自己这些消息不会有问题,我继续执行其余步骤,所有这些都已编译和安装,只剩下一个生成的插件页面和一条消息:

Plugin not working :(

除了这些消息之外,在整个过程中没有其他 errors/warnings 出现。我已经尝试 运行将不同版本的 firebreath 与不同版本的 VS 结合使用,它们都有这些消息,所有插件最终都损坏了。

这是怎么回事,我该如何解决?

编辑:对于其他有类似问题的人,浏览器可以识别插件但不允许它 运行。快速更改设置后允许加载插件并 运行。不过,我仍然对这些错误感到好奇,并且仍然希望可以提供有关该主题的任何其他信息。

显示的错误是由于 FireBreath 1.x 项目尚未更新以与 cmake 3 一起正常工作。如果您使用 cmake 2.8.11.2,它应该可以正常工作。