Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] problem building demos with Qt5

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] problem building demos with Qt5


Chronological Thread 
  • From: Monique Teillaud <>
  • To:
  • Subject: Re: [cgal-discuss] problem building demos with Qt5
  • Date: Wed, 28 Jun 2017 06:19:21 +0200

Hi 

After struggling, googling, reading stack overflow, etc, we found the solution. It is just a (stupid) Mac thing.

~/Library/Frameworks must contain a symbolic link to (path)/libQGLViewer-xx/QGLViewer/QGLViewer.framework

Just manually adding the link eventually allowed the periodic_3.._demo to work. 

A cube has never looked so nice!! ;) 

--
Monique Teillaud 
https://members.loria.fr/Monique.Teillaud/
INRIA Nancy - Grand Est, LORIA 
Institut National de Recherche en Informatique et Automatique 


Thanks for that quick reply!   

I set the Qt5_DIR environment variable, and also QGLVIEWERROOT=/usr/local/libQGLViewer-2.7.0
This allowed cmake to run and make also compiled with no complaints.  

But then trying to run the demo I get

./periodic_3_triangulation_3_demo

dyld: Library not loaded: QGLViewer.framework/Versions/2/QGLViewer
 Referenced from: /Users/vanessa/Software/cgal-releases-CGAL-4.10/Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3/./periodic_3_triangulation_3_demo
 Reason: image not found
Trace/BPT trap: 5

Any hints on this one?  

Regards,
Vanessa




Archive powered by MHonArc 2.6.18.

Top of Page