Giter Club home page Giter Club logo

Comments (7)

jtorde avatar jtorde commented on September 16, 2024

Hi @xujiahuan!

This seems a similar error as this other issue. Specifically, check these versions:

Ubuntu 18.04 and ROS Melodic
protoc --version should give libprotoc 3.0.0
gazebo --version should give version 9.0.0

Ubuntu 16.04 and ROS Kinetic
protoc --version should give libprotoc 2.6.1
gazebo --version should give version 7.0.0

from faster.

xujiahuan avatar xujiahuan commented on September 16, 2024

Hi, developer!
Thank you for your answer!
However,I I had other problems.

No handlers could be found for logger "trollius"ueued] [global_mapper_ros:m...


Errors << global_mapper_ros:make /home/hellowu/ws/logs/global_mapper_ros/build.make.000.log
/home/hellowu/ws/devel/.private/global_mapper_ros/lib/libglobal_mapper_ros.so:对‘cv::error(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const*, char const*, int)’未定义的引用 (undefined reference )
/home/hellowu/ws/devel/.private/global_mapper_ros/lib/libglobal_mapper_ros.so:对‘global_mapper::GlobalMapper::PushPointCloud(boost::shared_ptr<pcl::PointCloudpcl::PointXYZI const> const&)’未定义的引用 (undefined reference )
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/global_mapper_node.dir/build.make:540:/home/hellowu/ws/devel/.private/global_mapper_ros/lib/global_mapper_ros/global_mapper_node] 错误 1
make[1]: *** [CMakeFiles/Makefile2:105:CMakeFiles/global_mapper_node.dir/all] 错误 2
make: *** [Makefile:141:all] 错误 2
cd /home/hellowu/ws/build/global_mapper_ros; catkin build --get-env global_mapper_ros | catkin env -si /usr/bin/make --jobserver-auth=6,7; cd -
...............................................................................
Failed << global_mapper_ros:make [ Exited with code 2 ]
Failed <<< global_mapper_ros [ 28.3 seconds ]

Does this need OpenCV and PCL? If so, what are the versions? Thans a lot.

from faster.

jtorde avatar jtorde commented on September 16, 2024

Hi @xujiahuan!

Yes, you need PCL (which is usually installed when installing ros-desktop-full I think). Could you try to install it by running
sudo apt-get install ros-melodic-perception-pcl? (change melodic with the ROS version you are using)

Let me know if this solves the problem

from faster.

xujiahuan avatar xujiahuan commented on September 16, 2024

Hi @jtorde !
Thank you for you answer.
I still can't solve these problems on my pc.
However, My classmate successfully Compiled it on his computer. His Ubuntu is 16.04/ROS Kinetic, while mine is 18.04/ROS Melodic. So, Maybe it can't be Compiled on Ubuntu 18.04/ROS Melodic? I just guess. Could you provide me with accurate environment configuration? Thank you very much.

from faster.

jtorde avatar jtorde commented on September 16, 2024

Hi @xujiahuan,

FASTER has been tested and compiled successfully both in Ubuntu 16.04/ROS Kinetic and Ubuntu 18.04/ROS Melodic. So it should work with the Ubuntu/ROS version you have.

Are you getting the same error as before? If so, could you try to install as well this package (if not already installed): sudo apt-get install ros-melodic-vision-opencv

Let me know if this helps!

from faster.

jtorde avatar jtorde commented on September 16, 2024

Or more generally, make sure all the packages that come with the Desktop-Full install of ROS are installed:

sudo apt install ros-melodic-desktop-full

from faster.

jtorde avatar jtorde commented on September 16, 2024

Closing this for now, feel free to reopen it you still have this issue

from faster.

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.