Upcoming new libxml2 dependency for iDynTree #316
Replies: 6 comments
-
@traversaro note that macOS already ships with |
Beta Was this translation helpful? Give feedback.
-
@francesco-romano so do you think it make sense not to install libxml2 using homebrew to avoid confusion? |
Beta Was this translation helpful? Give feedback.
-
It is a good question. From my investigations I found the following: (macOS 10.13.6):
The question is: what version of libxml2 is shipped in previous OS versions? So we might want to setup some instructions to use brew, just to stay on the safe side. |
Beta Was this translation helpful? Give feedback.
-
I checked and By the way, the parser have been merged in the |
Beta Was this translation helpful? Give feedback.
-
The parser will be part of the upcoming iDynTree 0.11 . |
Beta Was this translation helpful? Give feedback.
-
Sounds good to me. Let's keep it in this way. If in the future we realise we need a more recent version, we can switch to the one provided by homebrew |
Beta Was this translation helpful? Give feedback.
-
In the next days, a new shiny URDF parser with much better diagnostic errors will land on iDynTree
devel
branch, contributed by @francesco-romano at DeepMind.The new parser is based on the MIT-licensed libxml2 library: as a consequence, libxml2 will become a new required dependency of iDynTree, so if you are using the devel branch of iDynTree, you will need to have
libxml2
installed in your system. Check the following for the detailed instructions on the recommended way of installing it.Debian/Ubuntu
macOS
libxml2
is already part of the library distributed with the developement tools on macOS.Windows
If you are using
vcpkg
to manage your dependencies, you can install libxml2 viavcpkg
:where
x64-windows
should be changed tox86-windows
if you are targeting 32-bit binaries.If you typically install your dependencies using the YARP and ICUB dependencies installers, we recommend you to use the new robotology-additional-dependencies, that is a new installer of dependencies generated by vcpkg that contains
libxml2
. This installer is automatically accounting for environment variables, similarly to how the YARP and ICUB dependencies installers do.Please report any issue or problem regarding to this, thanks!
Beta Was this translation helpful? Give feedback.
All reactions