Posts

Monday, 17 June 2019

error: usleep is not declared in this scope


Find every file which have this error and add the codes below to it:

#include <unistd.h>
#include <stdio.h>
#include <stdlib.h>



in case of orbslam2:
Files that need to be added are:
Examples/Monocular/mono_euroc.cc
Examples/Monocular/mono_kitti.cc
Examples/Monocular/mono_tum.cc
Examples/RGB-D/rgbd_tum.cc
Examples/Stereo/stereo_euroc.cc
Examples/Stereo/stereo_kitti.cc
src/LocalMapping.cc
src/LoopClosing.cc
src/System.cc
src/Tracking.cc
src/Viewer.cc

No comments:

Post a Comment

[ new blog ]

new blog https://jihyo-jeon.github.io/