Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Periodic_3_triangulation example linking errors on MacOS 10.9 with Clang 5

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Periodic_3_triangulation example linking errors on MacOS 10.9 with Clang 5


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Periodic_3_triangulation example linking errors on MacOS 10.9 with Clang 5
  • Date: Thu, 14 Nov 2013 12:34:45 +0100
  • Organization: GeometryFactory

Le Wednesday 13 November 2013 21:36:23 Adam Getchell a écrit :
> However, compiling/linking generates lots of errors. Here’s my environment:
>
> ┌─[getchell][Hapkido][±][master ✓][~/CDT-plusplus]
> └─▪ clang -v
> Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
> Target: x86_64-apple-darwin13.0.0
> Thread model: posix
[...]
> But the code for tds.cpp generates a similar error:
>
> http://pastebin.com/1SRNu5GL

Hi,
So far, Apple/clang-500 has not been tested by the CGAL project, but I doubt
there would be any problem.

The linkage error is:
> Undefined symbols for architecture x86_64:
> "CGAL::is_ascii(std::__1::basic_ios<char, std::__1::char_traits<char>
> >&)",
> referenced from:
[...]

It means that the CGAL libraries symbols are not found.

Can you run please `make VERBOSE=1` and copy to pastebin?

My guess is that the CGAL libraries are linked, but for some reason are
binary
incompatible. Have you also compiled the CGAL libraries with the same
compiler? Or do they come from something like "macports", or "brew"? Or did
you compile them with a different version of the compiler (for example before
you upgraded to Darwin 13)?

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/




Archive powered by MHonArc 2.6.18.

Top of Page