-
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
Can't compile with CUDA 9.1 #606
Comments
I had the same problem and fixed it by editing the host_config.h file in line 133 |
It did not work out for me. The error disappeared, but I got other errors. Specify --help for usage, or press the help button on the CMake GUI. C:\xmr-stak-master>cd build C:\xmr-stak-master\build>cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 C:\xmr-stak-master\build>cmake --build . --config Release --target install Compilação de 18/12/2017 12:03:49 iniciada. O projeto "C:\xmr-stak-master\build\install.vcxproj" (1) está compilando "C:\xm InitializeBuildStatus: InitializeBuildStatus: O projeto "C:\xmr-stak-master\build\ALL_BUILD.vcxproj" (3) está compilando "C: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14. 16 errors detected in the compilation of "C:/Users/FRANKL~1.ARA/AppData/Local Projeto de compilação pronto "C:\xmr-stak-master\build\xmrstak_cuda_backend.vcx O projeto "C:\xmr-stak-master\build\ALL_BUILD.vcxproj" (3) está compilando "C: Projeto de compilação pronto "C:\xmr-stak-master\build\ALL_BUILD.vcxproj" (dest Projeto de compilação pronto "C:\xmr-stak-master\build\install.vcxproj" (destin FALHA da compilação. "C:\xmr-stak-master\build\install.vcxproj" (destino padrão) (1) -> "C:\xmr-stak-master\build\install.vcxproj" (destino padrão) (1) ->
|
try building with toolset v140 and the old dependency release |
Can you try to uninstall current VS version and install v15.4.5 (you can find it here) and try to compile with CUDA 9 (and toolset v141) again? (You don't have to modify |
@bomb-on that works perfectly. I could successfully build with VS v15.4.5, CUDA v9.1, Toolset v141 and Dependencies v2 |
Its works !!! Big THANKS !!! |
This worked for me too! Thanks VS v15.4.5, CUDA v9.1, Toolset v141 and Dependencies v2 |
You are more than welcome! ;) Enjoy your mining! |
Yeah, works. Tnx! |
Our new release fixes this too. |
@fireice-uk i have the same issue on release 2.2.0 with Visual Studio 2017 Enterpirse 15.5.2 , VC++ 141 and CUDA 9.1 |
Fix for fireice-uk#750, fireice-uk#626, fireice-uk#606, fireice-uk#534, without having to downgrade and do not require modification of host_config.h Require an additional component during VS2017 installation (VC++ 2017 version 15.4 v14.11 toolset) and an additional command execution before compilation. , without having to downgrade Add instructions for compiling with
Fix for fireice-uk#750, fireice-uk#626, fireice-uk#606, fireice-uk#534, without having to downgrade and do not require modification of host_config.h Require an additional component during VS2017 installation (VC++ 2017 version 15.4 v14.11 toolset) and an additional command execution before compilation.
Hello!
Trying to compile latest DEV with CUDA Toolkit 9.1 under Windows 7.
Got error:
"C:\xmr-stak-dev\build\install.vcxproj" (default target) (1) -> "C:\xmr-stak-dev\build\ALL_BUILD.vcxproj" (default target) (3) -> "C:\xmr-stak-dev\build\xmrstak_cuda_backend.vcxproj" (default target) (7) -> (CustomBuild target) -> d:\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-dev\build\xmrstak_cuda_backend.vcxproj]
With CUDA 8 have no problems. Any suggestions?
The text was updated successfully, but these errors were encountered: