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

ROS Groovy catkin_make freenect_stack failed #34

Open
AoboJaing opened this issue Dec 24, 2016 · 2 comments
Open

ROS Groovy catkin_make freenect_stack failed #34

AoboJaing opened this issue Dec 24, 2016 · 2 comments

Comments

@AoboJaing
Copy link

I download code https://github.com/ros-drivers/freenect_stack
cd ~/catkin_ws/src/
git clone [email protected]:ros-drivers/freenect_stack.git
then
cd ~/catkin_ws/src/freenect_stack
git checkout freenect_stack-0.2.2

then I make it

cd ~/catkin_ws
catkin_make

But I get "Invoking "cmake" failed"

ubuntu@ubuntu:~$ cd ~/catkin_ws/
ubuntu@ubuntu:~/catkin_ws$ catkin_make
Base path: /home/ubuntu/catkin_ws
Source space: /home/ubuntu/catkin_ws/src
Build space: /home/ubuntu/catkin_ws/build
Devel space: /home/ubuntu/catkin_ws/devel
Install space: /home/ubuntu/catkin_ws/install
####
#### Running command: "cmake /home/ubuntu/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/ubuntu/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/ubuntu/catkin_ws/install" in "/home/ubuntu/catkin_ws/build"
####
-- Using CATKIN_DEVEL_PREFIX: /home/ubuntu/catkin_ws/devel
-- Using CMAKE_PREFIX_PATH: /home/ubuntu/catkin_ws/devel;/opt/ros/groovy
-- This workspace overlays: /home/ubuntu/catkin_ws/devel;/opt/ros/groovy
-- Using Debian Python package layout
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/ubuntu/catkin_ws/build/test_results
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- catkin 0.5.77
-- BUILD_SHARED_LIBS is on
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- ~~  traversing 3 packages in topological order:
-- ~~  - freenect_camera
-- ~~  - freenect_launch
-- ~~  - freenect_stack
-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-- +++ processing catkin package: 'freenect_camera'
-- ==> add_subdirectory(freenect_stack/freenect_camera)
CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package camera_info_manager.

  Set camera_info_manager_DIR to the directory containing a CMake
  configuration file for camera_info_manager.  The file will have one of the
  following names:

    camera_info_managerConfig.cmake
    camera_info_manager-config.cmake

Call Stack (most recent call first):
  freenect_stack/freenect_camera/CMakeLists.txt:3 (find_package)


CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package diagnostic_updater.

  Set diagnostic_updater_DIR to the directory containing a CMake
  configuration file for diagnostic_updater.  The file will have one of the
  following names:

    diagnostic_updaterConfig.cmake
    diagnostic_updater-config.cmake

Call Stack (most recent call first):
  freenect_stack/freenect_camera/CMakeLists.txt:3 (find_package)


CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package dynamic_reconfigure.

  Set dynamic_reconfigure_DIR to the directory containing a CMake
  configuration file for dynamic_reconfigure.  The file will have one of the
  following names:

    dynamic_reconfigureConfig.cmake
    dynamic_reconfigure-config.cmake

Call Stack (most recent call first):
  freenect_stack/freenect_camera/CMakeLists.txt:3 (find_package)


CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package image_transport.

  Set image_transport_DIR to the directory containing a CMake configuration
  file for image_transport.  The file will have one of the following names:

    image_transportConfig.cmake
    image_transport-config.cmake

Call Stack (most recent call first):
  freenect_stack/freenect_camera/CMakeLists.txt:3 (find_package)


CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package nodelet.

  Set nodelet_DIR to the directory containing a CMake configuration file for
  nodelet.  The file will have one of the following names:

    nodeletConfig.cmake
    nodelet-config.cmake

Call Stack (most recent call first):
  freenect_stack/freenect_camera/CMakeLists.txt:3 (find_package)


CMake Error at /opt/ros/groovy/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
  Could not find a configuration file for package sensor_msgs.

  Set sensor_msgs_DIR to the directory containing a CMake configuration file
  for sensor_msgs.  The file will have one of the following names:

    sensor_msgsConfig.cmake
    sensor_msgs-config.cmake

Call Stack (most recent call first):
  freenect_stack/freenect_camera/CMakeLists.txt:3 (find_package)


-- checking for module 'libfreenect'
--   package 'libfreenect' not found
CMake Error at /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:266 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPkgConfig.cmake:320 (_pkg_check_modules_internal)
  freenect_stack/freenect_camera/CMakeLists.txt:16 (pkg_check_modules)


CMake Error at freenect_stack/freenect_camera/CMakeLists.txt:23 (generate_dynamic_reconfigure_options):
  Unknown CMake command "generate_dynamic_reconfigure_options".


-- Configuring incomplete, errors occurred!
Invoking "cmake" failed

How to solve this fail? Thank you .

@Booooooosh
Copy link

Have you installed the libfreenect, it says that the freenect library can not be found? (Been a long time, guess you have figured out the problem).

@zoldaten
Copy link

git clone https://github.com/ros/diagnostics.git

and install by catkin_make

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

3 participants