Hi all,
I’ve been trying to compile XGBoost-R on Windows 10 with GPU support:
mkdir build
cd build
cmake .. -G"Visual Studio 15 2017 Win64" -DUSE_CUDA=ON -DR_LIB=ON
cmake --build . --target install --config Release
And I hit the following error
Project "C:\Users\Administrator\Desktop\xgboost\build\xgboost.vcxproj" (1) is building "C:\Users\Administrator\Desktop\
xgboost\build\gpuxgboost.vcxproj" (4) on node 1 (default targets).
PrepareForBuild:
Creating directory "gpuxgboost.dir\Release\".
Creating directory "C:\Users\Administrator\Desktop\xgboost\build\Release\".
Creating directory "gpuxgboost.dir\Release\gpuxgboost.tlog\".
InitializeBuildStatus:
Creating "gpuxgboost.dir\Release\gpuxgboost.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ComputeCustomBuildOutput:
Creating directory "C:\Users\Administrator\Desktop\xgboost\build\CMakeFiles\gpuxgboost.dir\src\common\Release\".
Creating directory "C:\Users\Administrator\Desktop\xgboost\build\CMakeFiles\gpuxgboost.dir\src\linear\Release\".
Creating directory "C:\Users\Administrator\Desktop\xgboost\build\CMakeFiles\gpuxgboost.dir\src\objective\Release\".
Creating directory "C:\Users\Administrator\Desktop\xgboost\build\CMakeFiles\gpuxgboost.dir\src\predictor\Release\".
Creating directory "C:\Users\Administrator\Desktop\xgboost\build\CMakeFiles\gpuxgboost.dir\src\tree\Release\".
CustomBuild:
Building NVCC (Device) object CMakeFiles/gpuxgboost.dir/src/common/Release/gpuxgboost_generated_host_device_vector.cu
.obj
CMake Error at gpuxgboost_generated_host_device_vector.cu.obj.Release.cmake:222 (message):
Error generating
C:/Users/Administrator/Desktop/xgboost/build/CMakeFiles/gpuxgboost.dir/src/common/Release/gpuxgboost_generated_host
_device_vector.cu.obj
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,
5): error MSB6006: "cmd.exe" exited with code 1. [C:\Users\Administrator\Desktop\xgboost\build\gpuxgboost.vcxproj]
Done Building Project "C:\Users\Administrator\Desktop\xgboost\build\gpuxgboost.vcxproj" (default targets) -- FAILED.
Anyone having similar problems?