uzh-rpg / rpg_svo_example

Example node to use the SVO Installation.
268 stars 103 forks source link

Problem to make build SVO 2.0 #43

Closed dunfrey closed 6 years ago

dunfrey commented 6 years ago

Hi, I have SVO installed successfully and I am trying to use SVO 2.0.

Using the pdf steps attached in .zip, when I execute the command: catkin build I had the following problem:

ubuntu@ubuntu-K46CA:~/svo_install_overlay_ws$ catkin build

Profile: default Extending: [cached] /home/ubuntu/svo_install_ws/install:/opt/ros/kinetic Workspace: /home/ubuntu/svo_install_overlay_ws

Source Space: [exists] /home/ubuntu/svo_install_overlay_ws/src Log Space: [exists] /home/ubuntu/svo_install_overlay_ws/logs Build Space: [exists] /home/ubuntu/svo_install_overlay_ws/build Devel Space: [exists] /home/ubuntu/svo_install_overlay_ws/devel Install Space: [unused] /home/ubuntu/svo_install_overlay_ws/install DESTDIR: [unused] None

Devel Space Layout: linked Install Space Layout: None

Additional CMake Args: -DCMAKE_BUILD_TYPE=Release Additional Make Args: None Additional catkin Make Args: None Internal Make Job Server: True Cache Job Environments: False

Whitelisted Packages: None Blacklisted Packages: None

Workspace configuration appears valid.

[build] Found '1' packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> svo_ros


Errors << svo_ros:make /home/ubuntu/svo_install_overlay_ws/logs/svo_ros/build.make.000.log
make[2]: No rule to make target '/home/zichao/svo_install_ws/install/lib/libgflags.so', needed by '/home/ubuntu/svo_install_overlay_ws/devel/.private/svo_ros/lib/libsvo_ros.so'. Stop. make[1]: [CMakeFiles/svo_ros.dir/all] Error 2 make: [all] Error 2 cd /home/ubuntu/svo_install_overlay_ws/build/svo_ros; catkin build --get-env svo_ros | catkin env -si /usr/bin/make --jobserver-fds=6,7 -j; cd - .............................................................................................................. Failed << svo_ros:make [ Exited with code 2 ]
Failed <<< svo_ros [ 0.9 seconds ]
[build] Summary: 0 of 1 packages succeeded.
[build] Ignored: None.
[build] Warnings: None.
[build] Abandoned: None.
[build] Failed: 1 packages failed.
[build] Runtime: 1.0 seconds total.

someone can help me?

I know it might be something related to the "zichao" paths. I already replace this word with "ubuntu", the name of my machine, in all files that contain this word, but did not solve.

dunfrey commented 6 years ago

solved: replace all word 'zichao' in svo_install_ws files