rpg_svo_pro_open icon indicating copy to clipboard operation
rpg_svo_pro_open copied to clipboard

catkin build failed under Ubuntu 16.04

Open SEUZTh opened this issue 3 years ago • 5 comments

`zyj@zyj-ubuntu16:~/svo_ws/src$ catkin build

Profile: default Extending: [explicit] /opt/ros/kinetic Workspace: /home/zyj/svo_ws

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

Devel Space Layout: linked Install Space Layout: None

Additional CMake Args: -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3 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.

NOTE: Forcing CMake to run for each package.

[build] Found '25' packages in 0.0 seconds.
[build] Updating package table.
Starting >>> catkin_tools_prebuild


Warnings << catkin_tools_prebuild:cmake /home/zyj/svo_ws/logs/catkin_tools_prebuild/build.cmake.000.log
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/gmock/CMakeLists.txt:41 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/gtest/CMakeLists.txt:43 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

cd /home/zyj/svo_ws/build/catkin_tools_prebuild; catkin build --get-env catkin_tools_prebuild | catkin env -si /usr/bin/cmake /home/zyj/svo_ws/build/catkin_tools_prebuild --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/zyj/svo_ws/devel/.private/catkin_tools_prebuild -DCMAKE_INSTALL_PREFIX=/home/zyj/svo_ws/install -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3; cd - ...................................................................................................................................................................................................................................... Finished <<< catkin_tools_prebuild [ 1.0 seconds ]
Starting >>> cmake_external_project_catkin
Starting >>> eigen_checks
Starting >>> rpg_trajectory_evaluation
Starting >>> rqt_svo
Starting >>> svo_cmake
Starting >>> svo_msgs
Starting >>> vikit_py
Starting >>> vikit_solver


Errors << vikit_solver:cmake /home/zyj/svo_ws/logs/vikit_solver/build.cmake.000.log
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Error at /home/zyj/svo_ws/src/rpg_svo_pro_open/vikit/vikit_solver/CMakeLists.txt:3 (find_package): By not providing "Findcatkin_simple.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin_simple", but CMake did not find one.

Could not find a package configuration file provided by "catkin_simple" with any of the following names:

catkin_simpleConfig.cmake
catkin_simple-config.cmake

Add the installation prefix of "catkin_simple" to CMAKE_PREFIX_PATH or set "catkin_simple_DIR" to a directory containing one of the above files. If "catkin_simple" provides a separate development package or SDK, be sure it has been installed.

cd /home/zyj/svo_ws/build/vikit_solver; catkin build --get-env vikit_solver | catkin env -si /usr/bin/cmake /home/zyj/svo_ws/src/rpg_svo_pro_open/vikit/vikit_solver --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/zyj/svo_ws/devel/.private/vikit_solver -DCMAKE_INSTALL_PREFIX=/home/zyj/svo_ws/install -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3; cd - ...................................................................................................................................................................................................................................... Failed << vikit_solver:cmake [ Exited with code 1 ]
Failed <<< vikit_solver [ 0.4 seconds ]
Abandoned <<< minkindr [ Unrelated job failed ]
Abandoned <<< rpg_common [ Unrelated job failed ]
Abandoned <<< vikit_common [ Unrelated job failed ]
Abandoned <<< vikit_cameras [ Unrelated job failed ]
Abandoned <<< svo_common [ Unrelated job failed ]
Abandoned <<< svo_pgo [ Unrelated job failed ]
Abandoned <<< svo_online_loopclosing [ Unrelated job failed ]
Abandoned <<< svo_vio_common [ Unrelated job failed ]
Abandoned <<< vikit_ros [ Unrelated job failed ]
Abandoned <<< svo_test_utils [ Unrelated job failed ]
Abandoned <<< svo_direct [ Unrelated job failed ]
Abandoned <<< svo_img_align [ Unrelated job failed ]
Abandoned <<< svo_tracker [ Unrelated job failed ]
Abandoned <<< svo [ Unrelated job failed ]
Abandoned <<< svo_ceres_backend [ Unrelated job failed ]
Abandoned <<< svo_ros [ Unrelated job failed ]
Abandoned <<< svo_benchmarking [ Unrelated job failed ]


Errors << eigen_checks:cmake /home/zyj/svo_ws/logs/eigen_checks/build.cmake.000.log
CMake Deprecation Warning at CMakeLists.txt:25 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Error at /home/zyj/svo_ws/src/eigen_checks/CMakeLists.txt:28 (find_package): By not providing "Findcatkin_simple.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin_simple", but CMake did not find one.

Could not find a package configuration file provided by "catkin_simple" with any of the following names:

catkin_simpleConfig.cmake
catkin_simple-config.cmake

Add the installation prefix of "catkin_simple" to CMAKE_PREFIX_PATH or set "catkin_simple_DIR" to a directory containing one of the above files. If "catkin_simple" provides a separate development package or SDK, be sure it has been installed.

cd /home/zyj/svo_ws/build/eigen_checks; catkin build --get-env eigen_checks | catkin env -si /usr/bin/cmake /home/zyj/svo_ws/src/eigen_checks --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/zyj/svo_ws/devel/.private/eigen_checks -DCMAKE_INSTALL_PREFIX=/home/zyj/svo_ws/install -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3; cd - ...................................................................................................................................................................................................................................... Failed << eigen_checks:cmake [ Exited with code 1 ]
Failed <<< eigen_checks [ 0.4 seconds ]


Errors << rpg_trajectory_evaluation:cmake /home/zyj/svo_ws/logs/rpg_trajectory_evaluation/build.cmake.000.log
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Error at /home/zyj/svo_ws/src/rpg_trajectory_evaluation/CMakeLists.txt:4 (find_package): By not providing "Findcatkin_simple.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin_simple", but CMake did not find one.

Could not find a package configuration file provided by "catkin_simple" with any of the following names:

catkin_simpleConfig.cmake
catkin_simple-config.cmake

Add the installation prefix of "catkin_simple" to CMAKE_PREFIX_PATH or set "catkin_simple_DIR" to a directory containing one of the above files. If "catkin_simple" provides a separate development package or SDK, be sure it has been installed.

cd /home/zyj/svo_ws/build/rpg_trajectory_evaluation; catkin build --get-env rpg_trajectory_evaluation | catkin env -si /usr/bin/cmake /home/zyj/svo_ws/src/rpg_trajectory_evaluation --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/zyj/svo_ws/devel/.private/rpg_trajectory_evaluation -DCMAKE_INSTALL_PREFIX=/home/zyj/svo_ws/install -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3; cd - ...................................................................................................................................................................................................................................... Failed << rpg_trajectory_evaluation:cmake [ Exited with code 1 ]
Failed <<< rpg_trajectory_evaluation [ 0.4 seconds ]


Errors << svo_cmake:cmake /home/zyj/svo_ws/logs/svo_cmake/build.cmake.000.log
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Error at /home/zyj/svo_ws/src/rpg_svo_pro_open/svo_cmake/CMakeLists.txt:4 (find_package): By not providing "Findcatkin_simple.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin_simple", but CMake did not find one.

Could not find a package configuration file provided by "catkin_simple" with any of the following names:

catkin_simpleConfig.cmake
catkin_simple-config.cmake

Add the installation prefix of "catkin_simple" to CMAKE_PREFIX_PATH or set "catkin_simple_DIR" to a directory containing one of the above files. If "catkin_simple" provides a separate development package or SDK, be sure it has been installed.

cd /home/zyj/svo_ws/build/svo_cmake; catkin build --get-env svo_cmake | catkin env -si /usr/bin/cmake /home/zyj/svo_ws/src/rpg_svo_pro_open/svo_cmake --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/zyj/svo_ws/devel/.private/svo_cmake -DCMAKE_INSTALL_PREFIX=/home/zyj/svo_ws/install -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3; cd - ...................................................................................................................................................................................................................................... Failed << svo_cmake:cmake [ Exited with code 1 ]
Failed <<< svo_cmake [ 0.4 seconds ]


Warnings << rqt_svo:cmake /home/zyj/svo_ws/logs/rqt_svo/build.cmake.000.log
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/gmock/CMakeLists.txt:41 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/gtest/CMakeLists.txt:43 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

cd /home/zyj/svo_ws/build/rqt_svo; catkin build --get-env rqt_svo | catkin env -si /usr/bin/cmake /home/zyj/svo_ws/src/rpg_svo_pro_open/rqt_svo --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/zyj/svo_ws/devel/.private/rqt_svo -DCMAKE_INSTALL_PREFIX=/home/zyj/svo_ws/install -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3; cd - ...................................................................................................................................................................................................................................... Finished <<< rqt_svo [ 1.5 seconds ]


Errors << cmake_external_project_catkin:cmake /home/zyj/svo_ws/logs/cmake_external_project_catkin/build.cmake.000.log
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/gmock/CMakeLists.txt:41 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/gtest/CMakeLists.txt:43 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Error at /home/zyj/svo_ws/src/cmake_external_project_catkin/CMakeLists.txt:11 (find_package): By not providing "Findcatkin_simple.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin_simple", but CMake did not find one.

Could not find a package configuration file provided by "catkin_simple" with any of the following names:

catkin_simpleConfig.cmake
catkin_simple-config.cmake

Add the installation prefix of "catkin_simple" to CMAKE_PREFIX_PATH or set "catkin_simple_DIR" to a directory containing one of the above files. If "catkin_simple" provides a separate development package or SDK, be sure it has been installed.

cd /home/zyj/svo_ws/build/cmake_external_project_catkin; catkin build --get-env cmake_external_project_catkin | catkin env -si /usr/bin/cmake /home/zyj/svo_ws/src/cmake_external_project_catkin --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/zyj/svo_ws/devel/.private/cmake_external_project_catkin -DCMAKE_INSTALL_PREFIX=/home/zyj/svo_ws/install -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3; cd - ...................................................................................................................................................................................................................................... Failed << cmake_external_project_catkin:cmake [ Exited with code 1 ]
Failed <<< cmake_external_project_catkin [ 1.1 seconds ]


Warnings << svo_msgs:cmake /home/zyj/svo_ws/logs/svo_msgs/build.cmake.000.log
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/gmock/CMakeLists.txt:41 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/gtest/CMakeLists.txt:43 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

cd /home/zyj/svo_ws/build/svo_msgs; catkin build --get-env svo_msgs | catkin env -si /usr/bin/cmake /home/zyj/svo_ws/src/rpg_svo_pro_open/svo_msgs --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/zyj/svo_ws/devel/.private/svo_msgs -DCMAKE_INSTALL_PREFIX=/home/zyj/svo_ws/install -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3; cd - ......................................................................................................................................................................................................................................


Warnings << vikit_py:cmake /home/zyj/svo_ws/logs/vikit_py/build.cmake.000.log
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/gmock/CMakeLists.txt:41 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

CMake Deprecation Warning at /usr/src/gtest/CMakeLists.txt:43 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

cd /home/zyj/svo_ws/build/vikit_py; catkin build --get-env vikit_py | catkin env -si /usr/bin/cmake /home/zyj/svo_ws/src/rpg_svo_pro_open/vikit/vikit_py --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/zyj/svo_ws/devel/.private/vikit_py -DCMAKE_INSTALL_PREFIX=/home/zyj/svo_ws/install -DCMAKE_BUILD_TYPE=Release -DEIGEN3_INCLUDE_DIR=/usr/include/eigen3; cd - ...................................................................................................................................................................................................................................... Finished <<< vikit_py [ 1.6 seconds ]
Finished <<< svo_msgs [ 2.4 seconds ]
[build] Summary: 4 of 26 packages succeeded.
[build] Ignored: None.
[build] Warnings: 4 packages succeeded with warnings.
[build] Abandoned: 17 packages were abandoned.
[build] Failed: 5 packages failed.
[build] Runtime: 3.9 seconds total.
[build] Note: Workspace packages have changed, please re-source setup files to use them. `

SEUZTh avatar Jul 14 '21 07:07 SEUZTh

you can download all package in dependencies.yaml to svo_ws/src, git clone with https or add publish ssh key to your github

thornsu avatar Jul 14 '21 10:07 thornsu

you can download all package in dependencies.yaml to svo_ws/src, git clone with https or add publish ssh key to your github

Thanks, but I met another problom and I have modified the issue before you reply to me.

SEUZTh avatar Jul 14 '21 12:07 SEUZTh

did you have solve it? i have the same problem, thx

KerunLi avatar Sep 06 '21 11:09 KerunLi

did you have solve it? i have the same problem, thx

I solved it by using sudo catkin build. Because it need git from github use public key.

KerunLi avatar Sep 08 '21 06:09 KerunLi

did you have solve it? i have the same problem, thx

I solved it by using sudo catkin build. Because it need git from github use public key. Use sudo permissions with caution because it may cause other permission problems.

SEUZTh avatar Sep 08 '21 13:09 SEUZTh