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

Windows not compiling CUDA 9.1 / 141 toolset #750

Closed
JeroenvdV opened this issue Dec 30, 2017 · 4 comments
Closed

Windows not compiling CUDA 9.1 / 141 toolset #750

JeroenvdV opened this issue Dec 30, 2017 · 4 comments

Comments

@JeroenvdV
Copy link

JeroenvdV commented Dec 30, 2017

I'm using all the latest stuff and compiled successfully before without CUDA. Now I want to compile with CUDA on the same machine. This seems related to #91:

c:\program files\nvidia gpu computing toolkit\cuda\v9.1\include\crt/host_config.h(135): fatal error C1189: #error:  -
- unsupported Microsoft Visual Studio version! Only the versions 2012, 2013, 2015 and 2017 are supported! [C:\Users\min
er3\xmr-stak-2.2.0\build\xmrstak_cuda_backend.vcxproj]

Here's the full output:

C:\Users\miner3\xmr-stak-2.2.0\build>cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 ..
-- Selecting Windows SDK version 10.0.16299.0 to target Windows 10.0.15063.
-- The C compiler identification is MSVC 19.12.25831.0
-- The CXX compiler identification is MSVC 19.12.25831.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/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/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.12.25827/bin/Hostx64/x64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Set miner currency to 'monero' and 'aeon'
-- Found CUDA: C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v9.1 (found suitable version "9.1", minimum required is "7.5")
-- Looking for CL_VERSION_2_2
-- Looking for CL_VERSION_2_2 - not found
-- Looking for CL_VERSION_2_1
-- Looking for CL_VERSION_2_1 - not found
-- Looking for CL_VERSION_2_0
-- Looking for CL_VERSION_2_0 - found
-- Found OpenCL: C:/Program Files (x86)/AMD APP SDK/3.0/lib/x86_64/OpenCL.lib (found version "2.0")
-- Found OpenSSL: C:/xmr-stak-dep/openssl/lib/libeay32.lib (found version "1.0.2m")
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/miner3/xmr-stak-2.2.0/build

C:\Users\miner3\xmr-stak-2.2.0\build>cmake --build . --config Release --target install
Microsoft (R) Build Engine version 15.5.180.51428 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Build started 30/12/2017 20:18:38.
Project "C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" on node 1 (default targets).
Project "C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (1) is building "C:\Users\miner3\xmr-stak-2.2.0\build\ZE
RO_CHECK.vcxproj" (2) on node 1 (default targets).
PrepareForBuild:
  Creating directory "x64\Release\ZERO_CHECK\".
  Creating directory "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\".
InitializeBuildStatus:
  Creating "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Checking Build System
  CMake does not need to re-run because C:/Users/miner3/xmr-stak-2.2.0/build/CMakeFiles/generate.stamp is up-to-date.
FinalizeBuildStatus:
  Deleting file "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
  Touching "x64\Release\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
Done Building Project "C:\Users\miner3\xmr-stak-2.2.0\build\ZERO_CHECK.vcxproj" (default targets).

Project "C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (1) is building "C:\Users\miner3\xmr-stak-2.2.0\build\AL
L_BUILD.vcxproj" (3) on node 1 (default targets).
Project "C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (3) is building "C:\Users\miner3\xmr-stak-2.2.0\build\
xmr-stak.vcxproj" (4) on node 1 (default targets).
Project "C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj" (4) is building "C:\Users\miner3\xmr-stak-2.2.0\build\x
mr-stak-backend.vcxproj" (5) on node 1 (default targets).
Project "C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj" (5) is building "C:\Users\miner3\xmr-stak-2.2.0
\build\xmr-stak-c.vcxproj" (6) on node 1 (default targets).
PrepareForBuild:
  Creating directory "xmr-stak-c.dir\Release\".
  Creating directory "C:\Users\miner3\xmr-stak-2.2.0\build\bin\Release\".
  Creating directory "xmr-stak-c.dir\Release\xmr-stak-c.tlog\".
InitializeBuildStatus:
  Creating "xmr-stak-c.dir\Release\xmr-stak-c.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/Users/miner3/xmr-stak-2.2.0/CMakeLists.txt
  CMake does not need to re-run because C:/Users/miner3/xmr-stak-2.2.0/build/CMakeFiles/generate.stamp is up-to-date.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\CL.exe /c /I"
  C:\Users\miner3\xmr-stak-2.2.0\." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd
  \include" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Comput
  ing Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_S
  TAK_LARGEGRID=ON /D XMRSTAK_CUDA_ARCH_LIST=30+35+37+50+52+60+61+62+70 /D "BACKEND_TYPE=nvidia-amd-cpu" /D _CRT_SECURE
  _NO_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Z
  c:inline /Fo"xmr-stak-c.dir\Release\\" /Fd"xmr-stak-c.dir\Release\xmr-stak-c.pdb" /Gd /TC /errorReport:queue "C:\User
  s\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto\c_blake256.c" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\
  crypto\c_groestl.c" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto\c_jh.c" "C:\Users\miner3\xmr-stak-2.2.
  0\xmrstak\backend\cpu\crypto\c_keccak.c" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto\c_skein.c"
  c_blake256.c
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto\c_blake256.c(151): warning C4244: '=': conversion from 'uint6
4_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-c.vcxproj]
  c_groestl.c
  c_jh.c
  c_keccak.c
  c_skein.c
  Generating Code...
Lib:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\Lib.exe /OUT:
  "C:\Users\miner3\xmr-stak-2.2.0\build\bin\Release\xmr-stak-c.lib" /NOLOGO /MACHINE:X64  /machine:x64 "xmr-stak-c.dir\
  Release\c_blake256.obj"
  "xmr-stak-c.dir\Release\c_groestl.obj"
  "xmr-stak-c.dir\Release\c_jh.obj"
  "xmr-stak-c.dir\Release\c_keccak.obj"
  "xmr-stak-c.dir\Release\c_skein.obj"
  xmr-stak-c.vcxproj -> C:\Users\miner3\xmr-stak-2.2.0\build\bin\Release\xmr-stak-c.lib
FinalizeBuildStatus:
  Deleting file "xmr-stak-c.dir\Release\xmr-stak-c.tlog\unsuccessfulbuild".
  Touching "xmr-stak-c.dir\Release\xmr-stak-c.tlog\xmr-stak-c.lastbuildstate".
Done Building Project "C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-c.vcxproj" (default targets).

PrepareForBuild:
  Creating directory "xmr-stak-backend.dir\Release\".
  Creating directory "xmr-stak-backend.dir\Release\xmr-stak-backend.tlog\".
InitializeBuildStatus:
  Creating "xmr-stak-backend.dir\Release\xmr-stak-backend.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/Users/miner3/xmr-stak-2.2.0/CMakeLists.txt
  CMake does not need to re-run because C:/Users/miner3/xmr-stak-2.2.0/build/CMakeFiles/generate.stamp is up-to-date.
MakeDirsForCl:
  Creating directory "C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.dir\Release\xmrstak".
  Creating directory "C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.dir\Release\xmrstak\backend\cpu".
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\CL.exe /c /I"
  C:\Users\miner3\xmr-stak-2.2.0\." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd
  \include" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Comput
  ing Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_S
  TAK_LARGEGRID=ON /D XMRSTAK_CUDA_ARCH_LIST=30+35+37+50+52+60+61+62+70 /D "BACKEND_TYPE=nvidia-amd-cpu" /D _CRT_SECURE
  _NO_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forSc
  ope /Zc:inline /GR /Fo"xmr-stak-backend.dir\Release\/xmrstak/jconf.cpp.obj" /Fd"xmr-stak-backend.dir\Release\xmr-stak
  -backend.pdb" /Gd /TP /errorReport:queue "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\jconf.cpp"
  jconf.cpp
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\jconf.cpp(133): warning C4267: 'argument': conversion from 'size_t' to 'rapidjso
n::SizeType', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\CL.exe /c /I"
  C:\Users\miner3\xmr-stak-2.2.0\." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd
  \include" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Comput
  ing Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_S
  TAK_LARGEGRID=ON /D XMRSTAK_CUDA_ARCH_LIST=30+35+37+50+52+60+61+62+70 /D "BACKEND_TYPE=nvidia-amd-cpu" /D _CRT_SECURE
  _NO_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forSc
  ope /Zc:inline /GR /Fo"xmr-stak-backend.dir\Release\\" /Fd"xmr-stak-backend.dir\Release\xmr-stak-backend.pdb" /Gd /TP
   /errorReport:queue "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\version.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\back
  end\cpu\hwlocMemory.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\minethd.cpp" "C:\Users\miner3\xmr-stak-2
  .2.0\xmrstak\backend\backendConnector.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\globalStates.cpp" "C:\User
  s\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto\cryptonight_common.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\ht
  tp\httpd.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\http\webdesign.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\mis
  c\console.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\misc\executor.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\mis
  c\telemetry.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\misc\utility.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\ne
  t\jpsock.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\net\socket.cpp"
  version.cpp
  hwlocMemory.cpp
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\hwlocMemory.cpp(37): warning C4267: 'argument': conversion from 'siz
e_t' to 'unsigned int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  minethd.cpp
C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double'
 to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xmemory0(945): warning
C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.
0\build\xmr-stak-backend.vcxproj]
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\vector(957): note: se
  e reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,size_t&>(_
  Alloc &,_Objty *const ,size_t &)' being compiled
          with
          [
              _Alloc=std::allocator<std::_Vbase>,
              _Ty=unsigned int,
              _Objty=unsigned int
          ]
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\vector(957): note: se
  e reference to function template instantiation 'void std::_Default_allocator_traits<_Alloc>::construct<_Ty,size_t&>(_
  Alloc &,_Objty *const ,size_t &)' being compiled
          with
          [
              _Alloc=std::allocator<std::_Vbase>,
              _Ty=unsigned int,
              _Objty=unsigned int
          ]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\autoAdjustHwloc.hpp(210): note: see reference to function template
   instantiation 'void std::vector<std::_Vbase,std::allocator<std::_Vbase>>::emplace_back<size_t&>(size_t &)' being com
  piled
c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(293): warning C4267: 'argument': conversi
on from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\minethd.cpp(359): note: see reference to function template instant
  iation 'void cryptonight_hash<2097136,524288,2097152,false,false>(const void *,::size_t,void *,cryptonight_ctx *)' be
  ing compiled
c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(358): warning C4267: 'argument': conversi
on from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\minethd.cpp(507): note: see reference to function template instant
  iation 'void cryptonight_double_hash<2097136,524288,2097152,false,false>(const void *,::size_t,void *,cryptonight_ctx
   **)' being compiled
c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(359): warning C4267: 'argument': conversi
on from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(492): warning C4267: 'argument': conversi
on from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\minethd.cpp(507): note: see reference to function template instant
  iation 'void cryptonight_triple_hash<2097136,524288,2097152,false,false>(const void *,::size_t,void *,cryptonight_ctx
   **)' being compiled
c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(567): warning C4267: 'argument': conversi
on from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\minethd.cpp(507): note: see reference to function template instant
  iation 'void cryptonight_quad_hash<2097136,524288,2097152,false,false>(const void *,::size_t,void *,cryptonight_ctx *
  *)' being compiled
c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(655): warning C4267: 'argument': conversi
on from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\minethd.cpp(507): note: see reference to function template instant
  iation 'void cryptonight_penta_hash<2097136,524288,2097152,false,false>(const void *,::size_t,void *,cryptonight_ctx
  **)' being compiled
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\minethd.cpp(637): warning C4267: 'argument': conversion from 'size_t
' to 'uint32_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\minethd.cpp(527): note: see reference to function template instant
  iation 'void xmrstak::cpu::minethd::multiway_work_main<2>(xmrstak::cpu::minethd::cn_hash_fun_multi)' being compiled
  backendConnector.cpp
  globalStates.cpp
  cryptonight_common.cpp
  httpd.cpp
C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double'
 to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  webdesign.cpp
  console.cpp
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\misc\console.cpp(237): warning C4267: 'argument': conversion from 'size_t' to 'i
nt', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  executor.cpp
c:\users\miner3\xmr-stak-2.2.0\xmrstak\misc\executor.hpp(67): warning C4244: 'initializing': conversion from 'double' t
o 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  telemetry.cpp
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\misc\telemetry.cpp(92): warning C4244: '=': conversion from 'uint64_t' to 'doubl
e', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\misc\telemetry.cpp(93): warning C4244: '=': conversion from 'uint64_t' to 'doubl
e', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  utility.cpp
  jpsock.cpp
c:\users\miner3\xmr-stak-2.2.0\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWORD
', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
c:\users\miner3\xmr-stak-2.2.0\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWORD
', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double'
 to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\net\jpsock.cpp(232): warning C4267: 'argument': conversion from 'size_t' to 'uns
igned int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\net\jpsock.cpp(250): warning C4244: 'initializing': conversion from '__int64' to
 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\net\jpsock.cpp(567): warning C4267: 'argument': conversion from 'size_t' to 'rap
idjson::SizeType', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  socket.cpp
c:\users\miner3\xmr-stak-2.2.0\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWORD
', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
c:\users\miner3\xmr-stak-2.2.0\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWORD
', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double'
 to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\net\socket.cpp(150): warning C4267: 'initializing': conversion from 'size_t' to
'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  Generating Code...
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\CL.exe /c /I"
  C:\Users\miner3\xmr-stak-2.2.0\." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd
  \include" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Comput
  ing Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_S
  TAK_LARGEGRID=ON /D XMRSTAK_CUDA_ARCH_LIST=30+35+37+50+52+60+61+62+70 /D "BACKEND_TYPE=nvidia-amd-cpu" /D _CRT_SECURE
  _NO_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forSc
  ope /Zc:inline /GR /Fo"xmr-stak-backend.dir\Release\/xmrstak/backend/cpu/jconf.cpp.obj" /Fd"xmr-stak-backend.dir\Rele
  ase\xmr-stak-backend.pdb" /Gd /TP /errorReport:queue "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\jconf.cpp"
  jconf.cpp
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\jconf.cpp(106): warning C4267: 'argument': conversion from 'size_t'
to 'rapidjson::SizeType', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
Lib:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\Lib.exe /OUT:
  "C:\Users\miner3\xmr-stak-2.2.0\build\bin\Release\xmr-stak-backend.lib" /NOLOGO /MACHINE:X64  /machine:x64 "xmr-stak-
  backend.dir\Release\version.obj"
  "xmr-stak-backend.dir\Release\hwlocMemory.obj"
  "xmr-stak-backend.dir\Release\minethd.obj"
  "xmr-stak-backend.dir\Release\backendConnector.obj"
  "xmr-stak-backend.dir\Release\globalStates.obj"
  "xmr-stak-backend.dir\Release\cryptonight_common.obj"
  "xmr-stak-backend.dir\Release\httpd.obj"
  "xmr-stak-backend.dir\Release\webdesign.obj"
  "xmr-stak-backend.dir\Release\console.obj"
  "xmr-stak-backend.dir\Release\executor.obj"
  "xmr-stak-backend.dir\Release\telemetry.obj"
  "xmr-stak-backend.dir\Release\utility.obj"
  "xmr-stak-backend.dir\Release\jpsock.obj"
  "xmr-stak-backend.dir\Release\socket.obj"
  "xmr-stak-backend.dir\Release\/xmrstak/jconf.cpp.obj"
  "xmr-stak-backend.dir\Release\/xmrstak/backend/cpu/jconf.cpp.obj"
  xmr-stak-backend.vcxproj -> C:\Users\miner3\xmr-stak-2.2.0\build\bin\Release\xmr-stak-backend.lib
FinalizeBuildStatus:
  Deleting file "xmr-stak-backend.dir\Release\xmr-stak-backend.tlog\unsuccessfulbuild".
  Touching "xmr-stak-backend.dir\Release\xmr-stak-backend.tlog\xmr-stak-backend.lastbuildstate".
Done Building Project "C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj" (default targets).

PrepareForBuild:
  Creating directory "xmr-stak.dir\Release\".
  Creating directory "xmr-stak.dir\Release\xmr-stak.tlog\".
InitializeBuildStatus:
  Creating "xmr-stak.dir\Release\xmr-stak.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
CustomBuild:
  Building Custom Rule C:/Users/miner3/xmr-stak-2.2.0/CMakeLists.txt
  CMake does not need to re-run because C:/Users/miner3/xmr-stak-2.2.0/build/CMakeFiles/generate.stamp is up-to-date.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\CL.exe /c /I"
  C:\Users\miner3\xmr-stak-2.2.0\." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd
  \include" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Comput
  ing Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_S
  TAK_LARGEGRID=ON /D XMRSTAK_CUDA_ARCH_LIST=30+35+37+50+52+60+61+62+70 /D "BACKEND_TYPE=nvidia-amd-cpu" /D _CRT_SECURE
  _NO_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forSc
  ope /Zc:inline /GR /Fo"xmr-stak.dir\Release\\" /Fd"xmr-stak.dir\Release\vc141.pdb" /Gd /TP /errorReport:queue "C:\Use
  rs\miner3\xmr-stak-2.2.0\xmrstak\cli\cli-miner.cpp"
  cli-miner.cpp
