you correctly created the executable of _monotum . For that, please check the last part of the CMakeLists.txt to see if the 'add_executable' for the mono_tum is correct.
Please check if the executable is present in the directory of /ORB_SLAM2/Examples/Monocular/
Please be sure that you are running the command in the correct directory: the commend you provided, should be run inside the ' /ORB_SLAM2'
I had successfully built ORB SLAM 2, and I want to run the Monocular example. I used the command:
./Examples/Monocular/mono_tum Vocabulary/ORBvoc.txt Examples/Monocular/TUM1.yaml /home/$USER/Downloads/rgbd_dataset_freiburg1_xyz
to run the mono_tum executable on the given data set, but I get the following error:
no such file or directory: ./Examples/Monocular/mono_tum
What should I do ?