0
votes

I was trying to build the Polyhedron demo from the CGAL library.

:~/Libs/demos/demo/Polyhedron$ cmake . 

cmake gave no errors.

:~/Libs/demos/demo/Polyhedron$ make 

make gave the following error:

[  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();

I am using:

  • ubuntu 16.04
  • QGLViewer 2.7.1
  • Qt 5.6.2
  • OpenGL version 3.0, OpenGL core profile version 4.5

Thank you.

1
What version of CGAL are you using?sloriot
Actually you are probably affected by the issues fixed by this PRsloriot
@sloriot CGAL version 4.7Rookie007

1 Answers

0
votes

The demo is experiencing problems with QGLViewer 2.7. You should use the previous verison (2.6.4) until the fix is integrated.