-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 10 with CUDA 9 compile errors #91
Comments
You used this Please follow exactly the WINDOWS compile guide https://github.com/fireice-uk/xmr-stak/blob/dev/doc/compile_Windows.md#compile |
Thank you very much, i downloaded and installed the v140 and you were right, it now compiles correctly. I now get some runtime errors related to cuda_extra.cu file. If you want any help trying to build this with the 141 version i am willing to try it out and provide logs. Thank you again |
Cuda is not supporting v141. But this was cuda8 I have not checked if
nvidia changed it with cuda 9.
|
I also get this error. Fresh install of visual studio (v141) + cuda 9.0 fails. This is the error message:
|
CUDA header says
So it isn't CUDA <-> VS incompatibility. |
I have managed to build this and it seems to be a cmake issue.
Finally i have set the --cl-version flag to nvcc compiler but i do not know if this is required: After those changes i have managed to successfully build this. |
Thanks for the help I will try to create a workaround in our cmake to fix
it automatically if Cuda9 is enabled.
|
@psychocrypt just noting here that setting it to an absolute path is a bad idea for a general usage - it will change with VS service packs. |
fix fireice-uk#91 - add CMake workaround for wrong host compiler for cuda - update winows compile documentation
fix fireice-uk#91 - add CMake workaround for wrong host compiler for cuda - update winows compile documentation
Windows 7 Professional
I am getting the following error: I tried to change C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.1\include\crt\host_config.h and got even more errors |
exactly my problems... |
❗️ The problem is Visual Studio 2017 15.5 failed to support CUDA 9 |
so is it possible to uninstall 141 toolset and install 140 |
fix fireice-uk#91 - add CMake workaround for wrong host compiler for cuda - update winows compile documentation
I am already using 14.0 but still getting the same error.. |
I tried to compile on Windows 10 with Visual Studio 2017 and Cuda 9.0, and i am getting the following error:
Building NVCC (Device) object CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/Release/xmrstak_cu da_backend_generated_cuda_core.cu.obj CMake Error at xmrstak_cuda_backend_generated_cuda_core.cu.obj.Release.cmake:219 (message): Error generating C:/Users/Antreas/xmr-stak/CMakeFiles/xmrstak_cuda_backend.dir/xmrstak/backend/nvidia/nvcc_code/Release/xmrstak_cuda _backend_generated_cuda_core.cu.obj
The full logs running the CMake generation and compiling is in the attached file.
log.txt
The text was updated successfully, but these errors were encountered: