C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h(229): error: identifier “IUnknown” is undefined
C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h(229): warning: expression has no effect
error detected in the compilation of “C:/Users/Ren/AppData/Local/Temp/tmpxft_0000211c_00000000-8_data.cpp4.ii”.
nvcc warning : The -std=c++11 flag is not supported with the configured host compiler. Flag will be ignored.
data.cu
Assuming you are using a CUDA version newer than about CUDA 7.5, iust remove the flag. You get c++11 support automatically on windows platform. You do not need that compile flag to get it.
Note that the thing you have bolded is an error and warning. My comment above refers to the nvcc warning, which is a warning. The error refers to something you have not bolded:
C:\Program Files (x86)\Windows Kits\8.1\include\um\combaseapi.h(229): error: identifier “IUnknown” is undefined
which I wouldn’t be able to help with, as I do not know what it is you are compiling.