Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Bug report with Boost 1.38 on Darwin/Mac OS X 10.5

Subject: CGAL users discussion list

List archive

[cgal-discuss] Bug report with Boost 1.38 on Darwin/Mac OS X 10.5


Chronological Thread 
  • From: Denis Rosset <>
  • To:
  • Subject: [cgal-discuss] Bug report with Boost 1.38 on Darwin/Mac OS X 10.5
  • Date: Mon, 23 Feb 2009 03:33:56 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding :mime-version:subject:date:x-mailer; b=aKqrtZueuJkY0/pwPN4zaBk1+W7GUn5aatvPwNoqVHKVYDJXu13OpBeOukVZJdlbp7 i81C3Fp65DE8y5h4WfBKvSz5jm+Ps26pqZ23dENxVBMrcR//cW00gCfy1mN8uu7oby6U vjegKL8OQzsEJ1yy1xjMLdGtkgO3nK+hVEUIg=

It seems that in the latest release 1.38 of Boost on Darwin, they mangle now the compiler name on the library files.

CGAL CMake was not able to find Boost until I changed :

IF (UNIX)
IF (APPLE)
# Due to a quirk in Boost.Build, there is no compiler name
# mangled into library names on Mac OS X/Darwin.
SET (_boost_COMPILER "")
ELSE (APPLE)

to

IF (UNIX)
IF (APPLE)
# Due to a quirk in Boost.Build, there is no compiler name
# mangled into library names on Mac OS X/Darwin.
SET (_boost_COMPILER "-xgcc40")
ELSE (APPLE)

The compiler is the stock Apple compiler, Boost 1.38 was compiled from source, and CMake is 2.6-patch2.

As I'm a first time user of CGAL and CMake, I don't know of a more robust fix.

Thanks for investigating this issue in future releases !

Denis Rosset


  • [cgal-discuss] Bug report with Boost 1.38 on Darwin/Mac OS X 10.5, Denis Rosset, 02/23/2009

Archive powered by MHonArc 2.6.16.

Top of Page