Problem compiling with WITH_XIMEA
I'm having trouble compiling openCV from source. I want to compile it with XIMEA support ON and for python 3. I've used both VS 2015 and mingw (windows 7 x64 and windows 8.1 x62) but I can't compile openCV. I always gave the errors like "xiTypeEnum was not declared on this scope" (and some other "not declared on this scope" erros, ways related to xi** types. I tried both with latest stable and latest beta ximea api. Downloaded the openCV source from github
EDIT: Now mingw gives the following error: C:/XIMEA/API/x64/xiapi64.lib: error adding symbols: File in wrong format