I recently updated my VS 2017, and now I canβt even create a default CUDA project (one that contains a vector add-on).
I suspect this is due to the following error:
Severity Code Description Project File Line Suppression State Error C1189
Other errors are irrelevant and will disappear after fixing this. Please note that I can create and run simpleCUFFT from CUDA samples.
Before the upgrade, I was able to create a default CUDA project, but I was not able to create a CUDA Sample project. I updated my VS2017 using the VS installer and installed the CUDA SDK 10.0.15063.0. Screenshot attached
with installed components.
Please let me know if further information is required. I know the topic, and since I use the latest CUDA toolkit, I donβt need to make changes to host_config.h.
Thank you Michael
Edit: My version of VS (as shown in the VS installer) is 15.5.0 My version of nvcc is release 9.0, V9.0.176
Edit2: I tried changing host_config.h line 133 to:
#if _MSC_VER < 1600 || _MSC_VER > 1912
This error is no longer displayed, however, a lot of "expression must have a constant value" errors appear in the type_trails file. I do not know how to fix this.
source share