fireice-uk / xmr-stak

Free Monero RandomX Miner and unified CryptoNight miner
GNU General Public License v3.0
4.05k stars 1.79k forks source link

Getting wrong version of Visual studio when compiling cuda win10 64bit #554

Closed LegolasGChief closed 6 years ago

LegolasGChief commented 6 years ago

Microsoft Windows [Version 10.0.16299.64] (c) 2017 Microsoft Corporation. All rights reserved.

C:\Users\Mike>"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat"


Visual Studio 2017 MSBuild Command Prompt Copyright (c) 2017 Microsoft Corporation


C:\Users\Mike\source>set CMAKE_PREFIX_PATH=C:\xmr-stak-dep\hwloc;C:\xmr-stak-dep\libmicrohttpd;C:\xmr-stak-dep\openssl

C:\Users\Mike\source>cd build

C:\Users\Mike\source\build>cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 .. -- 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/Mike/source/build

C:\Users\Mike\source\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 14/12/2017 23:51:13. Project "C:\Users\Mike\source\build\install.vcxproj" on node 1 (default targets). Project "C:\Users\Mike\source\build\install.vcxproj" (1) is building "C:\Users\Mike\source\build\ZERO_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/Mike/source/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\Mike\source\build\ZERO_CHECK.vcxproj" (default targets).

