Open scpeters-test opened 10 years ago
Original comment by Steve Peters (Bitbucket: Steven Peters).
I can think of two different goals here:
Make it so sdformat doesn't depend on boost at all. You've provided a link to Erwin's stripped down version of boost as an idea for how to retain the functionality.
Use boost internally, but make it so downstream software that uses sdformat doesn't have to depend on boost, so that there are no boost references in any header files for example. This way if they have the sdformat deb installed, then they don't need to compile against bullet.
Which one are you proposing?
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
Original comment by clalancette (Bitbucket: clalancette, GitHub: clalancette).
So I've been going through this problem. Here's what I know about boost use within SDFormat:
A few days ago I opened a pull request to get rid of the boost regex dependency (1). Once that is in, I have a pending pull request to remove most of the uses of lexical_cast (2). That leaves the harder ones. We can take care of (3) by removing the internal urdfdom implementation, which we plan to do, but will need some work as the API has changed. Taking care of (4) means changing the external API, which we will have to do by deprecating the current Boost::Any API, adding a new API to replace it, waiting a release cycle, and then removing it completely. Finally, taking care of (5) means that we have to have our own cross-platform filesystem implementations, which we can do, but will take some work.
Original comment by clalancette (Bitbucket: clalancette, GitHub: clalancette).
Original report (archived issue) by John Hsu (Bitbucket: hsu, GitHub: hsu).
Strip boost dependency. This will make it more portable.
Example of what we need from boost can be found in this directory