ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

Catkin_make can't find package

asked 2018-05-15 13:18:13 -0500

wouter1006 gravatar image

Hello all,

For a project we want to use the skeleton of a human. Therefor we are using the Orbbec Astra RGB D camera and installed the corresponding software from https://orbbec3d.com/develop/ . This package runs fine.

Because we want to have the data into ROS, we also downloaded a package which will publish the data from the SDK into topics. ( https://github.com/shinselrobots/astr...

While running catkin_make we get the following error:

   Path = /home/system/AstraSDK/samples/cmake/
CMake Error at astra_body_tracker/CMakeLists.txt:30 (find_package):
  By not providing "FindAstra.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "Astra", but
  CMake did not find one.

  Could not find a package configuration file provided by "Astra" with any of
  the following names:

    AstraConfig.cmake
    astra-config.cmake

  Add the installation prefix of "Astra" to CMAKE_PREFIX_PATH or set
  "Astra_DIR" to a directory containing one of the above files.  If "Astra"
  provides a separate development package or SDK, be sure it has been
  installed.


-- Configuring incomplete, errors occurred!
See also "/home/wouter/catkin2_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/wouter/catkin2_ws/build/CMakeFiles/CMakeError.log".
Makefile:836: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed

We are using ROS Kinetic on Ubuntu 16.04. In the SDK folder we can't find a file called AstraConfig.cmake or astra-config.cmake.

Does anyone know how to solve this error?

Tanks in advance!

edit retag flag offensive close merge delete

Comments

1

Did you update the location where CMake should look for the Astra SDK here?

Note: I've never worked with this pkg, but that seems like a suspicious line to me.

gvdhoorn gravatar image gvdhoorn  ( 2018-05-15 14:55:03 -0500 )edit

Also: if this post is also you, then please refrain from cross-posting issues like that. At best it leads to split discussions, but most of the times it'll actually lead to duplication and waste of effort.

gvdhoorn gravatar image gvdhoorn  ( 2018-05-15 14:55:47 -0500 )edit

I have updated the location of the Astra SDK in the CMakelists

wouter1006 gravatar image wouter1006  ( 2018-05-16 04:04:53 -0500 )edit

Then I would think this is an issue with this specific package, or how you setup your system. Perhaps the issue you already opened on the pkg's tracker would be more appropriate place to diagnose it.

gvdhoorn gravatar image gvdhoorn  ( 2018-05-16 04:11:23 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-03-09 02:07:55 -0500

mugenzebra gravatar image

As suggested by @gvdhoorn, I was able to fix the exact same problem by updating the locations of the four parameters from line 19 to 22 in the CMakelist file. I had /home/Downloads/astra_sdk/... but the correct ones are /home/my-username/Downlaods/astra_sdk/...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-05-15 13:18:13 -0500

Seen: 3,292 times

Last updated: Mar 09 '19