I have 'stereo_match' through the g++ compiler.
My environment is :
- Ubuntu 15.1 Of VirtualBox
- OpenCV 3.1.0
I don't know the running command. I tried :
./stereo_match --left left12.jpg --right right12.jpg --method BM --ndisp 32.
But it failed with error :
OpenCV Error: Bad argument (undeclared position 0 requested) in getByIndex, file /home/usera/opencv-3.1.0/modules/core/src/command_line_parser.cpp line 169
terminate called after throwing an instance of 'cv::Exception'
what(): /home/usera/opencv-3.1.0/modules/core/src/command_line_parser.cpp:169: error: (-5) undeclared position 0 requested in function getByIndexAborted (core dumped)