CUDA 10.2 build error: A single input file is required for a non-link phase when an outputfile is specified
This is with MSVC 2015 and CUDA enabled. The generated nvcc
invocations that are triggering this are:
C:\PROGRA~1\NVIDIA~2\CUDA\v10.2\bin\nvcc.exe
-D_CRT_SECURE_NO_WARNINGS
-D_SCL_SECURE_NO_WARNINGS
-IC:\Users\Allie\src\vtk-m
-Iinclude
-IC:\Users\Allie\src\vtk-m\vtkm\thirdparty\taotuple
-IC:\Users\Allie\src\vtk-m\vtkm\thirdparty\optionparser
-IC:\Users\Allie\src\vtk-m\vtkm\thirdparty\diy
-IC:\Users\Allie\src\vtk-m\vtkm\thirdparty\lcl\vtkmlcl
-IC:\Users\Allie\src\vtk-m\vtkm\thirdparty\loguru
-D_WINDOWS
-Xcompiler=" /GR /EHsc"
--generate-code=arch=compute_50,code=sm_50
-Xnvlink=--suppress-stack-size-warning
-Xcompiler="-Zi -Ob0 -Od /RTC1"
-Xcompiler=-MDd
-Xcompiler=-W3
-Xcompiler=-wd4702,-wd4505
-Xcudafe=--diag_suppress=1394,--diag_suppress=766
-Xcudafe=--display_error_number
/Gy
-Xcompiler=\"/Gy\"
-Xcompiler=\"/bigobj\""
--expt-relaxed-constexpr
-x cu
-dc C:\Users\Allie\src\vtk-m\vtkm\cont\CellLocatorBoundingIntervalHierarchy.cxx
-o vtkm\cont\CMakeFiles\vtkm_cont.dir\CellLocatorBoundingIntervalHierarchy.cxx.obj
-Xcompiler=-Fdvtkm\cont\CMakeFiles\vtkm_cont.dir\vtkm_cont.pdb,-FS
&&
C:\PROGRA~1\NVIDIA~2\CUDA\v10.2\bin\nvcc.exe
-D_CRT_SECURE_NO_WARNINGS
-D_SCL_SECURE_NO_WARNINGS
-IC:\Users\Allie\src\vtk-m
-Iinclude
-IC:\Users\Allie\src\vtk-m\vtkm\thirdparty\taotuple
-IC:\Users\Allie\src\vtk-m\vtkm\thirdparty\optionparser
-IC:\Users\Allie\src\vtk-m\vtkm\thirdparty\diy
-IC:\Users\Allie\src\vtk-m\vtkm\thirdparty\lcl\vtkmlcl
-IC:\Users\Allie\src\vtk-m\vtkm\thirdparty\loguru
-D_WINDOWS
-Xcompiler=" /GR /EHsc"
--generate-code=arch=compute_50,code=sm_50
-Xnvlink=--suppress-stack-size-warning
-Xcompiler="-Zi -Ob0 -Od /RTC1"
-Xcompiler=-MDd
-Xcompiler=-W3
-Xcompiler=-wd4702,-wd4505
-Xcudafe=--diag_suppress=1394,--diag_suppress=766
-Xcudafe=--display_error_number
/Gy
-Xcompiler=\"/Gy\"
-Xcompiler=\"/bigobj\"
--expt-relaxed-constexpr
-x cu
-M C:\Users\Allie\src\vtk-m\vtkm\cont\CellLocatorBoundingIntervalHierarchy.cxx
-MT vtkm\cont\CMakeFiles\vtkm_cont.dir\CellLocatorBoundingIntervalHierarchy.cxx.obj
-o vtkm\cont\CMakeFiles\vtkm_cont.dir\CellLocatorBoundingIntervalHierarchy.cxx.obj.d"
nvcc fatal : A single input file is required for a non-link phase when an outputfile is specified