Compiler shows error on stadard VS headers, then crashes

Is observed for 9.0 and 9.1, Visual Studio Professional 15.5.1

1>------ Build started: Project: ArNIGPU, Configuration: ReleaseCC3 x64 ------
1>Build started 02.02.2018 23:24:15.
1>Target AddCudaCompileDeps:
1> Skipping target “AddCudaCompileDeps” because all output files are up-to-date with respect to the input files.
1>Target AddCudaCompilePropsDeps:
1> Skipping target “AddCudaCompilePropsDeps” because all output files are up-to-date with respect to the input files.
1>Target CudaBuild:
1> Target CudaBuildCore:
1> Compiling CUDA source file ArNI.cu…
1>
1> E:\ArNI\ArNIGPU>“C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\nvcc.exe” -gencode=arch=compute_52,code=“sm_52,compute_52” --use-local-env --cl-version 2017 -Xcompiler “/wd4311 /wd4302 /wd4312” -ccbin “C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\bin\HostX86\x64” -x cu -I./ -I…/…/common/inc -I…\boost -I./ -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0/include" -I…/…/common/inc -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\include" --keep-dir x64\ReleaseCC3 -maxrregcount=0 --ptxas-options=-v --machine 64 --compile -cudart static -Xcompiler “/wd 4819” -g -DWIN32 -DWIN32 -D_MBCS -D_MBCS -Xcompiler “/EHsc /W3 /nologo /O2 /FS /Zi /MD " -o x64/ReleaseCC3/ArNI.cu.obj “E:\ArNI\ArNIGPU\ArNI.cu”
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(504): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(505): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(506): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(538): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(1043): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(1558): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(2371): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(2371): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xutility(543): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xtr1common(58): error : class “std::enable_if<, int>” has no member “type”
1> detected during instantiation of type “std::enable_if_t<, int>”
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xutility(543): here
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xmemory0(390): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xmemory0(1002): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xmemory0(1322): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xstring(1693): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xtr1common(58): error : class “std::enable_if<, void>” has no member “type”
1> detected during instantiation of type “std::enable_if_t<, void>”
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xstring(1693): here
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xutility(298): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(88): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(89): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(90): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(109): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(110): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(111): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(163): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(182): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(184): error : invalid redeclaration of member function template “std::_Tuple_val<_Ty>::_Tuple_val(const _Alloc &, std::allocator_arg_t, _Other &&…)”
1> (164): here
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(835): error : no instance of overloaded function “std::tuple<_This, _Rest…>::tuple” matches the specified type
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(847): error : no instance of overloaded function “std::tuple<_This, _Rest…>::tuple” matches the specified type
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\functional(393): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\vector(470): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xtree(589): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xtree(1346): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\list(516): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\list(749): error : expression must have a constant value
1>
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\deque(771): error : expression must have a constant value
1>
1> e:\arni\arni…\ArNIcommon.h(143): warning : extra “;” ignored
1>
1> e:\arni\arni…\ArNIcommon.h(166): warning : extra “;” ignored
1>
1> e:\arni\arni…\ArNIcommon.h(175): warning : extra “;” ignored
1>
1> e:\arni\arnigpu…\ArNI\ArNI.h(53): warning : overloaded function “RNGbase::operator()” is hidden by “RNGHypergeometric::operator()” – virtual function override intended?
1>
1> 0x000000013FD222A5 (0x0000000000000000 0x000000000A67D6C0 0x0000000003261F28 0x0000000000000000)
1> 0x000000013FD1EFE1 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
1> 0x000000013FD1FD83 (0x00000000034E1320 0x0000000000000000 0x0000000000000000 0x000000000A67DE70)
1> 0x000000013FD5404F (0x0000000000000001 0x0000000000000001 0x0000000000000001 0x0000000000000001)
1> 0x000000013FD4E560 (0x0000000000000001 0x0000000000A1C958 0x0000000000A1D000 0x0000000000000001)
1> 0x000000013FBD2DDA (0x0000000000000000 0x0000000000000000 0x0000000000A1CA40 0x000000000A67D598)
1> 0x000000013FBD8161 (0x0000000000A1CFA0 0x000000013FC11692 0x0000000000A1D210 0x0000000000000011)
1> 0x000000013FBD7E60 (0x000000000000763F 0x0000000000000001 0x0000000000000000 0x0000000000000000)
1> 0x000000013FC3AA55 (0x000000000A628D20 0x000000000A67D4C0 0x000000000A639A98 0x0000000000A8E610)
1> 0x000000013FC3BA19 (0x0000000000A8E610 0x0000000000A1D820 0x000000000A639A98 0x0000000800000000)
1> 0x000000013FC3A88E (0x000000000A67D750 0x0000000000000000 0x0000000000000080 0x000000000A45A950)
1> 0x000000013FD5FBDF (0x0000000000000000 0x0000000000000001 0x000000000A628FB8 0x0000000002F4C108)
1> 0x000000013FD47172 (0x0000000002F4CB40 0x000000000A628FB8 0x0000000002F4C108 0x0000000000000000)
1> 0x000000013FD46C32 (0x0000000000000000 0x0000000000A1D681 0x0000000000A1D820 0x0000000B0002D801)
1> 0x000000013FD47BF4 (0x0000000000000000 0x000000000A67D4C0 0x000000000A639A98 0x000000000A63D948)
1> 0x000000013FD5FB1C (0x000000000A67D930 0x0000000000000000 0x000000000A67D4C0 0x000000000A639A98)
1> 0x000000013FD40A10 (0x000000000A67D4C0 0x000000000A63D918 0x0000000000000000 0x000000000A63D918)
1> 0x000000013FD652FA (0x000000000A639A98 0x00000000046EB768 0x000000000A63D948 0x0000000000000000)
1> 0x000000013FD651B8 (0x000000000A63D918 0x000000000A63D990 0x0000000000000000 0x000000000A627538)
1> 0x000000013FCFF9A6 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
1> 0x000000013FCFCF73 (0x000000000A63D918 0x000000000A642430 0x0000000000000000 0x000000000A63D918)
1> 0x000000013FD0CABF (0x000000000A47AA58 0x0000000000000000 0x0000000000000000 0x0000000000000000)
1> 0x000000013FD08CE8 (0x000000000A6392D8 0x0000000000000000 0x0000000140703F30 0x0000000140703F30)
1> 0x000000013FBCE47A (0x0000000000000000 0x000000000A4A47A8 0x0000000000000000 0x0000000000A1DEF0)
1> 0x000000013FD3A909 (0x0000000000000000 0x000000000A4A47A8 0x000000000A47AA58 0x0000000000000000)
1> 0x000000013FB57BFF (0x0000000000A1E360 0x000000000A6390A8 0x0000000000000000 0x0000000000000000)
1> 0x000000013FB556BE (0x000000000A6390A8 0x0000000000A1E020 0x0000000000000001 0x0000000000A1DF94)
1> 0x000000013FB573A4 (0x0000000000C61C30 0x0000000000A1E360 0x000000020007D09B 0x0000000000000000)
1> 0x000000013FB5A52C (0x0000000000000000 0x0000000000A1E3E0 0x0000000000000000 0x0000000000000001)
1> 0x000000013FB6F3E2 (0x0000000000A1E830 0x0000000000A1ED40 0x000000000A639030 0x0000000000000001)
1> 0x000000013FBB1AD3 (0x000000000000000A 0x000000013FE66C29 0x000000014066DB50 0x0000000000000000)
1> 0x000000013FBB444E (0x0000000008A008B3 0x0000000000000000 0x0000000000A1EC70 0x0000000000000000)
1> 0x000000013FBAAE32 (0x0000000000A92080 0x0000000000000000 0x0000000000000000 0x0000000000000006)
1> 0x000000013FBAC53A (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
1> 0x000000013FD74104 (0x0000000000C3C8D0 0x0000000000C2E590 0x0000000000000000 0x0000000000000000)
1> 0x000000013FB3D5D0 (0x0000000000A1F158 0x0000000000000000 0x0000000000000000 0x000000000000000F)
1> 0x000000013FB3D739 (0x000000000000001B 0x0000000000C3C8D0 0x0000000000C2E590 0x0000000000C287B0)
1> 0x000000013FB00DC3 (0x0000000000C2E590 0x0000000000000000 0x0000000000000000 0x0000000000C239B0)
1> 0x000000013FAF9E01 (0x0000000000C288E0 0x0000000000001000 0x0000000000000000 0x0000000000000001)
1> 0x000000013FB04630 (0x0000000000000000 0x0000000000000001 0x0000000000000000 0x0000000000000000)
1> 0x000000013FE6DF30 (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000)
1> ArNI.cu
1> CUDACOMPILE : nvcc error : ‘cicc’ died with status 0xC0000005 (ACCESS_VIOLATION)
1> 0x00000000779F59CD (0x0000000000000000 0x0000000000000000 0x0000000000000000 0x0000000000000000), BaseThreadInitThunk()
1> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 9.0.targets(707,9): error MSB3722: The command ““C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\nvcc.exe” -gencode=arch=compute_52,code=“sm_52,compute_52” --use-local-env --cl-version 2017 -Xcompiler “/wd4311 /wd4302 /wd4312” -ccbin “C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\bin\HostX86\x64” -x cu -I./ -I…/…/common/inc -I…\boost -I./ -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0/include” -I…/…/common/inc -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\include” --keep-dir x64\ReleaseCC3 -maxrregcount=0 --ptxas-options=-v --machine 64 --compile -cudart static -Xcompiler “/wd 4819” -g -DWIN32 -DWIN32 -D_MBCS -D_MBCS -Xcompiler “/EHsc /W3 /nologo /O2 /FS /Zi /MD " -o x64/ReleaseCC3/ArNI.cu.obj “E:\ArNI\ArNIGPU\ArNI.cu”” exited with code 5. Please verify that you have sufficient rights to run this command.
1> Done building target “CudaBuildCore” in project “ArNIGPU.vcxproj” – FAILED.
1>
1> Done building project “ArNIGPU.vcxproj” – FAILED.
1>
1>Build FAILED.
1>
1>e:\arni\arni…\ArNIcommon.h(143): warning : extra “;” ignored
1>e:\arni\arni…\ArNIcommon.h(166): warning : extra “;” ignored
1>e:\arni\arni…\ArNIcommon.h(175): warning : extra “;” ignored
1>e:\arni\arnigpu…\ArNI\ArNI.h(53): warning : overloaded function “RNGbase::operator()” is hidden by “RNGHypergeometric::operator()” – virtual function override intended?
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(504): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(505): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(506): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(538): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(1043): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(1558): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(2371): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\type_traits(2371): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xutility(543): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xtr1common(58): error : class “std::enable_if<, int>” has no member “type”
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xmemory0(390): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xmemory0(1002): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xmemory0(1322): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xstring(1693): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xtr1common(58): error : class “std::enable_if<, void>” has no member “type”
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xutility(298): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(88): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(89): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(90): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(109): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(110): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(111): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(163): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(182): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(184): error : invalid redeclaration of member function template “std::_Tuple_val<_Ty>::_Tuple_val(const _Alloc &, std::allocator_arg_t, _Other &&…)”
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(835): error : no instance of overloaded function “std::tuple<_This, _Rest…>::tuple” matches the specified type
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\tuple(847): error : no instance of overloaded function “std::tuple<_This, _Rest…>::tuple” matches the specified type
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\functional(393): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\vector(470): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xtree(589): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\xtree(1346): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\list(516): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\list(749): error : expression must have a constant value
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\include\deque(771): error : expression must have a constant value
1>CUDACOMPILE : nvcc error : ‘cicc’ died with status 0xC0000005 (ACCESS_VIOLATION)
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\BuildCustomizations\CUDA 9.0.targets(707,9): error MSB3722: The command ““C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\nvcc.exe” -gencode=arch=compute_52,code=“sm_52,compute_52” --use-local-env --cl-version 2017 -Xcompiler “/wd4311 /wd4302 /wd4312” -ccbin “C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.12.25827\bin\HostX86\x64” -x cu -I./ -I…/…/common/inc -I…\boost -I./ -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0/include” -I…/…/common/inc -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\include" --keep-dir x64\ReleaseCC3 -maxrregcount=0 --ptxas-options=-v --machine 64 --compile -cudart static -Xcompiler “/wd 4819” -g -DWIN32 -DWIN32 -D_MBCS -D_MBCS -Xcompiler “/EHsc /W3 /nologo /O2 /FS /Zi /MD " -o x64/ReleaseCC3/ArNI.cu.obj “E:\ArNI\ArNIGPU\ArNI.cu”” exited with code 5. Please verify that you have sufficient rights to run this command.
1> 4 Warning(s)
1> 36 Error(s)
1>
1>Time Elapsed 00:00:38.88
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Windows 7, a lot of RAM…

Who can tell workaround?

read up in this forum about various incompatibilities between VS 2017 when using the 15.5.x toolchain, and CUDA (i.e. the CUDA VS integration). There are various threads with suggested workarounds, if you look for them. Most of them are in the cuda setup and installation section.

thanx
indeed - posted to the wrong session
sorry