Code Monkey home page Code Monkey logo

Comments (3)

traversaro avatar traversaro commented on July 19, 2024

Are you using the compilers provided by conda-forge to compile the code? Can you report the content of your environment (i.e. micromamba list)? In theory you should not need to set LD_LIBRARY_PATH to ensure that the loader can find librclcpp.so. However, the location of the library you report is strange, if you environment is ros_env you should be able to find the library at micromamba/envs/ros_env/lib/librclcpp.so.

from robostack.github.io.

christianrauch avatar christianrauch commented on July 19, 2024

Are you using the compilers provided by conda-forge to compile the code?

I think no. which g++ points to /usr/bin/g++. But you have a point there. I installed micromamba install compilers cmake pkg-config make ninja colcon-common-extensions and this now points to the compiler in the environment.

... and this actually solved the problem :-) lddtree install/image_tools/lib/image_tools/showimage is now showing the resolved library:

showimage => install/image_tools/lib/image_tools/showimage (interpreter => /lib64/ld-linux-x86-64.so.2)
    librclcpp.so => $HOME/micromamba/envs/ros_env/lib/librclcpp.so

and I can run ros2 run image_tools cam2image without issues. Thanks.

I the ROS repos, there is a convenient package ros-dev-tools that will install all required build tools to build packages. It would be nice if this could be available too for robostack.

Can you report the content of your environment (i.e. micromamba list)?

In theory you should not need to set LD_LIBRARY_PATH to ensure that the loader can find librclcpp.so. However, the location of the library you report is strange, if you environment is ros_env you should be able to find the library at micromamba/envs/ros_env/lib/librclcpp.so.

You are right, the library is at micromamba/envs/ros_env/lib/librclcpp.so. I forgot to update the index before searching for the file.

from robostack.github.io.

traversaro avatar traversaro commented on July 19, 2024

I the ROS repos, there is a convenient package ros-dev-tools that will install all required build tools to build packages. It would be nice if this could be available too for robostack.

That makes indeed sense (even at conda-forge levels, if colcon is removed). I find myself installing complers cmake pkg-config make ninja everywhere, having something like build-essential can be useful.

from robostack.github.io.

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.