Project "C:\Users\Mike\source\build\install.vcxproj" (1) is building "C:\Users\Mike\source\build\ALL_BUILD.vcxproj" (3) on node 1 (default targets). Project "C:\Users\Mike\source\build\ALL_BUILD.vcxproj" (3) is building "C:\Users\Mike\source\build\xmr-stak.vcxproj" (4 ) on node 1 (default targets). Project "C:\Users\Mike\source\build\xmr-stak.vcxproj" (4) is building "C:\Users\Mike\source\build\xmr-stak-backend.vcxp roj" (5) on node 1 (default targets). Project "C:\Users\Mike\source\build\xmr-stak-backend.vcxproj" (5) is building "C:\Users\Mike\source\build\xmr-stak-c.vc xproj" (6) on node 1 (default targets). PrepareForBuild: Creating directory "xmr-stak-c.dir\Release\". Creating directory "C:\Users\Mike\source\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/Mike/source/CMakeLists.txt CMake does not need to re-run because C:/Users/Mike/source/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 /IC :\Users\Mike\source. /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 Computing Toolkit\ CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STAK_LARGEGRI D=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_DEPRECAT E /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo "xmr-stak-c.dir\Release\" /Fd"xmr-stak-c.dir\Release\xmr-stak-c.pdb" /Gd /TC /errorReport:queue C:\Users\Mike\source \xmrstak\backend\cpu\crypto\c_blake256.c C:\Users\Mike\source\xmrstak\backend\cpu\crypto\c_groestl.c C:\Users\Mike\so urce\xmrstak\backend\cpu\crypto\c_jh.c C:\Users\Mike\source\xmrstak\backend\cpu\crypto\c_keccak.c C:\Users\Mike\sourc e\xmrstak\backend\cpu\crypto\c_skein.c c_blake256.c C:\Users\Mike\source\xmrstak\backend\cpu\crypto\c_blake256.c(151): warning C4244: '=': conversion from 'uint64_t' to 'i nt', possible loss of data [C:\Users\Mike\source\build\xmr-stak-c.vcxproj] c_groestl.c c_jh.c c_keccak.c cskein.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\Mike\source\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\Mike\source\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\Mike\source\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/Mike/source/CMakeLists.txt CMake does not need to re-run because C:/Users/Mike/source/build/CMakeFiles/generate.stamp is up-to-date. MakeDirsForCl: Creating directory "C:\Users\Mike\source\build\xmr-stak-backend.dir\Release\xmrstak". Creating directory "C:\Users\Mike\source\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 /IC :\Users\Mike\source. /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 Computing Toolkit\ CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STAK_LARGEGRI D=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_DEPRECAT E /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inli ne /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\Mike\source\xmrstak\jconf.cpp jconf.cpp C:\Users\Mike\source\xmrstak\jconf.cpp(133): warning C4267: 'argument': conversion from 'size_t' to 'rapidjson::SizeTyp e', possible loss of data [C:\Users\Mike\source\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 /IC :\Users\Mike\source. /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 Computing Toolkit\ CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STAK_LARGEGRI D=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_DEPRECAT E /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inli ne /GR /Fo"xmr-stak-backend.dir\Release\" /Fd"xmr-stak-backend.dir\Release\xmr-stak-backend.pdb" /Gd /TP /errorRepor t:queue C:\Users\Mike\source\xmrstak\version.cpp C:\Users\Mike\source\xmrstak\backend\cpu\hwlocMemory.cpp C:\Users\Mi ke\source\xmrstak\backend\cpu\minethd.cpp C:\Users\Mike\source\xmrstak\backend\backendConnector.cpp C:\Users\Mike\sou rce\xmrstak\backend\globalStates.cpp C:\Users\Mike\source\xmrstak\backend\cpu\crypto\cryptonight_common.cpp C:\Users\ Mike\source\xmrstak\http\httpd.cpp C:\Users\Mike\source\xmrstak\http\webdesign.cpp C:\Users\Mike\source\xmrstak\misc\ console.cpp C:\Users\Mike\source\xmrstak\misc\executor.cpp C:\Users\Mike\source\xmrstak\misc\telemetry.cpp C:\Users\M ike\source\xmrstak\misc\utility.cpp C:\Users\Mike\source\xmrstak\net\jpsock.cpp C:\Users\Mike\source\xmrstak\net\sock et.cpp version.cpp hwlocMemory.cpp C:\Users\Mike\source\xmrstak\backend\cpu\hwlocMemory.cpp(37): warning C4267: 'argument': conversion from 'size_t' to 'u nsigned int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] minethd.cpp C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\Users\Mike\source\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\Mike\source\build\xm r-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,sizet&>( Alloc &,_Objty const ,size_t &)' being compiled with [ _Alloc=std::allocator, _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,sizet&>( Alloc &,_Objty const ,size_t &)' being compiled with [ _Alloc=std::allocator, _Ty=unsigned int, _Objty=unsigned int ] c:\users\mike\source\xmrstak\backend\cpu\autoAdjustHwloc.hpp(210): note: see reference to function template instantia tion 'void std::vector<std::_Vbase,std::allocator>::emplace_back<size_t&>(size_t &)' being compiled c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(293): warning C4267: 'argument': conversion from 's ize_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\cpu\minethd.cpp(359): note: see reference to function template instantiation 'vo id cryptonight_hash<2097136,524288,2097152,false,false>(const void ,::size_t,void ,cryptonight_ctx )' being compil ed c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(358): warning C4267: 'argument': conversion from 's ize_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\cpu\minethd.cpp(508): note: see reference to function template instantiation 'vo id cryptonight_double_hash<2097136,524288,2097152,false,false>(const void ,::size_t,void *,cryptonight_ctx )' bein g compiled c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(359): warning C4267: 'argument': conversion from 's ize_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(492): warning C4267: 'argument': conversion from 's ize_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\cpu\minethd.cpp(508): note: see reference to function template instantiation 'vo id cryptonight_triple_hash<2097136,524288,2097152,false,false>(const void ,::size_t,void ,cryptonight_ctx )' bein g compiled c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(567): warning C4267: 'argument': conversion from 's ize_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\cpu\minethd.cpp(508): note: see reference to function template instantiation 'vo id cryptonight_quad_hash<2097136,524288,2097152,false,false>(const void ,::size_t,void ,cryptonight_ctx )' being compiled c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(655): warning C4267: 'argument': conversion from 's ize_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\cpu\minethd.cpp(508): note: see reference to function template instantiation 'vo id cryptonight_penta_hash<2097136,524288,2097152,false,false>(const void ,::size_t,void ,cryptonight_ctx )' being compiled C:\Users\Mike\source\xmrstak\backend\cpu\minethd.cpp(639): warning C4267: 'argument': conversion from 'size_t' to 'uint 32_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\cpu\minethd.cpp(528): note: see reference to function template instantiation 'vo id 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\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] webdesign.cpp console.cpp C:\Users\Mike\source\xmrstak\misc\console.cpp(232): warning C4267: 'argument': conversion from 'size_t' to 'int', possi ble loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] executor.cpp c:\users\mike\source\xmrstak\misc\executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const : :size_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] telemetry.cpp C:\Users\Mike\source\xmrstak\misc\telemetry.cpp(93): warning C4244: '=': conversion from 'uint64_t' to 'double', possib le loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\misc\telemetry.cpp(94): warning C4244: '=': conversion from 'uint64_t' to 'double', possib le loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] utility.cpp jpsock.cpp c:\users\mike\source\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possibl e loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possibl e loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\net\jpsock.cpp(232): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int' , possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\net\jpsock.cpp(250): warning C4244: 'initializing': conversion from '__int64' to 'int', po ssible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\net\jpsock.cpp(567): warning C4267: 'argument': conversion from 'size_t' to 'rapidjson::Si zeType', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] socket.cpp c:\users\mike\source\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possibl e loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possibl e loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\net\socket.cpp(150): warning C4267: 'initializing': conversion from 'size_t' to 'int', pos sible loss of data [C:\Users\Mike\source\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 /IC :\Users\Mike\source. /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 Computing Toolkit\ CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STAK_LARGEGRI D=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_DEPRECAT E /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inli ne /GR /Fo"xmr-stak-backend.dir\Release\/xmrstak/backend/cpu/jconf.cpp.obj" /Fd"xmr-stak-backend.dir\Release\xmr-stak -backend.pdb" /Gd /TP /errorReport:queue C:\Users\Mike\source\xmrstak\backend\cpu\jconf.cpp jconf.cpp C:\Users\Mike\source\xmrstak\backend\cpu\jconf.cpp(106): warning C4267: 'argument': conversion from 'size_t' to 'rapidj son::SizeType', possible loss of data [C:\Users\Mike\source\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\Mike\source\build\bin\Release\xmr-stak-backend.lib" /NOLOGO /MACHINE:X64 /machine:x64 "xmr-stak-backend.di r\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\Mike\source\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\Mike\source\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/Mike/source/CMakeLists.txt CMake does not need to re-run because C:/Users/Mike/source/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 /IC :\Users\Mike\source. /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 Computing Toolkit\ CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STAK_LARGEGRI D=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_DEPRECAT E /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inli ne /GR /Fo"xmr-stak.dir\Release\" /Fd"xmr-stak.dir\Release\vc141.pdb" /Gd /TP /errorReport:queue "C:\Users\Mike\sour ce\xmrstak\cli\cli-miner.cpp" cli-miner.cpp C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak.vcxproj] C:\Users\Mike\source\xmrstak\cli\cli-miner.cpp(357): warning C4244: 'argument': conversion from 'time_t' to 'unsigned i nt', possible loss of data [C:\Users\Mike\source\build\xmr-stak.vcxproj] C:\Users\Mike\source\xmrstak\cli\cli-miner.cpp(679): warning C4244: 'initializing': conversion from 'unsigned __int64' to 'double', possible loss of data [C:\Users\Mike\source\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\Mike\source\build\bin\Release\xmr-stak.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:/Progra m 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/Open CL.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\x mr-stak-c.lib" "bin\Release\xmr-stak-backend.lib" "bin\Release\xmr-stak-c.lib" "C:\xmr-stak-dep\libmicrohttpd\lib\lib microhttpd.lib" "C:\xmr-stak-dep\openssl\lib\ssleay32.lib" "C:\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\xmr-stak-de p\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'" /manifes t:embed /PDB:"C:/Users/Mike/source/build/bin/Release/xmr-stak.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Mike/source/build/bin/Release/xmr-stak.lib" /MACHINE:X64 /machine:x64 "xmr-stak.dir\Release\cli-m iner.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\Mike\source\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\Mike\source\build\xmr-stak.vcxproj" (default targets).

Project "C:\Users\Mike\source\build\ALL_BUILD.vcxproj" (3) is building "C:\Users\Mike\source\build\xmrstak_cuda_backend .vcxproj" (7) on node 1 (default targets). PrepareForBuild: Creating directory "xmrstak_cuda_backend.dir\Release\". Creating directory "xmrstak_cudabackend.dir\Release\xmrstak.08A8A718.tlog\". InitializeBuildStatus: Creating "xmrstak_cudabackend.dir\Release\xmrstak.08A8A718.tlog\unsuccessfulbuild" because "AlwaysCreate" was speci fied. ComputeCustomBuildOutput: Creating directory "C:\Users\Mike\source\build\CMakeFiles\xmrstak_cuda_backend.dir\xmrstak\backend\nvidia\nvcc_code\R elease\". 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\Mike\ source\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\Mike\source\build\xmrstak_cuda_backend.vcxproj] CMake Error at xmrstak_cuda_backend_generated_cuda_core.cu.obj.Release.cmake:219 (message): Error generating C:/Users/Mike/source/build/CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/Release/xmrstak_cud a_backend_generated_cuda_core.cu.obj

Done Building Project "C:\Users\Mike\source\build\xmrstak_cuda_backend.vcxproj" (default targets) -- FAILED.**

Project "C:\Users\Mike\source\build\ALL_BUILD.vcxproj" (3) is building "C:\Users\Mike\source\build\xmrstak_opencl_backe nd.vcxproj" (8) on node 1 (default targets). PrepareForBuild: Creating directory "xmrstak_opencl_backend.dir\Release\". Creating directory "xmrstak_openclbackend.dir\Release\xmrstak.EB528195.tlog\". InitializeBuildStatus: Creating "xmrstak_openclbackend.dir\Release\xmrstak.EB528195.tlog\unsuccessfulbuild" because "AlwaysCreate" was spe cified. CustomBuild: Building Custom Rule C:/Users/Mike/source/CMakeLists.txt CMake does not need to re-run because C:/Users/Mike/source/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 /IC :\Users\Mike\source. /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 Computing Toolkit\ CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STAK_LARGEGRI D=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_DEPRECAT E /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D xmrstak_opencl_backend_EXPORTS /D _WINDLL /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"xmrstak_opencl_backend.dir\Release\" /Fd"xmrstak_opencl_back end.dir\Release\vc141.pdb" /Gd /TP /errorReport:queue C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp C:\Use rs\Mike\source\xmrstak\backend\amd\jconf.cpp C:\Users\Mike\source\xmrstak\backend\amd\minethd.cpp gpu.cpp C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp(33): warning C4267: 'argument': conversion from 'size_t' to 'D WORD', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp(555): warning C4018: '<': signed/unsigned mismatch [C:\Users\M ike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp(662): warning C4267: 'argument': conversion from 'size_t' to ' cl_uint', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp(699): warning C4267: '=': conversion from 'size_t' to 'cl_int' , possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp(981): warning C4267: '+=': conversion from 'size_t' to 'uint32 _t', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] jconf.cpp C:\Users\Mike\source\xmrstak\backend\amd\jconf.cpp(101): warning C4267: 'argument': conversion from 'size_t' to 'rapidj son::SizeType', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] minethd.cpp c:\users\mike\source\xmrstak\backend\amd\autoAdjust.hpp(60): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\minethd.cpp(211): warning C4267: 'initializing': conversion from 'size_t' to ' uint32_t', possible loss of data [C:\Users\Mike\source\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\Mike\source\build\bin\Release\xmrstak_opencl_backend.dll" /INCREMENTAL:NO /NOLOGO /LIBP ATH:"C:/Program Files (x86)/AMD APP SDK/3.0/lib/x86_64/OpenCL.lib" /LIBPATH:"C:/Program Files (x86)/AMD APP SDK/3.0/l ib/x86_64/OpenCL.lib/Release" "C:\Program Files (x86)\AMD APP SDK\3.0\lib\x86_64\OpenCL.lib" "bin\Release\xmr-stak-ba ckend.lib" "bin\Release\xmr-stak-c.lib" "C:\xmr-stak-dep\libmicrohttpd\lib\libmicrohttpd.lib" "C:\xmr-stak-dep\openss l\lib\ssleay32.lib" "C:\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\xmr-stak-dep\hwloc\lib\libhwloc.lib" wsock32.lib w s2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib adv api32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"C:/Users/Mike/source/buil d/bin/Release/xmrstak_opencl_backend.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/Mike/s ource/build/bin/Release/xmrstak_opencl_backend.lib" /MACHINE:X64 /machine:x64 /DLL xmrstak_opencl_backend.dir\Releas e\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/Mike/source/build/bin/Release/xmrstak_opencl_backend.lib and object C:/Users/Mike/source /build/bin/Release/xmrstak_opencl_backend.exp Generating code Finished generating code xmrstak_opencl_backend.vcxproj -> C:\Users\Mike\source\build\bin\Release\xmrstak_opencl_backend.dll FinalizeBuildStatus: Deleting file "xmrstak_openclbackend.dir\Release\xmrstak.EB528195.tlog\unsuccessfulbuild". Touching "xmrstak_openclbackend.dir\Release\xmrstak.EB528195.tlog\xmrstak_opencl_backend.lastbuildstate". Done Building Project "C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj" (default targets).

Done Building Project "C:\Users\Mike\source\build\ALL_BUILD.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\Users\Mike\source\build\install.vcxproj" (default targets) -- FAILED.

Build FAILED.

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

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

"C:\Users\Mike\source\build\install.vcxproj" (default target) (1) -> "C:\Users\Mike\source\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\Users\Mike\source\build\xmr-stak.vcxproj" (default target) (4) -> "C:\Users\Mike\source\build\xmr-stak-backend.vcxproj" (default target) (5) -> C:\Users\Mike\source\xmrstak\backend\cpu\hwlocMemory.cpp(37): warning C4267: 'argument': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'con st ::size_t', possible loss of data [C:\Users\Mike\source\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\Mike\source\build\ xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(293): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(358): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(359): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(492): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(567): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(655): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\cpu\minethd.cpp(639): warning C4267: 'argument': conversion from 'size_t' to 'ui nt32_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'con st ::size_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\misc\console.cpp(232): warning C4267: 'argument': conversion from 'size_t' to 'int', pos sible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\misc\executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\misc\telemetry.cpp(93): warning C4244: '=': conversion from 'uint64_t' to 'double', poss ible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\misc\telemetry.cpp(94): warning C4244: '=': conversion from 'uint64_t' to 'double', poss ible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possi ble loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possi ble loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'con st ::size_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\net\jpsock.cpp(232): warning C4267: 'argument': conversion from 'size_t' to 'unsigned in t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\net\jpsock.cpp(250): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\net\jpsock.cpp(567): warning C4267: 'argument': conversion from 'size_t' to 'rapidjson:: SizeType', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possi ble loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] c:\users\mike\source\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possi ble loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'con st ::size_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj] C:\Users\Mike\source\xmrstak\net\socket.cpp(150): warning C4267: 'initializing': conversion from 'size_t' to 'int', p ossible loss of data [C:\Users\Mike\source\build\xmr-stak-backend.vcxproj]

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

"C:\Users\Mike\source\build\install.vcxproj" (default target) (1) -> "C:\Users\Mike\source\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\Users\Mike\source\build\xmr-stak.vcxproj" (default target) (4) -> C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'con st ::size_t', possible loss of data [C:\Users\Mike\source\build\xmr-stak.vcxproj] C:\Users\Mike\source\xmrstak\cli\cli-miner.cpp(357): warning C4244: 'argument': conversion from 'time_t' to 'unsigned int', possible loss of data [C:\Users\Mike\source\build\xmr-stak.vcxproj] C:\Users\Mike\source\xmrstak\cli\cli-miner.cpp(679): warning C4244: 'initializing': conversion from 'unsigned __int64 ' to 'double', possible loss of data [C:\Users\Mike\source\build\xmr-stak.vcxproj]

"C:\Users\Mike\source\build\install.vcxproj" (default target) (1) -> "C:\Users\Mike\source\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\Users\Mike\source\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\Mike\source\build\xmrstak_cuda_backend.vcxproj]

"C:\Users\Mike\source\build\install.vcxproj" (default target) (1) -> "C:\Users\Mike\source\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj" (default target) (8) -> (ClCompile target) -> C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp(33): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp(555): warning C4018: '<': signed/unsigned mismatch [C:\Users \Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp(662): warning C4267: 'argument': conversion from 'size_t' to 'cl_uint', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp(699): warning C4267: '=': conversion from 'size_t' to 'cl_in t', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\amd_gpu\gpu.cpp(981): warning C4267: '+=': conversion from 'size_t' to 'uint 32_t', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\jconf.cpp(101): warning C4267: 'argument': conversion from 'size_t' to 'rapi djson::SizeType', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] c:\users\mike\source\xmrstak\backend\amd\autoAdjust.hpp(60): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'con st ::size_t', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj] C:\Users\Mike\source\xmrstak\backend\amd\minethd.cpp(211): warning C4267: 'initializing': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\Users\Mike\source\build\xmrstak_opencl_backend.vcxproj]

"C:\Users\Mike\source\build\install.vcxproj" (default target) (1) -> "C:\Users\Mike\source\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\Users\Mike\source\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: -

Time Elapsed 00:00:39.23

JerichoJones commented 6 years ago

I think was patched recently. https://github.com/fireice-uk/xmr-stak/pull/549

NVIDIA Issue discussion

Makanar commented 6 years ago

I am still getting this error with #549. Changing C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include\crt\host_config.h to ignore the version check gives me these errors:

`C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(504): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(505): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(506): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(538): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(1043): erro r : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(1558): erro r : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(2371): erro r : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(2371): erro r : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xutility(543): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xtr1common(58): error : class "std::enable_if<, int>" has no member "type" [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] detected during instantiation of type "std::enable_if_t<, int>" C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xutility(543): here

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xmemory0(390): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xmemory0(1002): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xmemory0(1322): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xstring(1693): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xtr1common(58): error : class "std::enable_if<, void>" has no member "type" [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj ] detected during instantiation of type "std::enable_if_t<, void>" C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xstring(1693): here

C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xutility(298): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

16 errors detected in the compilation of "C:/Users/User/AppData/Local/Temp/tmpxft_00003808_00000000-18_cuda_core.comp ute_70.cpp1.ii". CUSTOMBUILD : nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ignor ed. [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] cuda_core.cu CMake Error at xmrstak_cuda_backend_generated_cuda_core.cu.obj.Release.cmake:279 (message): Error generating file C:/sysiomaster/build/CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/Release/xmrstak_cuda_back end_generated_cuda_core.cu.obj

Done Building Project "C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj" (default targets) -- FAILED.

Project "C:\sysiomaster\build\ALL_BUILD.vcxproj" (3) is building "C:\sysiomaster\build\xmrstak_opencl_backend.vcxproj" (8) on node 1 (default targets). InitializeBuildStatus: Creating "xmrstak_openclbackend.dir\Release\xmrstak.99430F4F.tlog\unsuccessfulbuild" because "AlwaysCreate" was spe cified. CustomBuild: Building Custom Rule C:/sysiomaster/CMakeLists.txt CMake is re-running because C:/sysiomaster/build/CMakeFiles/generate.stamp is out-of-date. the file 'C:/sysiomaster/build/CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/xmrstak_cuda_ba ckend_generated_cuda_core.cu.obj.depend' is newer than 'C:/sysiomaster/build/CMakeFiles/generate.stamp.depend' result='-1' -- Set miner currency to 'monero' fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git -- Configuring done -- Generating done -- Build files have been written to: C:/sysiomaster/build ClCompile: All outputs are up-to-date. Link: All outputs are up-to-date. xmrstak_opencl_backend.vcxproj -> C:\sysiomaster\build\bin\Release\xmrstak_opencl_backend.dll FinalizeBuildStatus: Deleting file "xmrstak_openclbackend.dir\Release\xmrstak.99430F4F.tlog\unsuccessfulbuild". Touching "xmrstak_openclbackend.dir\Release\xmrstak.99430F4F.tlog\xmrstak_opencl_backend.lastbuildstate". Done Building Project "C:\sysiomaster\build\xmrstak_opencl_backend.vcxproj" (default targets).

Done Building Project "C:\sysiomaster\build\ALL_BUILD.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\sysiomaster\build\install.vcxproj" (default targets) -- FAILED.

Build FAILED.

"C:\sysiomaster\build\install.vcxproj" (default target) (1) -> "C:\sysiomaster\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\sysiomaster\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:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] CUSTOMBUILD : nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ign ored. [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj]

"C:\sysiomaster\build\install.vcxproj" (default target) (1) -> "C:\sysiomaster\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj" (default target) (7) -> (CustomBuild target) -> C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(504): err or : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(505): err or : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(506): err or : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(538): err or : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(1043): er ror : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(1558): er ror : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(2371): er ror : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\type_traits(2371): er ror : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xutility(543): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xtr1common(58): error : class "std::enable_if<, int>" has no member "type" [C:\sysiomaster\build\xmrstak_cuda_backend.vcxpro j] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xmemory0(390): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xmemory0(1002): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xmemory0(1322): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xstring(1693): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xtr1common(58): error : class "std::enable_if<, void>" has no member "type" [C:\sysiomaster\build\xmrstak_cuda_backend.vcxpr oj] C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.12.25827\include\xutility(298): error : expression must have a constant value [C:\sysiomaster\build\xmrstak_cuda_backend.vcxproj] `

LegolasGChief commented 6 years ago

https://devtalk.nvidia.com/default/topic/1022648/cuda-setup-and-installation/cuda-9-unsupported-visual-studio-version-error/

does not fix the issue

franklinviniciusra commented 6 years ago

This is happening to me too.

bomb-on commented 6 years ago

I think that latest version of Visual Studio might be your problem here... Check out this topic: https://devtalk.nvidia.com/default/topic/1027299/cuda-9-failed-to-support-the-latest-visual-studio-2017-version-15-5/

inktomi commented 6 years ago

I think we need to wait for an update to CUDA itself, since even editing the files to allow the newer VS version just results in other build errors.

bomb-on commented 6 years ago

@inktomi I compiled successfully with VS2017 v15.4.5 (you can download it here) on Windows 10 with CUDA 9.

JerichoJones commented 6 years ago

NVIDIA Issue. Use VS2017 v15.4.5, it may work.

See @bomb-on post above.