Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] error building demos - Ubuntu

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] error building demos - Ubuntu


Chronological Thread 
  • From: John Rugis <>
  • To: "" <>
  • Subject: Re: [cgal-discuss] error building demos - Ubuntu
  • Date: Sat, 14 Jan 2017 23:59:22 +0000
  • Accept-language: en-NZ, en-US
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:Gg+EtBxlQ6cwAnHXCy+O+j09IxM/srCxBDY+r6Qd0eoUIJqq85mqBkHD//Il1AaPBtSHrakfwLGP7uigATVGusnR9ihaMdRlbFwst4Y/p0QYGsmLCEn2frbBThcRO4B8bmJj5GyxKkNPGczzNBX4q3y26iMOSF2kbVImbre9JomHxc+43uT395zIaBhTnxK8Z6lzJVO4t0+Z4sIZiI8nJqcqwQbSuVNJff5XzCVmPwTAsQz745KS+55lux5NtPM6v5pCF7/ncKUjZbVFBzciOmY5osTg8x/RG1jcrkAAW3kbx0IbSzPO6wv3C8/8

On further investigation...

All of the demos, including Mesh_3, appear to build OK if I execute cmake . and make from the top level demo directory rather than, for example, within the Mesh_3 directory as suggested here:

http://www.cgal.org/FAQ.html#debian_demos




From: <> on behalf of John Rugis <>
Sent: Sunday, 15 January 2017 10:19 a.m.
To:
Subject: [FORGED] [cgal-discuss] error building demos - Ubuntu
 

The CGAL examples build and execute, but I'm getting errors in the link phase of building the demos:


...

[ 63%] Linking CXX executable Mesh_3

/usr/local/lib/libQGLViewer-qt5.so: undefined reference to `QDialog::minimumSizeHint() const@Qt_5'
/usr/local/lib/libQGLViewer-qt5.so: undefined reference to `QBoxLayout::addLayout(QLayout*, int)@Qt_5'
/usr/local/lib/libQGLViewer-qt5.so: undefined reference to `QGLWidget::qt_metacast(char const*)@Qt_5'
...

collect2: error: ld returned 1 exit status
CMakeFiles/Mesh_3.dir/build.make:301: recipe for target 'Mesh_3' failed
make[2]: *** [Mesh_3] Error 1
CMakeFiles/Makefile2:458: recipe for target 'CMakeFiles/Mesh_3.dir/all' failed
make[1]: *** [CMakeFiles/Mesh_3.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2


Ubuntu 16.04

CGAL-4.9

libQGLViewer-2.6.4


The QGLViewer examples build and execute.


John Rugis

University of Auckland





Archive powered by MHonArc 2.6.18.

Top of Page