C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double'
 to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\cli\cli-miner.cpp(324): warning C4244: 'argument': conversion from 'time_t' to '
unsigned int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\cli\cli-miner.cpp(643): warning C4244: 'initializing': conversion from 'unsigned
 __int64' to 'double', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj]
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\link.exe /ERR
  ORREPORT:QUEUE /OUT:"C:\Users\miner3\xmr-stak-2.2.0\build\bin\Release\xmr-stak.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:
  "C:/Program Files (x86)/AMD APP SDK/3.0/lib/x86_64/OpenCL.lib" /LIBPATH:"C:/Program Files (x86)/AMD APP SDK/3.0/lib/x
  86_64/OpenCL.lib/Release" "C:\xmr-stak-dep\libmicrohttpd\lib\libmicrohttpd.lib" "C:\xmr-stak-dep\openssl\lib\ssleay32
  .lib" "C:\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\xmr-stak-dep\hwloc\lib\libhwloc.lib" wsock32.lib ws2_32.lib "bin
  \Release\xmr-stak-c.lib" "bin\Release\xmr-stak-backend.lib" "bin\Release\xmr-stak-c.lib" "C:\xmr-stak-dep\libmicrohtt
  pd\lib\libmicrohttpd.lib" "C:\xmr-stak-dep\openssl\lib\ssleay32.lib" "C:\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\x
  mr-stak-dep\hwloc\lib\libhwloc.lib" wsock32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib
   ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'
  " /manifest:embed /PDB:"C:/Users/miner3/xmr-stak-2.2.0/build/bin/Release/xmr-stak.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /D
  YNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/miner3/xmr-stak-2.2.0/build/bin/Release/xmr-stak.lib" /MACHINE:X64  /machine:x
  64 "xmr-stak.dir\Release\cli-miner.obj"
  libmicrohttpd.lib(daemon.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /L
  TCG to the link command line to improve linker performance
  Generating code
  Finished generating code
  xmr-stak.vcxproj -> C:\Users\miner3\xmr-stak-2.2.0\build\bin\Release\xmr-stak.exe
FinalizeBuildStatus:
  Deleting file "xmr-stak.dir\Release\xmr-stak.tlog\unsuccessfulbuild".
  Touching "xmr-stak.dir\Release\xmr-stak.tlog\xmr-stak.lastbuildstate".
Done Building Project "C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj" (default targets).

Project "C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (3) is building "C:\Users\miner3\xmr-stak-2.2.0\build\
xmrstak_cuda_backend.vcxproj" (7) on node 1 (default targets).
PrepareForBuild:
  Creating directory "xmrstak_cuda_backend.dir\Release\".
  Creating directory "xmrstak_cuda_backend.dir\Release\xmrstak_.7F2FCB56.tlog\".
InitializeBuildStatus:
  Creating "xmrstak_cuda_backend.dir\Release\xmrstak_.7F2FCB56.tlog\unsuccessfulbuild" because "AlwaysCreate" was speci
  fied.
ComputeCustomBuildOutput:
  Creating directory "C:\Users\miner3\xmr-stak-2.2.0\build\CMakeFiles\xmrstak_cuda_backend.dir\xmrstak\backend\nvidia\n
  vcc_code\Release\".
CustomBuild:
  Building NVCC (Device) object CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/Release/xmrstak_cu
  da_backend_generated_cuda_core.cu.obj
  cuda_core.cu
c:\program files\nvidia gpu computing toolkit\cuda\v9.1\include\crt/host_config.h(135): fatal error C1189: #error:  --
unsupported Microsoft Visual Studio version! Only the versions 2012, 2013, 2015 and 2017 are supported! [C:\Users\miner
3\xmr-stak-2.2.0\build\xmrstak_cuda_backend.vcxproj]
CUSTOMBUILD : nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ignor
ed. [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_cuda_backend.vcxproj]
  CMake Error at xmrstak_cuda_backend_generated_cuda_core.cu.obj.Release.cmake:219 (message):
    Error generating
    C:/Users/miner3/xmr-stak-2.2.0/build/CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/Release/x
  mrstak_cuda_backend_generated_cuda_core.cu.obj


Done Building Project "C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_cuda_backend.vcxproj" (default targets) -- FAILED.

Project "C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (3) is building "C:\Users\miner3\xmr-stak-2.2.0\build\
xmrstak_opencl_backend.vcxproj" (8) on node 1 (default targets).
PrepareForBuild:
  Creating directory "xmrstak_opencl_backend.dir\Release\".
  Creating directory "xmrstak_opencl_backend.dir\Release\xmrstak_.33D00B24.tlog\".
InitializeBuildStatus:
  Creating "xmrstak_opencl_backend.dir\Release\xmrstak_.33D00B24.tlog\unsuccessfulbuild" because "AlwaysCreate" was spe
  cified.
CustomBuild:
  Building Custom Rule C:/Users/miner3/xmr-stak-2.2.0/CMakeLists.txt
  CMake does not need to re-run because C:/Users/miner3/xmr-stak-2.2.0/build/CMakeFiles/generate.stamp is up-to-date.
ClCompile:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\CL.exe /c /I"
  C:\Users\miner3\xmr-stak-2.2.0\." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd
  \include" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Comput
  ing Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_S
  TAK_LARGEGRID=ON /D XMRSTAK_CUDA_ARCH_LIST=30+35+37+50+52+60+61+62+70 /D "BACKEND_TYPE=nvidia-amd-cpu" /D _CRT_SECURE
  _NO_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D xmrstak_opencl_backend_EXPORTS /D _WINDLL /D _MBCS /Gm- /E
  Hsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"xmrstak_opencl_backend.dir\Release\\" /Fd"xmrstak
  _opencl_backend.dir\Release\vc141.pdb" /Gd /TP /errorReport:queue "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd
  \amd_gpu\gpu.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\jconf.cpp" "C:\Users\miner3\xmr-stak-2.2.0\xmrs
  tak\backend\amd\minethd.cpp"
  gpu.cpp
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\amd_gpu\gpu.cpp(33): warning C4267: 'argument': conversion from 'siz
e_t' to 'DWORD', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\amd_gpu\gpu.cpp(555): warning C4018: '<': signed/unsigned mismatch [
C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\amd_gpu\gpu.cpp(662): warning C4267: 'argument': conversion from 'si
ze_t' to 'cl_uint', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\amd_gpu\gpu.cpp(699): warning C4267: '=': conversion from 'size_t' t
o 'cl_int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\amd_gpu\gpu.cpp(981): warning C4267: '+=': conversion from 'size_t'
to 'uint32_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  jconf.cpp
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\jconf.cpp(101): warning C4267: 'argument': conversion from 'size_t'
to 'rapidjson::SizeType', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  minethd.cpp
c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\autoAdjust.hpp(60): warning C4267: 'initializing': conversion from '
size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double'
 to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\minethd.cpp(211): warning C4267: 'initializing': conversion from 'si
ze_t' to 'uint32_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  Generating Code...
Link:
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\bin\HostX64\x64\link.exe /ERR
  ORREPORT:QUEUE /OUT:"C:\Users\miner3\xmr-stak-2.2.0\build\bin\Release\xmrstak_opencl_backend.dll" /INCREMENTAL:NO /NO
  LOGO /LIBPATH:"C:/Program Files (x86)/AMD APP SDK/3.0/lib/x86_64/OpenCL.lib" /LIBPATH:"C:/Program Files (x86)/AMD APP
   SDK/3.0/lib/x86_64/OpenCL.lib/Release" "C:\Program Files (x86)\AMD APP SDK\3.0\lib\x86_64\OpenCL.lib" "bin\Release\x
  mr-stak-backend.lib" "bin\Release\xmr-stak-c.lib" "C:\xmr-stak-dep\libmicrohttpd\lib\libmicrohttpd.lib" "C:\xmr-stak-
  dep\openssl\lib\ssleay32.lib" "C:\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\xmr-stak-dep\hwloc\lib\libhwloc.lib" wso
  ck32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg
  32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"C:/Users/miner3
  /xmr-stak-2.2.0/build/bin/Release/xmrstak_opencl_backend.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMP
  LIB:"C:/Users/miner3/xmr-stak-2.2.0/build/bin/Release/xmrstak_opencl_backend.lib" /MACHINE:X64  /machine:x64 /DLL xmr
  stak_opencl_backend.dir\Release\gpu.obj
  xmrstak_opencl_backend.dir\Release\jconf.obj
  xmrstak_opencl_backend.dir\Release\minethd.obj
  libhwloc.lib(topology.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG
   to the link command line to improve linker performance
     Creating library C:/Users/miner3/xmr-stak-2.2.0/build/bin/Release/xmrstak_opencl_backend.lib and object C:/Users/m
  iner3/xmr-stak-2.2.0/build/bin/Release/xmrstak_opencl_backend.exp
  Generating code
  Finished generating code
  xmrstak_opencl_backend.vcxproj -> C:\Users\miner3\xmr-stak-2.2.0\build\bin\Release\xmrstak_opencl_backend.dll
FinalizeBuildStatus:
  Deleting file "xmrstak_opencl_backend.dir\Release\xmrstak_.33D00B24.tlog\unsuccessfulbuild".
  Touching "xmrstak_opencl_backend.dir\Release\xmrstak_.33D00B24.tlog\xmrstak_opencl_backend.lastbuildstate".
Done Building Project "C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj" (default targets).

Done Building Project "C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (default targets) -- FAILED.


Build FAILED.

"C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (default target) (1) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj" (default target) (4) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj" (default target) (5) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-c.vcxproj" (default target) (6) ->
(ClCompile target) ->
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto\c_blake256.c(151): warning C4244: '=': conversion from 'uin
t64_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-c.vcxproj]


"C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (default target) (1) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj" (default target) (4) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj" (default target) (5) ->
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\jconf.cpp(133): warning C4267: 'argument': conversion from 'size_t' to 'rapidj
son::SizeType', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]


"C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (default target) (1) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj" (default target) (4) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj" (default target) (5) ->
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\hwlocMemory.cpp(37): warning C4267: 'argument': conversion from 's
ize_t' to 'unsigned int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'doubl
e' to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xmemory0(945): warnin
g C4267: 'initializing': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\miner3\xmr-stak-2.
2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(293): warning C4267: 'argument': conver
sion from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(358): warning C4267: 'argument': conver
sion from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(359): warning C4267: 'argument': conver
sion from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(492): warning C4267: 'argument': conver
sion from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(567): warning C4267: 'argument': conver
sion from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(655): warning C4267: 'argument': conver
sion from 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\minethd.cpp(637): warning C4267: 'argument': conversion from 'size
_t' to 'uint32_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'doubl
e' to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\misc\console.cpp(237): warning C4267: 'argument': conversion from 'size_t' to
'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\misc\executor.hpp(67): warning C4244: 'initializing': conversion from 'double'
 to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\misc\telemetry.cpp(92): warning C4244: '=': conversion from 'uint64_t' to 'dou
ble', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\misc\telemetry.cpp(93): warning C4244: '=': conversion from 'uint64_t' to 'dou
ble', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWO
RD', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWO
RD', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'doubl
e' to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\net\jpsock.cpp(232): warning C4267: 'argument': conversion from 'size_t' to 'u
nsigned int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\net\jpsock.cpp(250): warning C4244: 'initializing': conversion from '__int64'
to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\net\jpsock.cpp(567): warning C4267: 'argument': conversion from 'size_t' to 'r
apidjson::SizeType', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWO
RD', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWO
RD', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'doubl
e' to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\net\socket.cpp(150): warning C4267: 'initializing': conversion from 'size_t' t
o 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]


"C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (default target) (1) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj" (default target) (4) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj" (default target) (5) ->
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\cpu\jconf.cpp(106): warning C4267: 'argument': conversion from 'size_t
' to 'rapidjson::SizeType', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak-backend.vcxproj]


"C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (default target) (1) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj" (default target) (4) ->
  C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'doubl
e' to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\cli\cli-miner.cpp(324): warning C4244: 'argument': conversion from 'time_t' to
 'unsigned int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\cli\cli-miner.cpp(643): warning C4244: 'initializing': conversion from 'unsign
ed __int64' to 'double', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmr-stak.vcxproj]


"C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (default target) (1) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_cuda_backend.vcxproj" (default target) (7) ->
(CustomBuild target) ->
  CUSTOMBUILD : nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ign
ored. [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_cuda_backend.vcxproj]


"C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (default target) (1) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj" (default target) (8) ->
(ClCompile target) ->
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\amd_gpu\gpu.cpp(33): warning C4267: 'argument': conversion from 's
ize_t' to 'DWORD', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\amd_gpu\gpu.cpp(555): warning C4018: '<': signed/unsigned mismatch
 [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\amd_gpu\gpu.cpp(662): warning C4267: 'argument': conversion from '
size_t' to 'cl_uint', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\amd_gpu\gpu.cpp(699): warning C4267: '=': conversion from 'size_t'
 to 'cl_int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\amd_gpu\gpu.cpp(981): warning C4267: '+=': conversion from 'size_t
' to 'uint32_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\jconf.cpp(101): warning C4267: 'argument': conversion from 'size_t
' to 'rapidjson::SizeType', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  c:\users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\autoAdjust.hpp(60): warning C4267: 'initializing': conversion from
 'size_t' to 'int', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'doubl
e' to 'const ::size_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]
  C:\Users\miner3\xmr-stak-2.2.0\xmrstak\backend\amd\minethd.cpp(211): warning C4267: 'initializing': conversion from '
