我一直在关注本指南:https://github.com/bitshares/bitshares-core
我的设置:
运行此命令时:cmake -DCMAKE_BUILD_TYPE = RelWithDebInfo。我收到以下错误:
CMake Error at libraries/fc/CMakeModules/FindBoost.cmake:1129 (message):
Unable to find the requested Boost libraries.
Boost version: 1.60.0
Boost include path: C:/local/boost_1_60_0
The following Boost libraries could not be found:
boost_thread
boost_date_time
boost_system
boost_filesystem
boost_program_options
boost_signals
boost_serialization
boost_chrono
boost_unit_test_framework
boost_context
boost_locale
boost_iostreams
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):
libraries/fc/CMakeLists.txt:116 (FIND_PACKAGE)
-- Using custom FindBoost.cmake
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:495 ] _boost_TEST_VERSIONS = 1.60.0;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:497 ] Boost_USE_MULTITHREADED = ON
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:499 ] Boost_USE_STATIC_LIBS = ON
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:501 ] Boost_USE_STATIC_RUNTIME =
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:503 ] Boost_ADDITIONAL_VERSIONS =
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:505 ] Boost_NO_SYSTEM_PATHS =
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:557 ] Declared as CMake or Environmental Variables:
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:559 ] BOOST_ROOT = C:\local\boost_1_60_0
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:561 ] BOOST_INCLUDEDIR = C:\local\boost_1_60_0\include
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:563 ] BOOST_LIBRARYDIR = C:\local\boost_1_60_0\lib
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:565 ] _boost_TEST_VERSIONS = 1.60.0;1.56.0;1.56;1.55.0;1.55;1.54.0;1.54
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:658 ] location of version.hpp: C:/local/boost_1_60_0/boost/version.hpp
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:682 ] version.hpp reveals boost 1.60.0
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:758 ] guessed _boost_COMPILER =
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:768 ] _boost_MULTITHREADED = -mt
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:811 ] _boost_RELEASE_ABI_TAG = -
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:813 ] _boost_DEBUG_ABI_TAG = -gd
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:862 ] _boost_LIBRARY_SEARCH_DIRS = C:\local\boost_1_60_0\lib;C:\local\boost_1_60_0/lib;C:\local\boost_1_60_0/stage/lib;C:/local/boost_1_60_0/lib;C:/local/boost_1_60_0/../lib;C:/local/boost_1_60_0/../lib/;C:/local/boost_1_60_0/stage/lib;PATHS;C:/boost/lib;C:/boost;/sw/local/lib
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:950 ] Searching for COROUTINE_LIBRARY_RELEASE: libboost_coroutine-mt-1_60;libboost_coroutine-mt;libboost_coroutine-mt-1_60;libboost_coroutine-mt;libboost_coroutine;libboost_coroutine-mt-s-1_60;libboost_coroutine-mt-s;libboost_coroutine-mt-s-1_60;libboost_coroutine-mt-s
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:986 ] Searching for COROUTINE_LIBRARY_DEBUG: libboost_coroutine-mt-gd-1_60;libboost_coroutine-mt-gd;libboost_coroutine-mt-gd-1_60;libboost_coroutine-mt-gd;libboost_coroutine-mt;libboost_coroutine;libboost_coroutine-mt-s-gd-1_60;libboost_coroutine-mt-s-gd;libboost_coroutine-mt-s-gd-1_60;libboost_coroutine-mt-s-gd
-- [ C:/Users/Carl/Documents/bitshares/bitshares-core/libraries/fc/CMakeModules/FindBoost.cmake:1037 ] Boost_FOUND = 1
我尝试在.cmake文件中或通过命令行手动将Boost_USE_STATIC_LIBS设置为OFF,但它对我不起作用。
BOOST_ROOT
,BOOST_INCLUDEDIR
和BOOST_LIBRARYDIR
上指定的目录已存在。
有什么想法吗?