I have an opencv c++ script and I need to use cudamemcpy in it. So I used cudamemcpy in my script and saved the file as a .cu I am using cmake. So I added the .cu as a cuda_executable. But when I use "sudo make" I get the following error
我有一个opencv c++脚本,我需要在其中使用cudamemcpy。因此,我在脚本中使用cudamemcpy,并将文件保存为.cu,使用cmake。因此我将.cu添加为cuda_可执行文件。但是当我使用“sudo make”时,会得到以下错误
This is the makefile
这是makefile
So in line 27 I changed c++0x to c++11 and I got the same error so I tried gnu++11 but I still have the same