catkin_package() include dir

asked 2015-04-23 15:41:29 -0500

Aylin COŞKUN gravatar image

updated 2015-04-23 15:41:52 -0500

Hi !! I am working with raspberry pi B + kinect. ı am trying to install freenect_camera on raspberry pi for starting kinect camera. But when ı typed cmake . ı had below warning. What is the solution?

pi@raspberrypi ~/catkin_ws/src/freenect_stack $ cd freenect_camera/
pi@raspberrypi ~/catkin_ws/src/freenect_stack/freenect_camera $ cmake .
-- Using CATKIN_DEVEL_PREFIX: /home/pi/catkin_ws/src/freenect_stack/freenect_camera/devel
-- Using CMAKE_PREFIX_PATH: /home/pi/catkin_ws/devel;/home/pi/catkin_ws/install;/opt/ros/indigo
-- This workspace overlays: /home/pi/catkin_ws/devel;/home/pi/catkin_ws/install;/opt/ros/indigo
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/pi/catkin_ws/src/freenect_stack/freenect_camera/test_results
 -- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.11
-- Boost version: 1.49.0
 -- Found the following Boost libraries:
 --   thread
  CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:409 (message):
  catkin_package() include dir
 should be placed in the devel space instead of the build space
  Call Stack (most recent call first):
  /opt/ros/indigo/share/catkin/cmake/catkin_package.cmake:98 (_catkin_package)
 CMakeLists.txt:51 (catkin_package)

-- Configuring done
-- Generating done
 -- Build files have been written to: /home/pi/catkin_ws/src/freenect_stack/freenect_camera
edit retag flag offensive close merge delete


@Aylin COSKUN, did you fix this? Could you share with us how you fixed it?

capstayn gravatar image capstayn  ( 2016-04-06 06:02:09 -0500 )edit