我试图从CGAL库构建Polyhedron演示。
:~/Libs/demos/demo/Polyhedron$ cmake .
cmake没有错误。
:~/Libs/demos/demo/Polyhedron$ make
make给出了以下错误:
[ 0%] Automatic moc for target shortest_path_plugin
[ 0%] Built target shortest_path_plugin_automoc
[ 0%] Automatic moc for target demo_framework
[ 0%] Built target demo_framework_automoc
[ 1%] Automatic moc for target gl_splat
[ 1%] Built target gl_splat_automoc
[ 2%] Built target gl_splat
[ 2%] Building CXX object CMakeFiles/demo_framework.dir/Viewer.cpp.o
/home/param/Libs/demos/demo/Polyhedron/Viewer.cpp: In member function
‘virtual void Viewer::setAntiAliasing(bool)’:
/home/param/Libs/demos/demo/Polyhedron/Viewer.cpp:76:12: error:
‘updateGL’ was not declared in this scope
updateGL();
我在用:
谢谢。
该演示遇到了QGLViewer 2.7的问题。您应该使用以前的版本(2.6.4),直到集成修复程序。