Error building opencv 3.x with cuda 8.0 VS 2015?

asked 2018-06-28 23:41:04 -0500

hoang anh tuan gravatar image

updated 2018-06-28 23:42:01 -0500

I'm sorry so much if the topic is not relevent.

I want to build opencv 3.3 (or 3.4.1) with cuda 8.0 (my GPU supports only cuda 8.0) on Visual Studio 2015. I used this guide to build. But when generating solution, I have run solution successfully. I met hard error:

nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/../../VC/bin/amd64/vcvars64.bat'

I found on Internet but I could not found solution to resolve it. Some solution:

solution 1

solution 2

Help me! Thank! :(

edit retag flag offensive close merge delete