size_t' to 'uint32_t', possible loss of data [C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_opencl_backend.vcxproj]


"C:\Users\miner3\xmr-stak-2.2.0\build\install.vcxproj" (default target) (1) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\ALL_BUILD.vcxproj" (default target) (3) ->
"C:\Users\miner3\xmr-stak-2.2.0\build\xmrstak_cuda_backend.vcxproj" (default target) (7) ->
(CustomBuild target) ->
  c:\program files\nvidia gpu computing toolkit\cuda\v9.1\include\crt/host_config.h(135): fatal error C1189: #error:  -
- unsupported Microsoft Visual Studio version! Only the versions 2012, 2013, 2015 and 2017 are supported! [C:\Users\min
er3\xmr-stak-2.2.0\build\xmrstak_cuda_backend.vcxproj]

    41 Warning(s)
    1 Error(s)

Time Elapsed 00:01:20.57
@pebroz
Copy link

pebroz commented Dec 30, 2017

I had the same issues earlier today. You need Visual Studio 2017 15.4 (and not the newest, that is 15.5).

Uninstall Visual Studio 2017, then install the old one (download here: https://www.visualstudio.com/en-us/productinfo/installing-an-earlier-release-of-vs2017 ). Remember to delete your build folder and start over. I used this command to create the build environment: cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 .. -DCUDA_ARCH=30

More details here: https://devtalk.nvidia.com/default/topic/1027299/cuda-setup-and-installation/cuda-9-failed-to-support-the-latest-visual-studio-2017-version-15-5/3

@mike8032
Copy link

mike8032 commented Jan 1, 2018

hi Tech-CF
I have done exactly what you have writen. First uninstalled 15.5 and installed 15.4, restarted. later used your comand line to create the build environment and run build command: cmake --build . --config Release --target install

but i get the fallowing error:
"C:\xmr-stak\build\install.vcxproj" (Standardziel) (1) ->
"C:\xmr-stak\build\ALL_BUILD.vcxproj" (Standardziel) (3) ->
"C:\xmr-stak\build\xmrstak_cuda_backend.vcxproj" (Standardziel) (7) ->
(CustomBuild Ziel) ->
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC
VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" wurde mi
t dem Code 1 beendet. [C:\xmr-stak\build\xmrstak_cuda_backend.vcxproj]

37 Warnung(en)
1 Fehler

any idea, what could be the reason'

thanks upfront

@Alukardz
Copy link

Alukardz commented Jan 3, 2018

I have the same issue and I have tried almost everything.
Tried downgrading to VS 2017 15.4.5
Tried downgrading from Cuda 9.1 to 9.0
double checked and downloaded correct xmr-stak-dep v2
Tried compiling dev and master versions
Now I get no fatal errors, but still 75 warnings related to 'initializing': conversion from some data type to another.

log.txt

@pebroz
Copy link

pebroz commented Jan 3, 2018

0 errors, 75 warnings seems normal. I have the same. The miner is working with cpu,nvidia and amd with these warnings.

dam-ien added a commit to dam-ien/xmr-stak that referenced this issue Jan 15, 2018
Fix for fireice-uk#750, fireice-uk#626, fireice-uk#606, fireice-uk#534, without having to downgrade and do not require modification of host_config.h
Require an additional component during VS2017 installation (VC++ 2017 version 15.4 v14.11 toolset) and an additional command execution before compilation.


,  without having to downgrade
Add instructions for compiling with
dam-ien added a commit to dam-ien/xmr-stak that referenced this issue Jan 15, 2018
Fix for fireice-uk#750, fireice-uk#626, fireice-uk#606, fireice-uk#534, without having to downgrade and do not require modification of host_config.h
Require an additional component during VS2017 installation (VC++ 2017 version 15.4 v14.11 toolset) and an additional command execution before compilation.
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

5 participants