VIS4ROB-lab / covins

COVINS-(G) -- A (Generic) Framework for Collaborative Visual-Inertial SLAM and Multi-Agent 3D Mapping
366 stars 63 forks source link

Raspberry Pi 4B "catkin build opengv" stuck problem #27

Closed Janebek closed 1 year ago

Janebek commented 1 year ago

Hi! @patriksc @ThomasZiegler

I am trying to install convins on raspberry Pi 4B. I'm stuck at the step in "install_file.sh"(I manually build it one by one), which is the step that "catkin build ${CATKIN_JOBS} covins_backend" , every time when I try to build it, it will stuck after running some time , like the picture down below.

1

After this , I can't do anything to control my Pi , all I can do is force a shutdown.

At first , I thought it is the opengv itself has the problem, which is that a raspberry Pi can't build it at all. I tried to build it solely with the command "catkin build opengv" , but it will still stuck. Then I went to github to download opengv solely(https://github.com/laurentkneip/opengv) and try to build it. And in the end, I successfully built it. So I guess this has nothing to do with opengv itself? The picture down below shows the result. The right terminal is from https://github.com/laurentkneip/opengv (built successfully), the left is yours(which is stuck).

3

My question is that since I alrealy built the opengv files , can I just adjust some changes in the Cmakelist, to skip the opengv build step(catkinbuild opengv) in covins? And meanwhile to let covins find those already installed opengv files? Or do you have any suggestions to solve this problem, maybe adjust something in opengv cmakelist to let the build process become more smoothly?

I'm really looking forward to your reply. Much thanks!

Janebek commented 1 year ago

Solved.