Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building with colcon #21

Open
IdoPractical opened this issue May 15, 2023 · 4 comments
Open

Error building with colcon #21

IdoPractical opened this issue May 15, 2023 · 4 comments

Comments

@IdoPractical
Copy link

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!

@the-snowwhite
Copy link

I got the ubuntu 20.04 versions foxy and noetic to work and drive pins recently with current machinekit-hal see the 2 open pull requests.
I was also able to get 22.04 humble to compile but not drive any pins. see this branch:
https://github.com/the-snowwhite/hal_ros_control/tree/humble-devel

@Michelyoussef21
Copy link

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!

I have the same problem when I build using colcon did you solve it?

@chrisalbertson
Copy link

chrisalbertson commented Apr 18, 2024 via email

@battikha3
Copy link

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

what to do?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants