Code Monkey home page Code Monkey logo

Comments (5)

cedricxie avatar cedricxie commented on June 13, 2024

Hello @muzi2045 , are you doing the catkin build inside docker container? Looks like some libraries are not found.

from apollo_perception_ros.

muzi2045 avatar muzi2045 commented on June 13, 2024

not in the docker. just compile it in a new ROS environment.

from apollo_perception_ros.

yasenh avatar yasenh commented on June 13, 2024

@muzi2045
Seems you have a older version of protobuf installed(libprotobuf.so.9), but a newer version is required (libprotobuf.so.13).
I think you can try to modify the CmakeLists locally:
https://github.com/cedricxie/apollo_perception_ros/blob/master/src/perception/apollo_perception_ros/CMakeLists.txt#L64-L66

find_package(Protobuf 3.3 REQUIRED EXACT) -> find_package(Protobuf 2.6 REQUIRED EXACT) , which is the corresponding version of libprotobuf.so.9.

However, I still recommend you to use docker instead :)

from apollo_perception_ros.

muzi2045 avatar muzi2045 commented on June 13, 2024

I have installed the protobuf 3.3.0 in the system, And cmake can find it in the /usr/local/lib
which confuse me is the libcaffe.so and libproto.a file, I can't get which version protobuf it built with.
I'll try to run it in the Docker.

/usr/local/bin/cmake -DCMAKE_BUILD_TYPE=Debug -G "CodeBlocks - Unix Makefiles" /home/aisimba/aisimba_ws/src/perception_ros
-- Using CATKIN_DEVEL_PREFIX: /home/aisimba/aisimba_ws/src/perception_ros/cmake-build-debug/devel
-- Using CMAKE_PREFIX_PATH: /home/aisimba/aisimba_ws/devel;/opt/ros/kinetic
-- This workspace overlays: /home/aisimba/aisimba_ws/devel;/opt/ros/kinetic
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/aisimba/aisimba_ws/src/perception_ros/cmake-build-debug/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.14
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Boost version: 1.58.0
-- The imported target "vtkRenderingPythonTkWidgets" references the file
   "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-6.2/VTKTargets.cmake"
but not all the files it references.

-- The imported target "vtk" references the file
   "/usr/bin/vtk"
but this file does not exist.  Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
   "/usr/lib/cmake/vtk-6.2/VTKTargets.cmake"
but not all the files it references.

-- Could NOT find PCL_APPS (missing: PCL_APPS_LIBRARY) 
-- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found suitable exact version "3.3.0") 
Protobuf Include path: /usr/local/include
Protobuf libraries: /usr/local/lib/libprotobuf.so-lpthread
Protobuf library: /usr/local/lib/libprotobuf.so
-- Configuring done
-- Generating done

from apollo_perception_ros.

cedricxie avatar cedricxie commented on June 13, 2024

Thanks for answering! @yasenh

from apollo_perception_ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.