Skip to content

Error building with colcon #21

Description

@IdoPractical

Hello!
I am trying to use the package with Machinekit-HAL and ROS but when compiling with colcon I get this error:

--- stderr: hal_hw_interface                           
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find HAL (missing: HAL_INCLUDE_PATH)
Call Stack (most recent call first):
  /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindHAL.cmake:36 (find_package_handle_standard_args)
  CMakeLists.txt:24 (find_package)

I have used the foxy-devel branch even tough I'm using ROS2 Humble on Ubuntu 22.04 (thought it might work)
After changing the FindHAL.cmake file it worked but then I had more errors on the included files in hal.h and more files
Did I miss something?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions