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

Compile failure Windows 10 #610

Closed monerodog closed 6 years ago

monerodog commented 6 years ago

I have experienced this issue on two different computers. The latest version (update) of visual studio has NOT been installed (running 15.5.2).

C:\xmr-stak-dep\xmr-stak-dev\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 12/18/2017 11:01:16 AM. Project "C:\xmr-stak-dep\xmr-stak-dev\build\install.vcxproj" on node 1 (default targets). Project "C:\xmr-stak-dep\xmr-stak-dev\build\install.vcxproj" (1) is building "C:\xmr-stak-dep\xmr-stak-dev\build\ZERO_C HECK.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:/xmr-stak-dep/xmr-stak-dev/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:\xmr-stak-dep\xmr-stak-dev\build\ZERO_CHECK.vcxproj" (default targets).

Project "C:\xmr-stak-dep\xmr-stak-dev\build\install.vcxproj" (1) is building "C:\xmr-stak-dep\xmr-stak-dev\build\ALL_BU ILD.vcxproj" (3) on node 1 (default targets). Project "C:\xmr-stak-dep\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3) is building "C:\xmr-stak-dep\xmr-stak-dev\build\xmr- stak.vcxproj" (4) on node 1 (default targets). Project "C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak.vcxproj" (4) is building "C:\xmr-stak-dep\xmr-stak-dev\build\xmr-s tak-backend.vcxproj" (5) on node 1 (default targets). Project "C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj" (5) is building "C:\xmr-stak-dep\xmr-stak-dev\bui ld\xmr-stak-c.vcxproj" (6) on node 1 (default targets). PrepareForBuild: Creating directory "xmr-stak-c.dir\Release\". Creating directory "C:\xmr-stak-dep\xmr-stak-dev\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:/xmr-stak-dep/xmr-stak-dev/CMakeLists.txt CMake does not need to re-run because C:/xmr-stak-dep/xmr-stak-dev/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:\xmr-stak-dep\xmr-stak-dev." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd\i nclude" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Computin g Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STA K_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_N O_DEPRECATE /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:\xmr-st ak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto\c_blake256.c" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto \c_groestl.c" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto\c_jh.c" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\ backend\cpu\crypto\c_keccak.c" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto\c_skein.c" c_blake256.c C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto\cblake256.c(151): warning C4244: '=': conversion from 'uint64 t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev\build\bin\Release\xmr-stak-c.lib" /NOLOGO /MACHINE:X64 /machine:x64 "xmr-stak-c.dir\Re lease\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:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev\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:/xmr-stak-dep/xmr-stak-dev/CMakeLists.txt CMake does not need to re-run because C:/xmr-stak-dep/xmr-stak-dev/build/CMakeFiles/generate.stamp is up-to-date. MakeDirsForCl: Creating directory "C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.dir\Release\xmrstak". Creating directory "C:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd\i nclude" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Computin g Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STA K_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_N O_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScop e /Zc:inline /GR /Fo"xmr-stak-backend.dir\Release\/xmrstak/jconf.cpp.obj" /Fd"xmr-stak-backend.dir\Release\xmr-stak-b ackend.pdb" /Gd /TP /errorReport:queue "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\jconf.cpp" jconf.cpp C:\xmr-stak-dep\xmr-stak-dev\xmrstak\jconf.cpp(133): warning C4267: 'argument': conversion from 'size_t' to 'rapidjson: :SizeType', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd\i nclude" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Computin g Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STA K_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_N O_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScop e /Zc:inline /GR /Fo"xmr-stak-backend.dir\Release\" /Fd"xmr-stak-backend.dir\Release\xmr-stak-backend.pdb" /Gd /TP / errorReport:queue "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\version.cpp" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cp u\hwlocMemory.cpp" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\minethd.cpp" "C:\xmr-stak-dep\xmr-stak-dev\xmrst ak\backend\backendConnector.cpp" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\globalStates.cpp" "C:\xmr-stak-dep\xmr -stak-dev\xmrstak\backend\cpu\crypto\cryptonightcommon.cpp" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\http\httpd.cpp" "C :\xmr-stak-dep\xmr-stak-dev\xmrstak\http\webdesign.cpp" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\misc\console.cpp" "C:\x mr-stak-dep\xmr-stak-dev\xmrstak\misc\executor.cpp" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\misc\telemetry.cpp" "C:\xmr -stak-dep\xmr-stak-dev\xmrstak\misc\utility.cpp" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\jpsock.cpp" "C:\xmr-stak-d ep\xmr-stak-dev\xmrstak\net\socket.cpp" version.cpp hwlocMemory.cpp C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\hwlocMemory.cpp(37): warning C4267: 'argument': conversion from 'size t' to 'unsigned int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] minethd.cpp C:\xmr-stak-dep\xmr-stak-dev.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' t o 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev\ 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,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:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\autoAdjustHwloc.hpp(210): note: see reference to function template i nstantiation 'void std::vector<std::_Vbase,std::allocator>::emplace_back<size_t&>(size_t &)' being compi led c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(293): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\minethd.cpp(359): note: see reference to function template instantia tion 'void cryptonight_hash<2097136,524288,2097152,false,false>(const void ,::size_t,void ,cryptonight_ctx )' bein g compiled c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(358): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\minethd.cpp(508): note: see reference to function template instantia tion 'void cryptonight_double_hash<2097136,524288,2097152,false,false>(const void ,::size_t,void ,cryptonight_ctx )' being compiled c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(359): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(492): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\minethd.cpp(508): note: see reference to function template instantia tion 'void cryptonight_triple_hash<2097136,524288,2097152,false,false>(const void ,::size_t,void ,cryptonight_ctx )' being compiled c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(567): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\minethd.cpp(508): note: see reference to function template instantia tion 'void cryptonight_quad_hash<2097136,524288,2097152,false,false>(const void ,::size_t,void *,cryptonight_ctx ) ' being compiled c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(655): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\minethd.cpp(508): note: see reference to function template instantia tion 'void cryptonight_penta_hash<2097136,524288,2097152,false,false>(const void ,::size_t,void ,cryptonight_ctx )' being compiled C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\minethd.cpp(639): warning C4267: 'argument': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\minethd.cpp(528): note: see reference to function template instantia tion '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:\xmr-stak-dep\xmr-stak-dev.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' t o 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] webdesign.cpp console.cpp C:\xmr-stak-dep\xmr-stak-dev\xmrstak\misc\console.cpp(237): warning C4267: 'argument': conversion from 'size_t' to 'int ', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] executor.cpp c:\xmr-stak-dep\xmr-stak-dev\xmrstak\misc\executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] telemetry.cpp C:\xmr-stak-dep\xmr-stak-dev\xmrstak\misc\telemetry.cpp(93): warning C4244: '=': conversion from 'uint64_t' to 'double' , possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\misc\telemetry.cpp(94): warning C4244: '=': conversion from 'uint64_t' to 'double' , possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] utility.cpp jpsock.cpp c:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' t o 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\jpsock.cpp(232): warning C4267: 'argument': conversion from 'size_t' to 'unsig ned int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\jpsock.cpp(250): warning C4244: 'initializing': conversion from '__int64' to ' int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\jpsock.cpp(567): warning C4267: 'argument': conversion from 'size_t' to 'rapid json::SizeType', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] socket.cpp c:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWORD', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' t o 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\socket.cpp(150): warning C4267: 'initializing': conversion from 'size_t' to 'i nt', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd\i nclude" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Computin g Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STA K_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_N O_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScop e /Zc:inline /GR /Fo"xmr-stak-backend.dir\Release\/xmrstak/backend/cpu/jconf.cpp.obj" /Fd"xmr-stak-backend.dir\Releas e\xmr-stak-backend.pdb" /Gd /TP /errorReport:queue "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\jconf.cpp" jconf.cpp C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\jconf.cpp(106): warning C4267: 'argument': conversion from 'size_t' to 'rapidjson::SizeType', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev\build\bin\Release\xmr-stak-backend.lib" /NOLOGO /MACHINE:X64 /machine:x64 "xmr-stak-ba ckend.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:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev\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:/xmr-stak-dep/xmr-stak-dev/CMakeLists.txt CMake does not need to re-run because C:/xmr-stak-dep/xmr-stak-dev/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:\xmr-stak-dep\xmr-stak-dev." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd\i nclude" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Computin g Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STA K_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_N O_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D _MBCS /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScop e /Zc:inline /GR /Fo"xmr-stak.dir\Release\" /Fd"xmr-stak.dir\Release\vc141.pdb" /Gd /TP /errorReport:queue "C:\xmr-s tak-dep\xmr-stak-dev\xmrstak\cli\cli-miner.cpp" cli-miner.cpp C:\xmr-stak-dep\xmr-stak-dev.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' t o 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\cli\cli-miner.cpp(358): warning C4244: 'argument': conversion from 'timet' to 'un signed int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\cli\cli-miner.cpp(679): warning C4244: 'initializing': conversion from 'unsigned _int64' to 'double', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev\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/x86 _64/OpenCL.lib/Release" "C:\xmr-stak-dep\libmicrohttpd\lib\libmicrohttpd.lib" "C:\xmr-stak-dep\openssl\lib\ssleay32.l ib" "C:\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\xmr-stak-dep\hwloc\lib\libhwloc.lib" wsock32.lib ws2_32.lib "bin\R elease\xmr-stak-c.lib" "bin\Release\xmr-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" wsock32.lib ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib o le32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /PDB:"C:/xmr-stak-dep/xmr-stak-dev/build/bin/Release/xmr-stak.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAM ICBASE /NXCOMPAT /IMPLIB:"C:/xmr-stak-dep/xmr-stak-dev/build/bin/Release/xmr-stak.lib" /MACHINE:X64 /machine:x64 "xm r-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:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak.vcxproj" (default targets).

