Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Re: Compiling CGAL with clang++ -std=c++11

Subject: CGAL users discussion list

List archive

[cgal-discuss] Re: Compiling CGAL with clang++ -std=c++11


Chronological Thread 
  • From: jdumas <>
  • To:
  • Subject: [cgal-discuss] Re: Compiling CGAL with clang++ -std=c++11
  • Date: Mon, 6 May 2013 07:46:23 -0700 (PDT)

Wait, how can I check the value of the macro _LIBCPP_VERSION inside the c++
code?

Anyhow, I compiled libc++ from the svn repo and installed it on my system. I
can compile stuff using clang++ -std=c++11 -stdlib=libc++ without any
issues. However when I add the line Add_definitions(-stdlib=libc++) to my
CMakeLists.txt and try to compile the examples, I get tons of undefined
reference to `std::__1::cout' and whatnot at the linkage step. The examples
under Linear_cell_complex still do not compile (errors appear before
linkage).

Have you tried to compile those examples as I did? You should be able to get
the same error messages as I did quite easily, and make sense out of it more
quickly than I would.



--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/Compiling-CGAL-with-clang-std-c-11-tp4657220p4657376.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page