AcutronicRobotics / HRIM

An information model for robot hardware. Facilitates interoperability across modules from different robot manufacturers. Built around ROS 2.0
https://acutronicrobotics.com/technology/hrim/
Apache License 2.0
66 stars 22 forks source link

Error compiling hrim_qa #87

Closed igorrecioh closed 5 years ago

igorrecioh commented 5 years ago

Describe the bug When compiling HRIM I get following error in hrim_qa package:

Starting >>> hrim_qa
--- stderr: hrim_qa                           
CMake Error at CMakeLists.txt:29 (SUBDIRLIST):
  SUBDIRLIST Macro invoked with incorrect arguments for macro named:
  SUBDIRLIST

---
Failed   <<< hrim_qa    [ Exited with code 1 ]

To Reproduce

Expected behavior

LanderU commented 5 years ago

Remove --symlink-install from your compilation.

ahcorde commented 5 years ago

you need to add -DHRIM_DIRECTORY

LanderU commented 5 years ago

Checkout how were are compiling on travis:

igorrecioh commented 5 years ago

Working now! Used this:

colcon build --merge-install --packages-select hrim_qa --cmake-args -DHRIM_DIRECTORY=/home/erle/ros2_ws/src/HRIM/generated/