Skip to content

Local compilation issues #2

@s3219521aa

Description

@s3219521aa

Hello, after reading your work I think it is very good and very interested
But I had some problems compiling locally
I would appreciate it if you could give some guidance

Base path: /home/lhr/catkin_ws
Source space: /home/lhr/catkin_ws/src
Build space: /home/lhr/catkin_ws/build
Devel space: /home/lhr/catkin_ws/devel
Install space: /home/lhr/catkin_ws/install

Running command: "cmake /home/lhr/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/lhr/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/lhr/catkin_ws/install -G Unix Makefiles" in "/home/lhr/catkin_ws/build"

-- Using CATKIN_DEVEL_PREFIX: /home/lhr/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/lhr/realsense_ws/devel;/opt/ros/kinetic
-- This workspace overlays: /home/lhr/realsense_ws/devel;/opt/ros/kinetic
-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.12", minimum required is "2")
-- Using PYTHON_EXECUTABLE: /usr/bin/python2
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/lhr/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Found gmock sources under '/usr/src/gmock': gmock will be built
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.

-- Found PythonInterp: /usr/bin/python2 (found version "2.7.12")
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.29
-- BUILD_SHARED_LIBS is on
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~ traversing 21 packages in topological order:
-- ~~ - catkin_boost_python_buildtool
-- ~~ - catkin_simple
-- ~~ - catkin_boost_python_buildtool_test
-- ~~ - eigen_catkin
-- ~~ - gflags_catkin
-- ~~ - glog_catkin
-- ~~ - eigen_checks
-- ~~ - grpc
-- ~~ - minkindr
-- ~~ - numpy_eigen
-- ~~ - minkindr_python
-- ~~ - protobuf_catkin
-- ~~ - voxblox
-- ~~ - voxblox_msgs
-- ~~ - camera_model
-- ~~ - feature_tracker
-- ~~ - pose_graph
-- ~~ - minkindr_conversions
-- ~~ - vins_estimator
-- ~~ - voxblox_rviz_plugin
-- ~~ - voxblox_ros
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'catkin_boost_python_buildtool'
-- ==> add_subdirectory(catkin_boost_python_buildtool/catkin_boost_python_buildtool)
CMake Deprecation Warning at catkin_boost_python_buildtool/catkin_boost_python_buildtool/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.

-- +++ processing catkin package: 'catkin_simple'
-- ==> add_subdirectory(catkin_simple)
CMake Deprecation Warning at catkin_simple/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.

-- +++ processing catkin package: 'catkin_boost_python_buildtool_test'
-- ==> add_subdirectory(catkin_boost_python_buildtool/catkin_boost_python_buildtool_test)
CMake Deprecation Warning at catkin_boost_python_buildtool/catkin_boost_python_buildtool_test/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.

-- Found PythonInterp: /usr/bin/python2 (found suitable version "2.7.12", minimum required is "2.7")
-- Found numpy include path: '/usr/lib/python2.7/dist-packages/numpy/core/include'
-- Found numpy/arrayobject.h in /usr/lib/python2.7/dist-packages/numpy/core/include. Keeping it as NUMPY_INCLUDE_DIR.
-- +++ processing catkin package: 'eigen_catkin'
-- ==> add_subdirectory(eigen_catkin)
CMake Deprecation Warning at eigen_catkin/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.

-- Suitable Eigen version found. Minimum version: 3.3.4 Found version: 3.4.0
-- eigen_catkin is configured to USE system eigen
-- Found and using system Eigen in /usr/local/include/eigen3
-- +++ processing catkin package: 'gflags_catkin'
-- ==> add_subdirectory(gflags_catkin)
CMake Deprecation Warning at gflags_catkin/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.

-- +++ processing catkin package: 'glog_catkin'
-- ==> add_subdirectory(glog_catkin)
CMake Deprecation Warning at glog_catkin/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 glog_catkin/CMakeLists.txt:9 (cmake_policy):
The OLD behavior for policy CMP0053 will be removed from a future version
of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.

-- No preference for use of exported glog CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported glog CMake configuration if available.
-- Failed to find installed glog CMake configuration, searching for glog build directories exported with CMake.
-- Failed to find an installed/exported CMake configuration for glog, will perform search for installed glog components.
-- Suitable Glog version found.
-- Using system Glog.
-- Failed to find installed glog CMake configuration, searching for glog build directories exported with CMake.
-- Failed to find an installed/exported CMake configuration for glog, will perform search for installed glog components.
-- +++ processing catkin package: 'eigen_checks'
-- ==> add_subdirectory(eigen_checks)
CMake Deprecation Warning at eigen_checks/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.

-- Marking SHARED_LIBRARY "eigen_checks" of package "eigen_checks" for installation
-- Marking HEADER FILES in "include" folder of package "eigen_checks" for installation
-- +++ processing catkin package: 'grpc'
-- ==> add_subdirectory(catkin_grpc/grpc)
-- +++ processing catkin package: 'minkindr'
-- ==> add_subdirectory(minkindr/minkindr)
CMake Deprecation Warning at minkindr/minkindr/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.

-- Marking HEADER FILES in "include" folder of package "minkindr" for installation
-- +++ processing catkin package: 'numpy_eigen'
-- ==> add_subdirectory(numpy_eigen)
CMake Deprecation Warning at numpy_eigen/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.

-- Found Boost: /usr/include (found version "1.58.0") found components: system
-- Found numpy include path: '/usr/lib/python2.7/dist-packages/numpy/core/include'
-- Found numpy/arrayobject.h in /usr/lib/python2.7/dist-packages/numpy/core/include. Keeping it as NUMPY_INCLUDE_DIR.
-- Found Boost: /usr/include (found version "1.58.0") found components: python
-- Found numpy include path: '/usr/lib/python2.7/dist-packages/numpy/core/include'
-- Found numpy/arrayobject.h in /usr/lib/python2.7/dist-packages/numpy/core/include. Keeping it as NUMPY_INCLUDE_DIR.
-- Marking HEADER FILES in "include" folder of package "numpy_eigen" for installation
-- +++ processing catkin package: 'minkindr_python'
-- ==> add_subdirectory(minkindr/minkindr_python)
CMake Deprecation Warning at minkindr/minkindr_python/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.

-- Found numpy include path: '/usr/lib/python2.7/dist-packages/numpy/core/include'
-- Found numpy/arrayobject.h in /usr/lib/python2.7/dist-packages/numpy/core/include. Keeping it as NUMPY_INCLUDE_DIR.
-- +++ processing catkin package: 'protobuf_catkin'
-- ==> add_subdirectory(protobuf_catkin)
CMake Deprecation Warning at protobuf_catkin/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.

-- Found PythonInterp: /usr/bin/python2 (found version "2.7.12")
-- Found protoc at: PROTOBUF_PROTOC_EXECUTABLE-NOTFOUND
-- Found grpc_cpp_plugin at: GRPC_CPP_PLUGIN-NOTFOUND
-- Found grpc_python_plugin at: GRPC_PYTHON_PLUGIN-NOTFOUND
-- Found protobuf libraries: LIBPROTOBUF-NOTFOUND;LIBZ-NOTFOUND
-- Found grpc libraries: LIBADDRESS_SORTING-NOTFOUND;LIBARES-NOTFOUND;LIBBORINGSSL-NOTFOUND;LIBGPR-NOTFOUND;LIBGRPC-NOTFOUND;LIBGRPCPP-NOTFOUND;LIBGRPC_ABSEIL-NOTFOUND;LIBGRPCPP_ALTS-NOTFOUND;LIBGRPC_CRONET-NOTFOUND;LIBGRPCPP_CRONET-NOTFOUND;LIBGRPCPP_ERROR_DETAILS-NOTFOUND;LIBGRPCPP_CHANNELZ-NOTFOUND;LIBGRPC_PLUGIN_SUPPORT-NOTFOUND;LIBGRPCPP_REFLECTION-NOTFOUND;LIBGRPC_UNSECURE-NOTFOUND;LIBGRPCPP_UNSECURE-NOTFOUND
-- Could not find a recent enough version of system protobuf.
-- +++ processing catkin package: 'voxblox'
-- ==> add_subdirectory(voxblox/voxblox)
-- Found protoc at: PROTOBUF_PROTOC_EXECUTABLE-NOTFOUND
-- Found grpc_cpp_plugin at: GRPC_CPP_PLUGIN-NOTFOUND
-- Found grpc_python_plugin at: GRPC_PYTHON_PLUGIN-NOTFOUND
-- Found protobuf libraries: LIBPROTOBUF-NOTFOUND;LIBZ-NOTFOUND
-- Found grpc libraries: LIBADDRESS_SORTING-NOTFOUND;LIBARES-NOTFOUND;LIBBORINGSSL-NOTFOUND;LIBGPR-NOTFOUND;LIBGRPC-NOTFOUND;LIBGRPCPP-NOTFOUND;LIBGRPC_ABSEIL-NOTFOUND;LIBGRPCPP_ALTS-NOTFOUND;LIBGRPC_CRONET-NOTFOUND;LIBGRPCPP_CRONET-NOTFOUND;LIBGRPCPP_ERROR_DETAILS-NOTFOUND;LIBGRPCPP_CHANNELZ-NOTFOUND;LIBGRPC_PLUGIN_SUPPORT-NOTFOUND;LIBGRPCPP_REFLECTION-NOTFOUND;LIBGRPC_UNSECURE-NOTFOUND;LIBGRPCPP_UNSECURE-NOTFOUND
-- Preferred Protoc Executable: /home/lhr/catkin_ws/devel/bin/protoc
CMake Error at /home/lhr/catkin_ws/devel/share/protobuf_catkin/cmake/protobuf-generate-cpp.cmake:43 (message):
Couldn't find protobuf compiler. Please ensure that protobuf_catkin is
properly installed. Checked the following paths:
/home/lhr/catkin_ws/devel/bin/protoc;PROTOBUF_PROTOC_EXECUTABLE-NOTFOUND;/home/lhr/catkin_ws/devel/bin/protoc;/opt/ros/kinetic/bin/protoc;/home/lhr/catkin_ws/devel/include/../bin/protoc
Call Stack (most recent call first):
/home/lhr/catkin_ws/devel/share/protobuf_catkin/cmake/protobuf-generate-cpp.cmake:166 (_find_protobuf_compiler)
voxblox/voxblox/CMakeLists.txt:20 (PROTOBUF_CATKIN_GENERATE_CPP2)

-- Configuring incomplete, errors occurred!
See also "/home/lhr/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/lhr/catkin_ws/build/CMakeFiles/CMakeError.log".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions