1 | initial version |
OpenCV is just library, i.e. collection of functions. It can not "run else together with if" or do anything like that. If your program got inside 'else' that means condition in 'if' was false and program didn't got inside it. Are you sure you set all the required input arguments inside Visual Studio? Don't forget that setting for Debug and Release modes may be entirely different (input arguments, working directory and so on).