Skip to content

Dependency Availability on ROS2 Platforms #1

Closed

Description

@mjcarroll

So when trying to get this to build for ros2/rcl#327, I realized that the log4cxx dependency isn't readily satisfiable on all of the platforms that we expect to support, causing build failures (ros2/rcl#327 (comment)).

For Ubuntu Linux, this should be relatively easy to add, because it is available through apt, but in order to get this out for ros2, we'll need to get those dependencies available on MacOS and Windows as well (especially for making something as core as rcl or rcutils depend on it).

For Windows, the best approach would be to have a choco package available (which there is currently not), or alternative provide a vendor package, as we have choosen to do for various other dependencies.

Activity

  1. nburek commented on Dec 5, 2018

    @nburek
    Contributor

    I've added a noop logger package to this repository as well and COLCON_IGNORED the log4cxx package to unblock any CI builds. I'm actively working on getting a Windows machine setup so I can work on the solution to the dependency issue.

  2. nburek commented on Dec 5, 2018

    @nburek
    Contributor

    @nburek , I believe this package needs to go into https://github.com/ros2/ros2/blob/master/ros2.repos

    @chapulina Yes, you are correct that it needs to be added to the ros2.repos list. I hadn't done that yet because I wasn't sure if OSRF would prefer that this repository live in the ros2 organization or not. To unblock the PR and builds I'll add this repository from my account to the list as part of the PR and we can change it later if desired.

  3. chapulina commented on Dec 5, 2018

    @chapulina

    +1 to adding it now, we can always move the repository across orgs and update the references as needed. Thanks!

  4. nburek commented on Dec 18, 2018

    @nburek
    Contributor

    Quick status update on this issue. We have a fix complete for building on MAC by using brew to install log4cxx. We are also nearly finished creating a Chocolaty package for Windows. We've been able to test building on Windows works when the library is linked properly and just need to finish the work to make the log4cxx install from the choco package findable from cmake. That work should be done in the next couple of days as well.

  5. mjcarroll commented on Dec 19, 2018

    @mjcarroll
    MemberAuthor

    Nice! Thanks for the update @nburek.

  6. nburek commented on Dec 21, 2018

    @nburek
    Contributor

    We've submitted Pull requests for these, but there will be some setup work on the build farm to make sure this doesn't break them once pushed. We will need to add the new log4cxx dependency to the OS X and Windows machines using brew and choco.

    There is a known issue with the Windows build that forces us to use a Debug build on Windows. I will open a new issue to track fixing that.

    #3

  7. mjcarroll commented on Jan 24, 2019

    @mjcarroll
    MemberAuthor

    Windows dependency should be resolved by: ros2/choco-packages#7

  8. clalancette commented on Oct 4, 2019

    @clalancette
    Contributor

    log4cxx is available on the all of the platforms now. Though we are switching to spdlog as the default backend anyway, so this is less important. Closing this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions