So, I'm kind of new to C++ and I'm having some problems trying to build OpenCV using Visual Studio 2015.
I'm not sure if this is the correct way to do it, but I dragged all the source files from opencv into my own project so it now looks like this :
However when I build it I get these 2 errors :
MIDL2025 - syntax error : expecting an interface name or DispatchInterfaceName or CoclassName or ModuleName or LibraryName or ContractName or a type specifier near "namespace" - IVectorChangedEventArgs.idl - line 11
MIDL2026 - cannot recover from earlier syntax errors; aborting compilation - IVectorChangedEventArgs.idl - line 11
I'm trying to build it in Debug x86 mode, if that matters.