Reputation: 1517
I want to install CUDA for OpenCV, but the current toolkit (7.5) isn't compatible with Visual Studio 2015. My questions are -
Thanks for helping.
Upvotes: 1
Views: 3753
Reputation: 336
I don't know if this will work for OpenCV, but I just found out that it works for CUDA, so it might as well.
To allow CUDA projects to load in VS2015, you have to copy the extension files from the VS2013 folder to the VS2015 extension folder. For me they were located at:
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\BuildCustomizations
Copy the CUDA 7.5.targets, .props and .xml files. You can now load and compile CUDA projects in VS2015.
Source, my blogpost.
I have the VS2015 and VS2013 community editions installed.
Upvotes: 4