urdfdom icon indicating copy to clipboard operation
urdfdom copied to clipboard

No symbols are exported for urdfdom_model_state and urdfdom_sensor libraries

Open traversaro opened this issue 11 years ago • 2 comments

Apparently during the configuration this two libraries (urdfdom_model_state, urdfdom_sensor) are created, but no symbol from any of this two libraries is properly exported in https://github.com/ros/urdfdom/blob/master/urdf_parser/include/urdf_parser/urdf_parser.h .

On Windows this causes an error when using the urdfdom library. I guess there are three possible solutions:

  • Properly expose the symbols defined in this two libraries.
  • Remove these libraries.
  • Add the source code of this libraries to the urdf_model (but without exposing the symbols this will be unused code).

traversaro avatar Aug 05 '14 10:08 traversaro

Where are urdf_model_state and urdfdom_sensor used?

urdf_model_state.cpp defines a function urdf::parseModelState, but it's not used in this repo and there are no headers for it. Similar story for urdf_sensor.cpp.

If they are not used and no one else can use them because there is no header, it seems like option 2 (removing the libraries) is the way to go.

sloretz avatar Aug 10 '17 19:08 sloretz

I don't remember the status of this issue or if the upstream version of urdfdom is compiling on Windows/MSVC, but I agree that removing these libraries is the way to go in any case.

traversaro avatar Aug 10 '17 23:08 traversaro