I'm trying to compile freenect and this is my first time using cmake
a opposed to make
. I had some erlier issues due to dependencies and I was able to resolve via google searches but now I'm stuck again. How do I resolve this? Terminal output below:
~/libfreenect-master $ sudo cmake -L
-- Operating system is Linux
-- Got System Processor armv6l
-- libfreenect will be installed to /usr/local
-- Headers will be installed to /usr/local/include/libfreenect
-- Libraries will be installed to /usr/local/lib
-- Found libusb-1.0:
-- - Includes: /usr/include/libusb-1.0
-- - Libraries: /usr/lib/arm-linux-gnueabihf/libusb-1.0.so
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:
GLUT_Xmu_LIBRARY (ADVANCED)
linked by target "freenect-chunkview" in directory /home/pi/libfreenect-master/examples
linked by target "freenect-glpclview" in directory /home/pi/libfreenect-master/examples
linked by target "freenect-glview" in directory /home/pi/libfreenect-master/examples
linked by target "freenect-hiview" in directory /home/pi/libfreenect-master/examples
linked by target "freenect-micview" in directory /home/pi/libfreenect-master/examples
linked by target "freenect-regview" in directory /home/pi/libfreenect-master/examples
linked by target "freenect-cpp_pcview" in directory /home/pi/libfreenect-master/wrappers/cpp
linked by target "freenect-cppview" in directory /home/pi/libfreenect-master/wrappers/cpp
-- Configuring incomplete, errors occurred!
-- Cache values
BUILD_AS3_SERVER:BOOL=OFF
BUILD_CPACK_DEB:BOOL=OFF
BUILD_CPACK_RPM:BOOL=OFF
BUILD_CPACK_TGZ:BOOL=OFF
BUILD_CPP:BOOL=ON
BUILD_CV:BOOL=OFF
BUILD_C_SYNC:BOOL=ON
BUILD_EXAMPLES:BOOL=ON
BUILD_FAKENECT:BOOL=ON
BUILD_OPENNI2_DRIVER:BOOL=OFF
BUILD_PYTHON:BOOL=OFF
BUILD_REDIST_PACKAGE:BOOL=ON
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=/usr/local
LIBUSB_1_INCLUDE_DIR:PATH=/usr/include/libusb-1.0
LIBUSB_1_LIBRARY:FILEPATH=/usr/lib/arm-linux-gnueabihf/libusb-1.0.so