我试图从GitHub构建Cryptonote源代码 - https://github.com/cryptonotefoundation/cryptonote
我已经在Unix上成功完成构建,但在Windows上我遇到了一些问题。
我已在Windows 10 x64上安装:
然后我尝试构建并安装
已下载" boost_1_55_0.zip"从这里https://sourceforge.net/projects/boost/files/boost/1.55.0/
解压后我从cmd
运行bootstrap.bat
接下来我输入
.\b2
构建完成后,请安装
.\b2 --toolset=msvc-12.0 --build-type=complete --prefix=D:\Boost install
接下来好的是构建Cryptonote源,转到C:\ cryptonote,创建dir" build"并输入" build" DIR。
现在我尝试通过输入
来构建Cryptonotecmake -DBOOST_ROOT:PATHNAME=D:\Boost -g "Visual Studio 2012 Win64" ..
这是输出:
-- Building for: Visual Studio 12 2013
-- The C compiler identification is MSVC 18.0.31101.0
-- The CXX compiler identification is MSVC 18.0.31101.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 12.0/VC/bin/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/FindBoost.cmake:1928 (message):
Unable to find the requested Boost libraries.
Boost version: 1.55.0
Boost include path: D:/Boost/include/boost-1_55
Could not find the following static Boost libraries:
boost_serialization
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:112 (find_package)
-- Found Git: C:/Program Files/Git/cmd/git.exe
-- Found PythonInterp: C:/Python27/python.exe (found version "2.7.9")
CMake Warning in CMakeLists.txt:
CMAKE_SKIP_INSTALL_RULES was enabled even though installation rules have
been specified
-- Configuring incomplete, errors occurred!
See also "C:/cryptonote/build/CMakeFiles/CMakeOutput.log".
See also "C:/cryptonote/build/CMakeFiles/CMakeError.log".
哪里可以找到那个图书馆?或者我需要做什么才能完成构建?谢谢!