ros / urdfdom

URDF parser
http://ros.org/wiki/urdf
Other
97 stars 131 forks source link

No symbols are exported for urdfdom_model_state and urdfdom_sensor libraries #42

Open traversaro opened 10 years ago

traversaro commented 10 years ago

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:

sloretz commented 7 years ago

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.

traversaro commented 7 years ago

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.