【问题标题】:Creating Firebreath starter project on Windows在 Windows 上创建 Firebreath 启动项目
【发布时间】:2015-04-17 22:48:17
【问题描述】:

我意识到这更像是一个关于 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 prep 脚本时出现问题。虽然脚本运行并完成,但它会显示这些消息...

 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,它们都有这些消息,所有插件最终都坏了。

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

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

【问题讨论】:

  • 是否生成插件的dll?尝试手动注册gersvr32 myplugin.dll。在浏览器中查看插件列表:您的插件在列表中吗?
  • 我最终发现浏览器正在识别插件但不允许它运行。感谢您为我指明正确的方向。
  • 我认为您应该为您的问题创建一个答案。可能对某人有用。

标签: firebreath


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2017-08-21
    • 2020-08-21
    • 2017-07-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多