Project "C:\xmr-stak-dep\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3) is building "C:\xmr-stak-dep\xmr-stak-dev\build\xmrs tak_cuda_backend.vcxproj" (7) on node 1 (default targets). PrepareForBuild: Creating directory "xmrstak_cuda_backend.dir\Release\". Creating directory "xmrstak_cudabackend.dir\Release\xmrstak.03B5C28B.tlog\". InitializeBuildStatus: Creating "xmrstak_cudabackend.dir\Release\xmrstak.03B5C28B.tlog\unsuccessfulbuild" because "AlwaysCreate" was speci fied. ComputeCustomBuildOutput: Creating directory "C:\xmr-stak-dep\xmr-stak-dev\build\CMakeFiles\xmrstak_cuda_backend.dir\xmrstak\backend\nvidia\nvc c_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:\xmr-stak-de p\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_cuda_backend.vcxproj] CMake Error at xmrstak_cuda_backend_generated_cuda_core.cu.obj.Release.cmake:222 (message): Error generating C:/xmr-stak-dep/xmr-stak-dev/build/CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/Release/xmr stak_cuda_backend_generated_cuda_core.cu.obj

Done Building Project "C:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_cuda_backend.vcxproj" (default targets) -- FAILED.

Project "C:\xmr-stak-dep\xmr-stak-dev\build\ALL_BUILD.vcxproj" (3) is building "C:\xmr-stak-dep\xmr-stak-dev\build\xmrs tak_opencl_backend.vcxproj" (8) on node 1 (default targets). PrepareForBuild: Creating directory "xmrstak_opencl_backend.dir\Release\". Creating directory "xmrstak_openclbackend.dir\Release\xmrstak.814F648F.tlog\". InitializeBuildStatus: Creating "xmrstak_openclbackend.dir\Release\xmrstak.814F648F.tlog\unsuccessfulbuild" because "AlwaysCreate" was spe cified. CustomBuild: Building Custom Rule C:/xmr-stak-dep/xmr-stak-dev/CMakeLists.txt CMake does not need to re-run because C:/xmr-stak-dep/xmr-stak-dev/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:\xmr-stak-dep\xmr-stak-dev." /I"C:\Program Files (x86)\AMD APP SDK\3.0\include" /I"C:\xmr-stak-dep\libmicrohttpd\i nclude" /I"C:\xmr-stak-dep\openssl\include" /I"C:\xmr-stak-dep\hwloc\include" /I"C:\Program Files\NVIDIA GPU Computin g Toolkit\CUDA\v9.1\include" /nologo /W3 /WX- /diagnostics:classic /O2 /Ob2 /D WIN32 /D _WINDOWS /D NDEBUG /D XMR_STA K_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_N O_DEPRECATE /D NOMINMAX /D "CMAKE_INTDIR=\"Release\"" /D xmrstak_opencl_backend_EXPORTS /D _WINDLL /D _MBCS /Gm- /EHs c /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"xmrstak_opencl_backend.dir\Release\" /Fd"xmrstak_o pencl_backend.dir\Release\vc141.pdb" /Gd /TP /errorReport:queue "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\amd\amd _gpu\gpu.cpp" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\amd\jconf.cpp" "C:\xmr-stak-dep\xmr-stak-dev\xmrstak\back end\amd\minethd.cpp" gpu.cpp C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\amd\amdgpu\gpu.cpp(33): warning C4267: 'argument': conversion from 'size t' to 'DWORD', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\amd\amd_gpu\gpu.cpp(555): warning C4018: '<': signed/unsigned mismatch [C: \xmr-stak-dep\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\amd\amd_gpu\gpu.cpp(662): warning C4267: 'argument': conversion from 'size _t' to 'cl_uint', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\amd\amd_gpu\gpu.cpp(699): warning C4267: '=': conversion from 'size_t' to 'cl_int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\amd\amd_gpu\gpu.cpp(981): warning C4267: '+=': conversion from 'size_t' to 'uint32_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj] jconf.cpp C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\amd\jconf.cpp(101): warning C4267: 'argument': conversion from 'size_t' to 'rapidjson::SizeType', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj] minethd.cpp c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\amd\autoAdjust.hpp(60): warning C4267: 'initializing': conversion from 'si ze_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' t o 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\amd\minethd.cpp(211): warning C4267: 'initializing': conversion from 'size _t' to 'uint32_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev\build\bin\Release\xmrstak_opencl_backend.dll" /INCREMENTAL:NO /NOLO GO /LIBPATH:"C:/Program Files (x86)/AMD APP SDK/3.0/lib/x86_64/OpenCL.lib" /LIBPATH:"C:/Program Files (x86)/AMD APP S DK/3.0/lib/x86_64/OpenCL.lib/Release" "C:\Program Files (x86)\AMD APP SDK\3.0\lib\x86_64\OpenCL.lib" "bin\Release\xmr -stak-backend.lib" "bin\Release\xmr-stak-c.lib" "C:\xmr-stak-dep\libmicrohttpd\lib\libmicrohttpd.lib" "C:\xmr-stak-de p\openssl\lib\ssleay32.lib" "C:\xmr-stak-dep\openssl\lib\libeay32.lib" "C:\xmr-stak-dep\hwloc\lib\libhwloc.lib" wsock 32.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:/xmr-stak-dep/x mr-stak-dev/build/bin/Release/xmrstak_opencl_backend.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB: "C:/xmr-stak-dep/xmr-stak-dev/build/bin/Release/xmrstak_opencl_backend.lib" /MACHINE:X64 /machine:x64 /DLL xmrstak_o pencl_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:/xmr-stak-dep/xmr-stak-dev/build/bin/Release/xmrstak_opencl_backend.lib and object C:/xmr-stak- dep/xmr-stak-dev/build/bin/Release/xmrstak_opencl_backend.exp Generating code Finished generating code xmrstak_opencl_backend.vcxproj -> C:\xmr-stak-dep\xmr-stak-dev\build\bin\Release\xmrstak_opencl_backend.dll FinalizeBuildStatus: Deleting file "xmrstak_openclbackend.dir\Release\xmrstak.814F648F.tlog\unsuccessfulbuild". Touching "xmrstak_openclbackend.dir\Release\xmrstak.814F648F.tlog\xmrstak_opencl_backend.lastbuildstate". Done Building Project "C:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_opencl_backend.vcxproj" (default targets).

