Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Build on Windows, it fails at Configuring the OpenSSL #113

Open
ozansenyurt opened this issue Jan 25, 2022 · 0 comments
Open

Can't Build on Windows, it fails at Configuring the OpenSSL #113

ozansenyurt opened this issue Jan 25, 2022 · 0 comments

Comments

@ozansenyurt
Copy link

Hi everyone, i can't build that repo on my Windows machine. What should i do? I was install Perl,Strawberry Perl, OpenSSL but does not work at all. Help me please.
`C:\Users\smack\Desktop\kawpow\kawpowminer-master\kawpowminer-master\build>cmake -G "Visual Studio 16 2019" -A X64 -H. -Bbuild -DETHASHCL=ON -DETHASHCUDA=ON -DAPICORE=ON ..
-- [cable ] Cable 0.5.0 initialized
CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.22/Modules/GNUInstallDirs.cmake:239 (message):
Unable to determine default CMAKE_INSTALL_LIBDIR directory because no
target architecture is known. Please enable at least one language before
including GNUInstallDirs.
Call Stack (most recent call first):
cmake/cable/CableBuildInfo.cmake:10 (include)
CMakeLists.txt:5 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Build type: Release
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19044.
-- The C compiler identification is MSVC 19.29.30138.0
-- The CXX compiler identification is MSVC 19.29.30138.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- [hunter] Calculating Toolchain-SHA1
-- [hunter] Calculating Config-SHA1
-- [hunter] HUNTER_ROOT: C:/.hunter
-- [hunter] [ Hunter-ID: e14bc15 | Toolchain-ID: e686761 | Config-ID: 196746b ]
-- [hunter] BOOST_ROOT: C:/.hunter/_Base/e14bc15/e686761/196746b/Install (ver.: 1.70.0-p0)
-- [hunter] BOOST_ROOT: C:/.hunter/_Base/e14bc15/e686761/196746b/Install (ver.: 1.70.0-p0)
-- [hunter] BOOST_ROOT: C:/.hunter/_Base/e14bc15/e686761/196746b/Install (ver.: 1.70.0-p0)
-- [hunter] BOOST_ROOT: C:/.hunter/_Base/e14bc15/e686761/196746b/Install (ver.: 1.70.0-p0)
CMake Warning (dev) at CMakeLists.txt:60 (find_package):
Policy CMP0074 is not set: find_package uses _ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

Environment variable Boost_ROOT is set to:

C:/.hunter/_Base/e14bc15/e686761/196746b/Install

For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.

-- Boost version: 1.70.0
-- Found the following Boost libraries:
-- system
-- filesystem
-- thread
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Looking for clock_gettime
-- Looking for clock_gettime - not found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - not found
-- [hunter] JSONCPP_ROOT: C:/.hunter/_Base/e14bc15/e686761/196746b/Install (ver.: 1.8.0)
CMake Warning (dev) at CMakeLists.txt:63 (find_package):
Policy CMP0074 is not set: find_package uses _ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

Environment variable jsoncpp_ROOT is set to:

C:/.hunter/_Base/e14bc15/e686761/196746b/Install

For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.

-- [hunter] ETHASH_ROOT: C:/.hunter/_Base/e14bc15/e686761/196746b/Install (ver.: 1.0.0)
CMake Warning (dev) at CMakeLists.txt:66 (find_package):
Policy CMP0074 is not set: find_package uses _ROOT variables.
Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy
command to set the policy and suppress this warning.

Environment variable ethash_ROOT is set to:

C:/.hunter/_Base/e14bc15/e686761/196746b/Install

For compatibility, CMake is ignoring the variable.
This warning is for project developers. Use -Wno-dev to suppress it.


-- CMake 3.22.1
-- Build Release / Windows
----------------------------------------------------------------- components
-- ETHASHCL Build OpenCL components ON
-- ETHASHCUDA Build CUDA components ON
-- ETHASHCPU Build CPU components (only for development) OFF
-- ETHDBUS Build D-Bus components OFF
-- APICORE Build API Server components ON
-- DEVBUILD Build with dev logging OFF

-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.34.1.windows.1")
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.0 (found version "9.0")
-- [hunter] OPENSSL_ROOT: C:/.hunter/_Base/e14bc15/e686761/196746b/Install (ver.: 1.1.1c)
-- [hunter] Building OpenSSL
loading initial cache file C:/.hunter/_Base/e14bc15/e686761/196746b/cache.cmake
loading initial cache file C:/.hunter/_Base/e14bc15/e686761/196746b/Build/OpenSSL/args.cmake
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.19044.
-- The C compiler identification is MSVC 19.29.30138.0
-- The CXX compiler identification is MSVC 19.29.30138.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done

This is perl 5, version 32, subversion 1 (v5.32.1) built for MSWin32-x64-multi-thread

Copyright 1987-2021, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl". If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

-- Configuring done
-- Generating done
-- Build files have been written to: C:/.hunter/_Base/e14bc15/e686761/196746b/Build/OpenSSL/Build
.NET Framework için Microsoft (R) Build Engine sürüm 16.11.2+f32259642
Telif Hakkı (C) Microsoft Corporation. Tüm hakları saklıdır.

Checking Build System
Creating directories for 'OpenSSL'
Building Custom Rule C:/.hunter/_Base/e14bc15/e686761/196746b/Build/OpenSSL/CMakeLists.txt
Performing download step (download, verify and extract) for 'OpenSSL'
-- verifying file...
file='C:/.hunter/_Base/Download/OpenSSL/1.1.1c/eb59b09/OpenSSL_1_1_1c.tar.gz'
-- File already exists and hash match (skip download):
file='C:/.hunter/_Base/Download/OpenSSL/1.1.1c/eb59b09/OpenSSL_1_1_1c.tar.gz'
SHA1='eb59b090bd757e30b676fb5e80c25ddb5a2f9511'
-- extracting...
src='C:/.hunter/_Base/Download/OpenSSL/1.1.1c/eb59b09/OpenSSL_1_1_1c.tar.gz'
dst='C:/.hunter/_Base/e14bc15/e686761/196746b/Build/OpenSSL/Source'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
No update step for 'OpenSSL'
No patch step for 'OpenSSL'
Performing configure step for 'OpenSSL'
CMake Error at C:/.hunter/_Base/e14bc15/e686761/196746b/Build/OpenSSL/Build/OpenSSL-prefix/src/OpenSSL-stamp/OpenSSL-configure-Debug.cmake:49 (message):
Command failed: 1

 'C:/Program Files/CMake/bin/cmake.exe' '-Dmake=' '-Dconfig=Debug' '-P' 'C:/.hunter/_Base/e14bc15/e686761/196746b/Build/OpenSSL/Build/OpenSSL-prefix/src/OpenSSL-stamp/OpenSSL-configure-Debug-impl.cmake'

See also

  C:/.hunter/_Base/e14bc15/e686761/196746b/Build/OpenSSL/Build/OpenSSL-prefix/src/OpenSSL-stamp/OpenSSL-configure-*.log

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: 'C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\Build\CMakeFiles\84860f50fe6ca4f3cef47b99aec6051f\OpenSSL-mkdir.rule;C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\Build\CMakeFiles\84860f50fe6ca4f3cef47b99aec6051f\OpenSSL-download.rule;C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\Build\CMakeFiles\84860f50fe6ca4f3cef47b99aec6051f\OpenSSL-update.rule;C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\Build\CMakeFiles\84860f50fe6ca4f3cef47b99aec6051f\OpenSSL-patch.rule;C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\Build\CMakeFiles\84860f50fe6ca4f3cef47b99aec6051f\OpenSSL-configure.rule;C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\Build\CMakeFiles\84860f50fe6ca4f3cef47b99aec6051f\OpenSSL-build.rule;C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\Build\CMakeFiles\84860f50fe6ca4f3cef47b99aec6051f\OpenSSL-install.rule;C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\Build\CMakeFiles\29573f5a399d58b39647cf6cb5d1c845\OpenSSL-complete.rule;C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\Build\CMakeFiles\9d3282e82234083e62a0609bb88377fb\OpenSSL.rule;C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\CMakeLists.txt' için özel derlemeden 1 koduyla çıkıldı. [C:.hunter_Base\e14bc15\e686761\196746b\Build\OpenSSL\Build\OpenSSL.vcxproj]

[hunter ** FATAL ERROR **] Build step failed (dir: C:/.hunter/_Base/e14bc15/e686761/196746b/Build/OpenSSL
[hunter ** FATAL ERROR **] [Directory:C:/.hunter/_Base/Download/Hunter/0.23.214/e14bc15/Unpacked/cmake/projects/OpenSSL]

------------------------------ ERROR -----------------------------
https://docs.hunter.sh/en/latest/reference/errors/error.external.build.failed.html

CMake Error at C:/.hunter/_Base/Download/Hunter/0.23.214/e14bc15/Unpacked/cmake/modules/hunter_error_page.cmake:12 (message):
Call Stack (most recent call first):
C:/.hunter/_Base/Download/Hunter/0.23.214/e14bc15/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_error_page)
C:/.hunter/_Base/Download/Hunter/0.23.214/e14bc15/Unpacked/cmake/modules/hunter_download.cmake:617 (hunter_fatal_error)
C:/.hunter/_Base/Download/Hunter/0.23.214/e14bc15/Unpacked/cmake/projects/OpenSSL/hunter.cmake:512 (hunter_download)
C:/.hunter/_Base/Download/Hunter/0.23.214/e14bc15/Unpacked/cmake/modules/hunter_add_package.cmake:62 (include)
libpoolprotocols/CMakeLists.txt:13 (hunter_add_package)

-- Configuring incomplete, errors occurred!
See also "C:/Users/smack/Desktop/kawpow/kawpowminer-master/kawpowminer-master/build/build/CMakeFiles/CMakeOutput.log".
See also "C:/Users/smack/Desktop/kawpow/kawpowminer-master/kawpowminer-master/build/build/CMakeFiles/CMakeError.log".

C:\Users\smack\Desktop\kawpow\kawpowminer-master\kawpowminer-master\build>`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant