Im using a virtual machine running Ubuntu 18.04 and ROS melodic. I have been trying to figure out this error for the past week but have failed to figure it out. I am trying to connect a kinect v2 to ROS and after I have cloned the code, running catkin_make -DCMAKE_BUILD_TYPE="Release" produces the following error.
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
freenect2_INCLUDE_DIR
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
used as include directory in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
freenect2_LIBRARY
linked by target "kinect2_bridge" in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
linked by target "kinect2_bridge_nodelet" in directory /home/student/catkin_ws/src/iai_kinect2/kinect2_bridge
-- Configuring incomplete, errors occurred!
See also "/home/student/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/student/catkin_ws/build/CMakeFiles/CMakeError.log".
Im using a virtual machine running Ubuntu 18.04 and ROS melodic. I have been trying to figure out this error for the past week but have failed to figure it out. I am trying to connect a kinect v2 to ROS and after I have cloned the code, running
catkin_make -DCMAKE_BUILD_TYPE="Release"
produces the following error.