我正在尝试从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();
我正在使用:
谢谢。
答案 0 :(得分:0)
该演示遇到QGLViewer 2.7的问题。您应该使用之前的版本(2.6.4),直到集成修复程序。