Ask Your Question

Revision history [back]

The PDB are missing because you don't have compile your own version of OpenCV, but used the precompile instead. But you don't need it to test your program.

For the issue you seem to encounter, it's because your sample wait for an image from the command line: if( argc != 2) therefore, if you don't provide an image path from the command line, it won't load the picture and ends immediately. This is what you see from the last line of your log (return -1; is translated into the log by 'has exited with code -1'. So your program is working as expected. You just have to provide an image to the command line (Google it if you don't know how to do that with Visual Studio).

To summarize, everything is working like a charm, but you have to understand what your program is supposed to do and how to use it. Enjoy.