MisEty / RTG-SLAM

RTG-SLAM: Real-time 3D Reconstruction at Scale Using Gaussian Splatting (ACM SIGGRAPH 2024)
https://gapszju.github.io/RTG-SLAM/
GNU General Public License v3.0
174 stars 12 forks source link

Can not build ORB-SLAM2 #8

Closed Masrur02 closed 1 week ago

Masrur02 commented 1 week ago

When I run bash build_orb.sh I got several errors and renaming option for some packages of opencv keep coming Screenshot from 2024-06-26 13-04-56 What is the issue here, how can I succesfully build the ORB-SLAM2

jeezrick commented 1 week ago

you seems to failed to build pangolin, did you change the code according to this ?https://github.com/stevenlovegrove/Pangolin/pull/318/files?diff=split&w=0

Masrur02 commented 1 week ago

CMakeModules/FindFFMPEG.cmake

Is this file inside the RTG-SLAM repo? I do not find this file.

Masrur02 commented 1 week ago

After running bash build_orb.sh , the errors keep coming. As you said I need to follow the link you provided. It seems to me that the files are under pangolin folder. So, when should I modify the code according to the fix? After the first run of bash build_orb.sh ? Because after the first run, I observe that the pangolin folder appears inside the third party folder.

So, the pipeline is

  1. I clone the RTG-SLAM repo
  2. Install the env
  3. Run the bash build_orb.sh. During running, I got some errors and pangolin folder along with few other folders appear inside the third party folder. The bash build_orb.sh is still running and suddenly my PC got hung. It is on both RTX 2060 and RTX 4090 GPU
Masrur02 commented 1 week ago

I have run the bash build_oeb.shcommand after the modification again. Now it is giving me options like this image I need to give a response every time. Is it normal? Or still there are some issues?

MisEty commented 1 week ago

Is it not normal. This seems to be a version issue with some third-party libraries but we are not certain about the exact cause. We cloned the code from ORB_SLAM2-PythonBindings, encountered problems during the compilation process, and made some modifications to resolve environmental compatibility issues. We do not test it on a variety of environments but some other users are able to install this version normally (#2, #7)

We only made a few changes to the source code and did not rely on any additional libraries, so I think you can try compiling the original version of ORB_SLAM2-PythonBindings and communicate with the original author about possible environment issues. Once those are resolved, you can try to compile our version.

smileyenot983 commented 1 week ago

I have encountered same error. Was someone able to fix this?

ShreyaIAB commented 6 days ago

can u clone the rep once again and try again? Thats how i fixed it