Try adding "-DCGAL_USE_BASIC_VIEWER" to your cmake line for the triangulation_2 example:
Code:
cmake -DCGAL_DIR=$CMAKE_INSTALLED_PREFIX/lib/CGAL -DCMAKE_BUILD_TYPE=Release -DCGAL_USE_BASIC_VIEWER .
Works fine on 21.04 which has CGAL-5.2.1 in the repros. If you need 5.2.1 you might consider upgrading. https://packages.ubuntu.com/hirsute/libcgal-dev
Code:
~/Downloads/cgal/examples/Triangulation_2/build$ ldd draw_triangulation_2 | grep Qt
libQt5OpenGL.so.5 => /lib/x86_64-linux-gnu/libQt5OpenGL.so.5 (0x00007ff5fcfd3000)
libQt5Svg.so.5 => /lib/x86_64-linux-gnu/libQt5Svg.so.5 (0x00007ff5fcf76000)
libQt5Widgets.so.5 => /lib/x86_64-linux-gnu/libQt5Widgets.so.5 (0x00007ff5fc8d6000)
libQt5Gui.so.5 => /lib/x86_64-linux-gnu/libQt5Gui.so.5 (0x00007ff5fc206000)
libQt5Xml.so.5 => /lib/x86_64-linux-gnu/libQt5Xml.so.5 (0x00007ff5fc1c1000)
libQt5Core.so.5 => /lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007ff5fbc67000)
Bookmarks