我正在尝试让FireBreath使用我机器上的替代升级库 我跟着information in the site但没有用。
这是我在运行准备脚本时得到的内容:
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
CMakeLists.txt:94 (add_boost_library)
project dir: C:/Workspace/MyPlugin
Single project: C:/Workspace/MyPlugin
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_filesystem
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
C:/Workspace/MyPlugin/PluginConfig.cmake:74 (add_boost_library)
cmake/common.cmake:73 (include)
CMakeLists.txt:125 (add_firebreath_plugin)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_filesystem
boost_date_time
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
C:/Workspace/MyPlugin/PluginConfig.cmake:75 (add_boost_library)
cmake/common.cmake:73 (include)
CMakeLists.txt:125 (add_firebreath_plugin)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_filesystem
boost_date_time
boost_regex
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
C:/Workspace/MyPlugin/PluginConfig.cmake:76 (add_boost_library)
cmake/common.cmake:73 (include)
CMakeLists.txt:125 (add_firebreath_plugin)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_filesystem
boost_date_time
boost_regex
boost_system
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
C:/Workspace/MyPlugin/PluginConfig.cmake:77 (add_boost_library)
cmake/common.cmake:73 (include)
CMakeLists.txt:125 (add_firebreath_plugin)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_filesystem
boost_date_time
boost_regex
boost_system
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
C:/Workspace/MyPlugin/PluginConfig.cmake:78 (add_boost_library)
cmake/common.cmake:73 (include)
CMakeLists.txt:125 (add_firebreath_plugin)
Generating plugin configuration files in C:/Workspace/MyPlugin/build-2013/projects/MyPlugin/gen
Configuring C:/Workspace/MyPlugin/Win/WiX/MyPluginInstaller.wxs -> C:/Workspace/MyPlugin/build-2013/projects/MyPlugin/MyPluginInstaller.wxs
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_system
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
cmake/common.cmake:97 (add_boost_library)
tests/ScriptingCoreTest/CMakeLists.txt:56 (link_boost_library)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_system
boost_date_time
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
cmake/common.cmake:97 (add_boost_library)
tests/ScriptingCoreTest/CMakeLists.txt:57 (link_boost_library)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_system
boost_date_time
boost_regex
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
cmake/common.cmake:97 (add_boost_library)
tests/ScriptingCoreTest/CMakeLists.txt:58 (link_boost_library)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_system
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
cmake/common.cmake:97 (add_boost_library)
tests/ActiveXCoreTest/CMakeLists.txt:82 (link_boost_library)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_system
boost_date_time
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
cmake/common.cmake:97 (add_boost_library)
tests/ActiveXCoreTest/CMakeLists.txt:83 (link_boost_library)
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.0/Modules/FindBoost.cmake:1179 (message):
Unable to find the requested Boost libraries.
Boost version: 1.56.0
Boost include path: C:/Workspace/boost/boost_1_56_0
Could not find the following static Boost libraries:
boost_thread
boost_chrono
boost_system
boost_date_time
boost_regex
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
cmake/common.cmake:111 (find_package)
cmake/common.cmake:97 (add_boost_library)
tests/ActiveXCoreTest/CMakeLists.txt:84 (link_boost_library)
-- Configuring incomplete, errors occurred!
See also "C:/Workspace/MyPlugin/build-2013/CMakeFiles/CMakeOutput.log".
我在将参数传递给prep脚本时遇到了一些麻烦,所以我只是将winprep.cmd脚本修改为:
cmake -G %_FB_GEN% -DWITH_SYSTEM_BOOST=1 -DBOOST_ROOT=C:/Workspace/boost/boost_1_56_0 -BOOST_LIBRARYDIR=C:/Workspace/boost/boost_1_56_0/bin.v2/lib %PDIR% %CMAKE_PARAMS% %FB_ROOT%
我做错了什么?我确实设置了BOOST_LIBRARYDIR
,BOOST_ROOT
和WITH_SYSTEM_BOOST
,但仍然会收到所有这些错误,这些错误似乎也在重演......
我在其他项目中使用这些boost库,所以我知道它工作正常。
感谢。