Open ll884856 opened 6 years ago
Problem has solved. It is because I didn't install g2o and DBoW2.
HI, I have the same problem.
Are you sure about this?
I already run ./build.sh
, shouldn't it install g2o and DBoW2 automatically?
You can try to run these commands and run ./build.sh
sudo apt-get install libboost-dev sudo apt-get install cmake libeigen3-dev libsuitesparse-dev qtdeclarative5-dev qt5-qmake libqglviewer-dev
They are dependencies of g2o and DBoW2.
Thanks, but it doesn't work for me.
I installed all the dependencies you listed and I'm sure no error pops out when I ./build.sh
.
Unfortunately, after I run the demo code, the window still remain grey and it seems that the program has stuck there and cannot move on. Just like your situation, it doesn't save the "KeyFrameTrajectory.txt" as well.
Actually, I followed issues547 and tried his solution. It fixes my problem. https://github.com/raulmur/ORB_SLAM2/issues/547
Now have new problems, I'll guess I'll just comment on issues 547 for my new problem. Thanks for your help again.
just delete the code"if(mpViewer) pangolin::BindToContext("ORB-SLAM2: Map Viewer");"
just delete the code"if(mpViewer) pangolin::BindToContext("ORB-SLAM2: Map Viewer");"
thanks,I have solved this problem throng your answer.
Hi everyone, I have built the ORB-SLAM2 and run the dataset successfully. But after running the dataset, the program just stops and the video turns grey like this screenshot. It doesn't save the "KeyFrameTrajectory.txt" as well. How can I solve this problem? Thanks!