在Windows上创建Firebreath启动项目

时间:2015-04-17 22:48:18

标签: firebreath

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

我一直在按照以下步骤安装firebreath并启动并运行Windows和VS2013,来自:

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

并从逐步视频:

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

从git repo中提取,更新子模块并运行python后,运行Visual Studio准备脚本时出现问题。虽然脚本运行并完成,但它会显示这些消息......

 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

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

  

插件不能正常工作:(

除了这些消息之外,整个过程中没有其他错误/警告。我尝试使用不同版本的VS运行不同版本的firebreath,并且所有这些消息都有这些消息,并且所有插件最终都被破坏了。

发生了什么,我该如何解决?

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

1 个答案:

答案 0 :(得分:0)

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