scpeters-test / sdformat

Simulation Description Format (SDF) parser and description files.
http://sdformat.org
Other
1 stars 0 forks source link

urdfdom and urdfdom_header not found when building from source on OSX #224

Open scpeters-test opened 4 years ago

scpeters-test commented 4 years ago

Original report (archived issue) by Claire Wang (Bitbucket: Claire Wang).


Prerequisites

Description

[Description of the issue]
After installing urdfdom package with brew, cmake is still unable to find it during the build process.

Steps to Reproduce

  1. [First Step] brew install urdfdom
  2. [Second Step] colcon build --merge-install
  3. [and so on...]

Expected behavior:

[What you expect to happen]
Builds sdformat9 successfully

Actual behavior:

[What actually happens]

/Users/clairewang/citadel_ws/src/sdformat/src/parser_urdf.cc:30:10: fatal error: 'urdf_model/model.h' file not found

#include <urdf_model/model.h>^~~~~~~~1 error generated.make[2]: *** [src/CMakeFiles/sdformat9.dir/parser_urdf.cc.o] Error 1make[1]: *** [src/CMakeFiles/sdformat9.dir/all] Error 2make: *** [all] Error 2make: INTERNAL: Exiting with 14 jobserver tokens available; should be 12!

Failed <<< sdformat9 [ Exited with code 2 ]

Reproduces how often:

[What percentage of the time does it occur?]
All the time when I build from source

Versions

[Include information about relevant software versions, and your OS type and version.]

OS: Mojave (10.14)
Ignition: Citadel
Xcode: 10.3

Additional Information

[Any additional information, configuration or data that might be necessary to reproduce the issue.]

The current workaround is to use colcon build --cmake-args -DUSE_INTERNAL_URDF=ON --merge-install, but it would be nice to build with the system one.

scpeters-test commented 4 years ago

Original comment by Claire Wang (Bitbucket: Claire Wang).


scpeters-test commented 4 years ago

Original comment by Claire Wang (Bitbucket: Claire Wang).


scpeters-test commented 4 years ago

Original comment by Claire Wang (Bitbucket: Claire Wang).