0

I am building a DLL library that uses OpenCV 2.3. I am using this DLL in windowed application projects. I would like to see the debug information that OpenCV sends to the console (printf or cout, I don't know) when it throws an exception. How can I see the console output of OpenCV in an application started with WinMain?

It's kind of the opposite of this question Run OpenCV application without console window.

Community
  • 1
  • 1
Matt Montag
  • 7,105
  • 8
  • 41
  • 47

1 Answers1

0

I'm not sure what OpenCV uses.

You can try Mark Russinovich's DebugView for debug output(OutputDebugString). If you just want to redirect console output, take a look at this question.

Community
  • 1
  • 1
bmeric
  • 1,124
  • 1
  • 17
  • 27