Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Compile CGAL with clang++-3.8 and libc++

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Compile CGAL with clang++-3.8 and libc++


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Compile CGAL with clang++-3.8 and libc++
  • Date: Sun, 29 Jan 2017 18:43:08 +0100 (CET)

On Sun, 29 Jan 2017, Oren Shpigel wrote:

Hi,
I'm trying to use CGAL with clang++-3.8 and libc++.
I compiled boost, gmp and mpfr, and then compiled CGAL with them (all with
clang++-3.8 and libc++).
But when linking my own program with CGAL I get the following error:

//usr/local/lib/libCGAL.so: undefined reference to
`std::__1::basic_istream<char, std::__1::char_traits<char>
::operator>>(std::__1::basic_istream<char, std::__1::char_traits<char> >&
(*)(std::__1::basic_istream<char, std::__1::char_traits<char> >&))'

In the CGAL website I saw that CGAL supports clang 3.5 and 3.6.2.
Do I get this error because clang 3.8 isn't supported?

No.

What has changed? Is there something I can do to use it?
Or any other idea about this linker error?

Did you link you program with libc++? It usually helps answering questions when we can actually see the command producing the error message, and the full message...

--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page