Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL3.9 with QT4.8.0 on MAC Lion

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL3.9 with QT4.8.0 on MAC Lion


Chronological Thread 
  • From: Roger <>
  • To:
  • Subject: [cgal-discuss] CGAL3.9 with QT4.8.0 on MAC Lion
  • Date: Wed, 18 Jan 2012 11:48:42 -0600

Hello everybody

Has anyone successfully compiled the examples that require QT for the CGAL3.9 on MAC OXS 10.7?

My current status is:

1. CMAKE and BOOST installed through MACPORTS, boots works fine

2. CGAL 3.9 originally can't be installed smoothly either from macport or manual configuring and making see below

http://cgal-discuss.949826.n4.nabble.com/PATCH-prevent-Qt-s-moc-from-choking-on-BOOST-JOIN-td4081602.html

but after applying the patch for the two header files, the installation went without a hitch.

Since I can't find the CGAL examples and demos folders with the macports install method, I directly downloaded the tarball and build everything myself.

The test example is the one from cgal official manual: CGAL-3.9/examples/Straight_skeleton_2;

 it worked fine because output is eps file, no QT or GEOMVIEW needed.

3. There I got stuck with any other examples or demos that requrie QT libraries. Of course I tried to download it, and I followed the link below
http://doc.qt.nokia.com/4.8-snapshot/install-mac.html

4. The problem is I can't even compile the 101 examples of qmake (I assume CGAL needs qmake) here. http://doc.qt.nokia.com/4.7-snapshot/qmake-tutorial.html
after following the steps, what I get is a hello.app that is incompatible with my MAC version: lion.
Then I realize on this download page http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x
the libraries are for 10.5, 10.6 rather than 10.7 lion.

What should one do to make the examples and demos of CGAL and QT work on mac lion? 

Any comment is greatly appreciated.

Roger



Archive powered by MHonArc 2.6.16.

Top of Page