raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.33k stars 4.69k forks source link

GLib-CRITICAL Source ID 674 was not found when attempting to remove it #1044

Open caijun199702 opened 2 years ago

caijun199702 commented 2 years ago

I ran the model using my own video shot by my iPhone in virtual machine Ubuntu20.04,it initialized successfully, however it failed to ran after several seconds, and threw the error: (ORB-SLAM2: Current Frame:4824): GLib-CRITICAL **: Source ID 674 was not found when attempting to remove it Could anyone help to solve this problem, appreciated.

JackKoLing commented 9 months ago

I have the same problem...Can you already solve it?

JackKoLing commented 9 months ago

I have already fit it. Just your demo.cpp file has the cv::waitKey(), you can just remove it. I found the problem ref https://blog.csdn.net/u010168781/article/details/81304720