Debug under MSVC linker Error
One cannot compile PeTrack with the debug-mode on msvc.
This is because of the following part of the CMakeLists.txt
# Debug Version of slows our debug down to a unusable degree
set_target_properties(${OpenCV_LIBS} PROPERTIES
MAP_IMPORTED_CONFIG_DEBUG RELEASE
MAP_IMPORTED_CONFIG_RELWITHDEBINFO RELEASE)
This tries to link against release OpenCV even in debug, which doesn't work since the MSVC CRT ABI changes between release and debug. The comment on this cmake snippet still holds true though, debug is unusable. So until we find a solution to the CRT problem (link PeTrack always to relase CRT? Then we would link all dependencies only in release though...) this is a wontfix, since at least gcc and clang folks profit from this.
Edited by d.kilic