Done Building Project "C:\xmr-stak-dep\xmr-stak-dev\build\ALL_BUILD.vcxproj" (default targets) -- FAILED.

Done Building Project "C:\xmr-stak-dep\xmr-stak-dev\build\install.vcxproj" (default targets) -- FAILED.

Build FAILED.

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

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

"C:\xmr-stak-dep\xmr-stak-dev\build\install.vcxproj" (default target) (1) -> "C:\xmr-stak-dep\xmr-stak-dev\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak.vcxproj" (default target) (4) -> "C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj" (default target) (5) -> C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\hwlocMemory.cpp(37): warning C4267: 'argument': conversion from 'siz e_t' to 'unsigned int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-de v\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(293): warning C4267: 'argument': conversi on from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(358): warning C4267: 'argument': conversi on from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(359): warning C4267: 'argument': conversi on from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(492): warning C4267: 'argument': conversi on from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(567): warning C4267: 'argument': conversi on from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\crypto/cryptonight_aesni.h(655): warning C4267: 'argument': conversi on from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\backend\cpu\minethd.cpp(639): warning C4267: 'argument': conversion from 'size_t ' to 'uint32_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\misc\console.cpp(237): warning C4267: 'argument': conversion from 'size_t' to 'i nt', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\misc\executor.hpp(67): warning C4244: 'initializing': conversion from 'double' t o 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\misc\telemetry.cpp(93): warning C4244: '=': conversion from 'uint64_t' to 'doubl e', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\misc\telemetry.cpp(94): warning C4244: '=': conversion from 'uint64_t' to 'doubl e', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWORD ', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWORD ', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\jpsock.cpp(232): warning C4267: 'argument': conversion from 'size_t' to 'uns igned int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\jpsock.cpp(250): warning C4244: 'initializing': conversion from '__int64' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\jpsock.cpp(567): warning C4267: 'argument': conversion from 'size_t' to 'rap idjson::SizeType', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\socks.hpp(38): warning C4267: 'argument': conversion from 'size_t' to 'DWORD ', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] c:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\socks.hpp(51): warning C4267: 'argument': conversion from 'size_t' to 'DWORD ', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev.\xmrstak/misc/executor.hpp(67): warning C4244: 'initializing': conversion from 'double' to 'const ::size_t', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj] C:\xmr-stak-dep\xmr-stak-dev\xmrstak\net\socket.cpp(150): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data [C:\xmr-stak-dep\xmr-stak-dev\build\xmr-stak-backend.vcxproj]

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

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

"C:\xmr-stak-dep\xmr-stak-dev\build\install.vcxproj" (default target) (1) -> "C:\xmr-stak-dep\xmr-stak-dev\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\xmr-stak-dep\xmr-stak-dev\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:\xmr-stak-dep\xmr-stak-dev\build\xmrstak_cuda_backend.vcxproj]

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

"C:\xmr-stak-dep\xmr-stak-dev\build\install.vcxproj" (default target) (1) -> "C:\xmr-stak-dep\xmr-stak-dev\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\xmr-stak-dep\xmr-stak-dev\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:52.23

C:\xmr-stak-dep\xmr-stak-dev\build>

JerichoJones commented 6 years ago

CUDA\v9.1

NVIDIA Issue

You can try searching the Issues here for possible workarounds. I don't think any have been completely successful.


fatal error C1189: #error: --
unsupported Microsoft Visual Studio version! Only the versions 2012, 2013, 2015 and 2017 are supported! 
ChaosMarc commented 6 years ago

I had the same problem and fixed it by editing the host_config.h file in line 133

if _MSC_VER < 1600 || _MSC_VER > 1912

After I changed the max value of the check to 1912 (or higher) the build was successful.

kheinrich188 commented 6 years ago

@ChaosMarc host_config.h ? where is it?

kheinrich188 commented 6 years ago
CUDA_TOOLKIT_ROOT_DIR not found or specified
-- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) (Required is at least version "7.5")
CMake Error at CMakeLists.txt:203 (message):
  CUDA NOT found: use `-DCUDA_ENABLE=OFF` to build without NVIDIA GPU support

On cmake command I get this error above and when I turn off als levels that he's printing and build I get 34 errors

I have only AMD GPUS

nonvtec commented 6 years ago

I've been troubleshooting this issue for hours now, that 1912 workaround isn't working, gives me even more errors on compiling.

ChaosMarc commented 6 years ago

I have only AMD GPUS

Then you should either build with the offered parameter -DCUDA_ENABLE=OFF or install cuda

I've been troubleshooting this issue for hours now, that 1912 workaround isn't working, gives me even more errors on compiling.

Without the actual error messages no one can help you with them. I myself got some other errors afterwards too, but could fix them by googling (at least with the xmr binary dependencies v1 and toolkit v140). are you building from master or dev? there still are some build blocker bugs for cuda 9 as well as windows 10 on master.

nonvtec commented 6 years ago

I’ll try it again with v1 dep/toolkit v140 and let you know. I’m building from dev.

Froghut commented 6 years ago

I got the same problem. I tried with v140 toolkit (cmake -G "Visual Studio 15 2017 Win64" -T v140,host=x64 ..) but get the error "The C compiler identification is unknown". Do I have to install something additional in VS setup?

iformas commented 6 years ago

@Froghut you need to: