Giter Site home page Giter Site logo

My ROS system is ROS2 foxy, but there was an error compiling ROS bridge on Ubuntu 20. I don't know how to solve it about ros-bridge HOT 8 CLOSED

xoxclouds avatar xoxclouds commented on July 1, 2024
My ROS system is ROS2 foxy, but there was an error compiling ROS bridge on Ubuntu 20. I don't know how to solve it

from ros-bridge.

Comments (8)

JiBingdong avatar JiBingdong commented on July 1, 2024 3

@xoxclouds can you post the solution? It may be useful for other people in the future

I also encountered this issue, do you resolved this issue? PS: i try your answer in the top, but it does not work on my system.
I have already resolved this issue on my end.


``` pip install empy==3.3.4

from ros-bridge.

FelipeGdM avatar FelipeGdM commented on July 1, 2024

Have you installed all dependencies? This error may be caused by a missing dependency

You may try

rosdep install --from-paths src --ignore-src -r -y

Then try to compile the project again with

colcon build --cmake-clean-first

The flag --cmake-clean-first is needed because some intermediary object files may be broken due to missing dependencies, so it's better to attempt a fresh start

from ros-bridge.

zhangjiatao avatar zhangjiatao commented on July 1, 2024

I also encountered this issue, and the compilation error occurred on Python 3.11. I was able to resolve it by recompiling on Python 3.8.

from ros-bridge.

xoxclouds avatar xoxclouds commented on July 1, 2024

Thank you for your feedback. I have already resolved this issue on my end.

from ros-bridge.

FelipeGdM avatar FelipeGdM commented on July 1, 2024

@xoxclouds can you post the solution? It may be useful for other people in the future

from ros-bridge.

xoxclouds avatar xoxclouds commented on July 1, 2024

@FelipeGdM My ubuntu system crashed. I reinstalled ubuntu and compiled again and there was no problem. I may not be able to provide much help, I'm very sorry.

from ros-bridge.

is-whale avatar is-whale commented on July 1, 2024

是否安装了所有依赖项?此错误可能是由缺少依赖项引起的

你可以试试

rosdep install --from-paths src --ignore-src -r -y

然后尝试再次编译项目

colcon build --cmake-clean-first

该标志是必需的,因为某些中间对象文件可能会由于缺少依赖项而损坏,因此最好尝试重新开始--cmake-clean-first

oh ! I love U so much!!!

from ros-bridge.

JiBingdong avatar JiBingdong commented on July 1, 2024

@xoxclouds can you post the solution? It may be useful for other people in the future

I also encountered this issue, do you resolved this issue?
PS: i try your answer in the top, but it does not work on my system.

from ros-bridge.

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.