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: Sukhraj Singh <>
  • To:
  • Subject: Re: [cgal-discuss] problem building demos with Qt5
  • Date: Tue, 27 Jun 2017 13:21:12 +0530
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=Pass ; spf=None
  • Ironport-phdr: 9a23:rnolNRzf+oxgJfHXCy+O+j09IxM/srCxBDY+r6Qd2usRIJqq85mqBkHD//Il1AaPBtSEraocw8Pt8InYEVQa5piAtH1QOLdtbDQizfssogo7HcSeAlf6JvO5JwYzHcBFSUM3tyrjaRsdF8nxfUDdrWOv5jAOBBr/KRB1JuPoEYLOksi7ze6/9pnRbglSmDaxfa55IQmrownWqsQYm5ZpJLwryhvOrHtIeuBWyn1tKFmOgRvy5dq+8YB6/ShItP0v68BPUaPhf6QlVrNYFygpM3o05MLwqxbOSxaE62YGXWUXlhpIBBXF7A3/U5zsvCb2qvZx1S+HNsLxUL40RC+i7791RxD0lCcJOTk58GTNhcxxiqJQvRatqhN7zoLRZoyeKfhwcb7Hfd4CR2VBUMZfWSJCDI2hcYUAE/EMMvxEo4TnvVYCsQeyCAuqCejyyjFInHj23agi3uo8DAHG3wwgH8gUv3TWsd77KaYSUea6zKnI0D7OaOhW2Tb76IjHchAtu+qMXa9zccrR00kgDQHFg06fqYzgJTyV1+ANv3KH4OpnUOKikmgqoBx/rDiow8cjkIjJhoQNx1DC7yp22506JdmmR0JhfdGkF55QuzmVN4txRcMiTGVotzggxrIavp67eTAGyJUhxx7FavyIaZKE4hz5VOqJLjZ3mHVld6+hiBqo60eg0vX8W8+p21hJtipIisfAumwJ2hDJ6cWKSuFx8lm81TuNzQzf9+BJLEQymKHGMZAu2KQwmYAWsUnbHi/5hkH2jKiOe0Uh4Oeo6uDnbqz7ppCGK4N4kw/+Prkvl8G7G+g4PQ8OX2+U+eS4yrLv51H2QLJPjvEuk6nZto7VJdgDq6KnHwNY1pwv5hW/Aju8ztgUgHsKIEhYdB+Gi4XlI1TOL+r5Dfe7jVSsijBrx/XeM736A5XNKHfDkLf7cbZm9k5cywozzcpF6JJWEbwBL/fzVVXwtNzcFBM2Lwu0w+P/BNVnyoweQX6PArOeMK7KrVCI6fggI+2VaIAIuTb9MOQq5+P1jX8iglIdZqmo3Z4PaH+iBPhmIkOZYWDtgtgbC2sKsBA+H6TXjkafW2tTe2qqRPB7oSoqDZqvS4bFXIGkxrKbmzyqG4VfIWFABFfLGnjhc8CIWuwHdTmJcfNmxzcLXLzkR4463gy1ryf7zaBmJ6za4H42r5XmgeNo5O3JnBN6zj1yAMTVh3qMSW502HgVRD8s1aJXrkl0y1PF2q991a8LXedP7u9EB19pfaXXyPZ3XoyjVw==

Just to inform.

I have made a step by step Installation guideline for CGAL and Polyhedron Demo.
Please see the link
https://sites.google.com/site/singhsukhraj/Home/tutorials
And download the pdf provided named: CGAL_Installation_Guide_V2.1.pdf 
You can compare your steps from this guide.



On Tue, Jun 27, 2017 at 12:41 PM, Sebastien Loriot (GeometryFactory) <> wrote:
Did you check that QGlviewer has been compiled using Qt5 and not Qt4 ?
You can run ldd on libqglviewer.so for example.

Sebastien.


On 06/27/2017 08:53 AM, Vanessa Robins wrote:
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






--
You are currently subscribed to cgal-discuss.
To unsubscribe or access the archives, go to
https://sympa.inria.fr/sympa/info/cgal-discuss





--
Sukhraj Singh
 



Archive powered by MHonArc 2.6.18.

Top of Page