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

Problems with Visual Studio 2017 #66

Open
andyschwarzl opened this issue Jan 31, 2018 · 2 comments
Open

Problems with Visual Studio 2017 #66

andyschwarzl opened this issue Jan 31, 2018 · 2 comments

Comments

@andyschwarzl
Copy link
Owner

There seem to be problems when trying to build gpuNUFFT with CUDA 9 and VS 2017 (Platform toolset v141).

https://stackoverflow.com/questions/43745099/using-cuda-with-visual-studio-2017

Building gpuNUFFT may result in the following error:

C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1.

One workaround is to change the platform toolset to v140 (2015) directly in Visual Studio. Or you can try to use the "Visual Studio 14 2015 Win64" generator during CMake.

HTH

@SylvainLan
Copy link

I had to download visualStudio 2015 and use the "Visual Studio 14 2015 Win64" generator during CMake to make the build correctly, it did not work with v2017 even after having changed the platform toolset to v140 in v2017.

@andyschwarzl
Copy link
Owner Author

Thanks for the info!

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

2 participants