Closed ani-4nirudh closed 1 year ago
Hi @ani-4nirudh , I have not encountered this error before so I am not sure what is the real issue.
Firstly, maybe you can try to install gtk and gtk3 module
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
The issue might be related to opencv, as suggested in this discussion and this one. Hopefully you can find some helpful pointers from them.
Hey @thien94, thanks for your reply. You were correct it seems, that there are some OpenCV compatibility issues. For the ORBSLAM_3 it is better to use release 4.4.0.
cmake -D CMAKE_BUILD_TYPE=Release -D WITH_CUDA=OFF -D CMAKE_INSTALL_PREFIX=/usr/local ..
replace it with
cmake -D CMAKE_BUILD_TYPE=Release -D WITH_CUDA=OFF -D WITH_GTK=ON -D WITH_GTK3=ON -D WITH_GTK_2_X=OFF -DENABLE_PRECOMPILED_HEADERS=OFF -D CMAKE_INSTALL_PREFIX=/usr/local ..
./build.sh
& ./build_ros.sh
), and rebuild your ROS repo. Hopefully that removes this error. Another useful source, here.
So, I will go ahead and close this issue. Thanks again for all the help :)
Hello Thien, The command
roslaunch orb_slam3_ros_wrapper orb_slam3_euroc_mono.launch
is giving the following output:I tried searching for the answers for this gtk conflict, but haven't found anything useful. Another note, the ROS node for ORBSLAM3 viewer is working completely fine.
Any help would be appreciated. Thanks :)