我正在尝试在ubuntu 10.10上编译OpenKinect-libfreenect。 我已经安装了所有依赖项。 当我用make编译它时,它给了我这个错误。
Scanning dependencies of target cppview
[ 64%] Building CXX object examples/CMakeFiles/cppview.dir/cppview.cpp.o
/home/giodamelio/Downloads/OpenKinect-libfreenect-bdd9219/examples/cppview.cpp:41: fatal error: GL/glut.h: No such file or directory
compilation terminated.
make[2]: *** [examples/CMakeFiles/cppview.dir/cppview.cpp.o] Error 1
make[1]: *** [examples/CMakeFiles/cppview.dir/all] Error 2
make: *** [all] Error 2
答案 0 :(得分:0)
安装freeglut3-dev
包。