Skip to content
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

Trying to build on windows w/ cuda 9.0 & latest VisualStudio #534

Closed
LegolasGChief opened this issue Dec 13, 2017 · 8 comments
Closed

Trying to build on windows w/ cuda 9.0 & latest VisualStudio #534

LegolasGChief opened this issue Dec 13, 2017 · 8 comments

Comments

@LegolasGChief
Copy link

LegolasGChief commented Dec 13, 2017

Please provide as much as possible information to reproduce the issue.

Basic information

  • i5 6600k
  • RX 580 but just trying to build for others

Compile issues

  • WIN10 64

Visual Studio Community 2017
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community

https://github.com/fireice-uk/xmr-stak/blob/master/doc/compile_Windows.md#compile

cmake -G "Visual Studio 15 2017 Win64" -T v141,host=x64 ..

c:\program files\nvidia gpu computing toolkit\cuda\v9.0\include\crt/host_config.h(133): fatal error C1189: #error: --
unsupported Microsoft Visual Studio version! Only the versions 2012, 2013, 2015 and 2017 are supported! [C:\Users\Mike
source\build\xmrstak_cuda_backend.vcxproj]

Issue with the execution

  • Do you compile the miner on your own?
    Yes
@psychocrypt
Copy link
Collaborator

psychocrypt commented Dec 13, 2017 via email

@LegolasGChief
Copy link
Author

Visual Studio Community 2017
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community

@psychocrypt
Copy link
Collaborator

psychocrypt commented Dec 13, 2017 via email

@JerichoJones
Copy link

NVIDIA Issue

@psychocrypt
Copy link
Collaborator

fixed it in #549

@pe4enko
Copy link

pe4enko commented Dec 17, 2017

I have the same issue on 606edc9 sha commit.

                                                                                                                                                                          
"C:\xmr-stak\build\install.vcxproj" (целевой объект по умолчанию) (1) ->                                                                                                  
"C:\xmr-stak\build\ALL_BUILD.vcxproj" (целевой объект по умолчанию) (3) ->                                                                                                
"C:\xmr-stak\build\xmrstak_cuda_backend.vcxproj" (целевой объект по умолчанию) (7) ->                                                                                     
(CustomBuild конечный объект) ->                                                                                                                                          
  c:\program files\nvidia gpu computing toolkit\cuda\v9.1\include\crt/host_config.h(135): fatal error C1189: #error:  -- unsupported Microsoft Visual Studio version! Onl 
y the versions 2012, 2013, 2015 and 2017 are supported! [C:\xmr-stak\build\xmrstak_cuda_backend.vcxproj]                                                                  
                                                                                                                                                                          
    Предупреждений: 41                                                                                                                                                    
    Ошибок: 1                                                                                                                                                             

@cmorsucci
Copy link

Same issue also on the dev branch

@iformas
Copy link

iformas commented Dec 30, 2017

Same issue on release 2.2.0 with Visual Studio 2017 Enterpirse 15.5.2 , VCC++ 141 and CUDA 9.1
switching xmrstak_cuda_backend toolchain from v1.411 to v1.40 didn't work for me

Seems like Visual Studio 2017 v15.4.5 works

dam-ien added a commit to dam-ien/xmr-stak that referenced this issue Jan 15, 2018
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
dam-ien added a commit to dam-ien/xmr-stak that referenced this issue Jan 15, 2018
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants