Ask Your Question

carlosvl's profile - activity

2016-09-22 07:20:18 -0600 asked a question Error building gpu module (OpenCV 2.4.13, Win7, VS 2013 and Cuda 7.5)


I am having some issues trying to build the latest version of OpenCV (from the GIT repo). I can build OpenCV without errors if I disable WITH_CUDA in CMake, but if I enable it (I want CUDA support), then I get an error when building the gpu module. I use Windows 7, Visual Studio Community Edition 2013, and CUDA Toolkit 7.5. The CUDA samples work properly on my Visual Studio installation.

When building the gpu module, everything goes fine until it starts to build "", and then I start getting lots of warnings. Then, I finally get an error when compiling "". This error says: "C:\Program Files (x86)\Windows Kits\8.1\Include\um\combaseapi.h(229): error : identifier "IUnknown" is undefined"

Below are the CMake and Visual Studio logs:

CMake: Visual Studio build:

Anyone knows what is going wrong?

Thanks, Carlos