1 | initial version |
I could figure it out. The code is correct but I have to switch to the Multi-threaded runtime libs ( /MT ). Even for debug configuration! Usually I use Multi-threaded DLL runtime lib ( /MD ).
In addition I also have to remove the _DEBUG compiler symbol.
I guess it's best to build OpenCV myself.
Thanks, Christian