Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

please ask only OpenCV related question, The answers to your question are here:

  • google with "C++ check if a file exists"
  • google with "C++ PrintFullPath"
  • google with "C++ Visual Studio Debug Working Directory"

BTW the debugger runs form the path as defined in Project Properties > Configuration Progerties > Debugging > Working Directory. I suggest to configure that with $(TargetDir) to be sure that the debuggers runs from same path where is your executable.