Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.

Error compiling hrim_qa #87

Closed
igorrecioh opened this issue Jul 11, 2019 · 4 comments
Closed

Error compiling hrim_qa #87

igorrecioh opened this issue Jul 11, 2019 · 4 comments

Comments

@igorrecioh
Copy link

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

  • Follow ROS2 installation instructions from sources (Dashing)
  • Clone HRIM repo in src folder and generate the models
  • colcon build --symlink-install --merge-install

Expected behavior

  • I expected to compile whole ws without errors
@LanderU
Copy link
Contributor

LanderU commented Jul 11, 2019

Remove --symlink-install from your compilation.

@LanderU LanderU added the bug label Jul 11, 2019
@ahcorde
Copy link
Contributor

ahcorde commented Jul 11, 2019

you need to add -DHRIM_DIRECTORY

@LanderU
Copy link
Contributor

LanderU commented Jul 11, 2019

@ahcorde ahcorde closed this as completed Jul 11, 2019
@igorrecioh
Copy link
Author

Working now! Used this:

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

@LanderU LanderU removed the bug label Jul 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants