Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency Availability on ROS2 Platforms #1

Closed
mjcarroll opened this issue Dec 5, 2018 · 9 comments
Closed

Dependency Availability on ROS2 Platforms #1

mjcarroll opened this issue Dec 5, 2018 · 9 comments
Labels

Comments

@mjcarroll
Copy link
Member

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.

@nburek
Copy link
Contributor

nburek commented Dec 5, 2018

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.

@chapulina
Copy link

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

@nburek
Copy link
Contributor

nburek commented Dec 5, 2018

@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.

@chapulina
Copy link

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

@nburek
Copy link
Contributor

nburek commented Dec 18, 2018

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.

@mjcarroll
Copy link
Member Author

Nice! Thanks for the update @nburek.

@nburek
Copy link
Contributor

nburek commented Dec 21, 2018

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

@mjcarroll
Copy link
Member Author

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

@clalancette
Copy link
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
Labels
Projects
None yet
Development

No branches or pull requests

5 participants