Subject: CGAL users discussion list
List archive
- From: Vanessa Robins <>
- To: "" <>
- Subject: Re: [cgal-discuss] problem building demos with Qt5
- Date: Tue, 27 Jun 2017 06:53:49 +0000
- Accept-language: en-US
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=Pass
- Ironport-phdr: 9a23:dFXkPRXrhYrNYNxY3nmU0ucRkIrV8LGtZVwlr6E/grcLSJyIuqrYbROCt8tkgFKBZ4jH8fUM07OQ6PG/HzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLdwIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KptVRTmijoINyQh/W/XlMJ+kb5brhyiqRxxwYHUYZ2aOvVxca7GYdMaXG9BUtpNWyBdAo6xaZYEAeobPeZfqonwv1QBogG4BQayH+Pv0SVHjWLq0609yOshEAfG3Bc9FN8JrnTbttP1O7kJUeCu1qbE1y/Db/RN1jf87ojIaQssruuKXbJta8be11QgFx7fglqKtIzoJjWY3fkDvWic6upvT+Ovi2g/pgF3uDeg3dwjio3XiY4P1l/E8iB5zJ40Jd2+Uk57YMSrHIFetyGAL4d3Td8tQ2Z1tykk0LEJo4a7fDAMxZ86xBDfc+SKf5WU7h/sTuqcLjV1iGh4dL6ihhu+61WsxvH+W8WszVpHrjZJnsPSunwR2RHf8NWLR/l/80u7xzqC2Qbe4fxeL08uj6rUMZshz6YwlpUNtUTDGTf7lVn4g6GLakko5/Gk5ePobLn7v5OcMJR7hR/kPqQph8y/Hf83Mg8TX2id5OuwzqXj/Vf+QLVWkPI5jrXZsJHdJcQdvKK5BBJV0pon6xa4CDem084UkmUALFJAYB6Hjo7pNE/SIP3gEPuzn1uhnC1kyv3EJLHtH4jBI3nZnLv8Ybpw6VZQyA8pwtBe45JUBKsBIPX2WkLpqtzXFBk5PBKvw+b8EtpxzJkeWWWUDa+YNqPSqkSF6fgpI+mRfoMapivyK+U/6/H0kH81gUUdcrWx3ZsLdHC4GexrLFmWYXX2htcNCHoFvgslTOP2lV2CSiVTam2pX6M84zE7EJipAZ3CRoCrmryB3T20EodYZmBcWRixF2z1fdCER+sUc3DVZdRwlyQNE7mnUY4okx+08xTrzqJuaevS9Cpfvp3q0J155vbYiAoppgBzWo6W3GiJCm11hWgVXCQe3aZloEU7xE3JmfxzjPVcUNBS/PhUSRwSNJjGzuU8BcqkCSzbedLcdl+gT869CHkLSdgwxcRGN1h0Hdi5lRmFxS2gArkOv7WNGdo5/r+a1mWndJU18GrPyKR01wpuecBIL2Dz3qM=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
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
> On 27 Jun 2017, at 4:18 pm, Sebastien Loriot (GeometryFactory)
> <>
> wrote:
>
> Did you set the environment variable Qt5_DIR to point to the path to
> the directory containing the file Qt5Config.cmake from your Qt5
> installation?
>
> Sebastien.
>
> On 06/27/2017 07:40 AM, robinsv wrote:
>> I've downloaded and installed CGAL-4.10 on Mac OS 10.10.5
>>
>> I build and compiled with Qt5 and got the following libraries
>> ~/cgal-releases-CGAL-4.10/build/lib/ :
>>
>> libCGAL.13.0.0.dylib libCGAL_Core.13.0.0.dylib
>> libCGAL_ImageIO.13.0.0.dylib
>> libCGAL_Qt5.13.0.0.dylib
>> libCGAL.13.dylib libCGAL_Core.13.dylib
>> libCGAL_ImageIO.13.dylib
>> libCGAL_Qt5.13.dylib
>> libCGAL.dylib libCGAL_Core.dylib
>> libCGAL_ImageIO.dylib libCGAL_Qt5.dylib
>>
>> I set the CGAL_DIR=~/cgal-releases-CGAL-4.10/build
>>
>> I then tried to compile demos for Periodic_3_triangulation_3:
>> In the directory
>> ~/cgal-releases-CGAL-4.10/Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3
>> I ran
>>> cmake .
>>
>> and get the following
>>
>> -- libCGAL_Qt5 is missing the dependencies: Qt5OpenGL Qt5Svg Qt5 cannot be
>> configured.
>> -- NOTICE: The CGAL_Qt5 library was not configured.
>> -- Build type: Release
>> -- USING CXXFLAGS = ' -O3 -DNDEBUG'
>> -- USING EXEFLAGS = '
>> -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
>> '
>> -- Targetting Unix Makefiles
>> -- Using
>> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
>> compiler.
>> -- DARWIN_VERSION=14
>> -- Mac Leopard detected
>> -- Code taken from Git branch: n/a
>> -- Requested component: Qt5
>> -- Requested component: MPFR
>> -- Requested component: GMP
>> -- NOTICE: This demo requires qcollectiongenerator, Qt5, the CGAL Qt5
>> library, and will not be compiled.
>> -- Configuring done
>> -- Generating done
>> -- Build files have been written to:
>> /Users/vanessa/Software/cgal-releases-CGAL-4.10/Periodic_3_triangulation_3/demo/Periodic_3_triangulation_3
>>
>>
>> I don't understand why cmake can't find the CGAL_Qt5 library.
>>
>> Grateful for any advice you can give me.
>>
>> Kind regards,
>> Vanessa
>>
>>
>>
>>
>>
>> --
>> View this message in context:
>> http://cgal-discuss.949826.n4.nabble.com/problem-building-demos-with-Qt5-tp4662789.html
>> Sent from the cgal-discuss mailing list archive at Nabble.com.
>>
>
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss
>
>
- [cgal-discuss] problem building demos with Qt5, robinsv, 06/27/2017
- Re: [cgal-discuss] problem building demos with Qt5, Sebastien Loriot (GeometryFactory), 06/27/2017
- Re: [cgal-discuss] problem building demos with Qt5, Vanessa Robins, 06/27/2017
- Re: [cgal-discuss] problem building demos with Qt5, Sebastien Loriot (GeometryFactory), 06/27/2017
- Re: [cgal-discuss] problem building demos with Qt5, Sukhraj Singh, 06/27/2017
- Re: [cgal-discuss] problem building demos with Qt5, Monique Teillaud, 06/28/2017
- Re: [cgal-discuss] problem building demos with Qt5, Sebastien Loriot (GeometryFactory), 06/27/2017
- Re: [cgal-discuss] problem building demos with Qt5, Vanessa Robins, 06/27/2017
- Re: [cgal-discuss] problem building demos with Qt5, Sebastien Loriot (GeometryFactory), 06/27/2017
Archive powered by MHonArc 2.6.18.