Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain


Chronological Thread 
  • From: Marc Glisse <>
  • To:
  • Subject: Re: [cgal-discuss] Compiling CGAL on the BG/Q with an IBM XL C/C++ toolchain
  • Date: Fri, 26 Aug 2016 17:01:25 +0200 (CEST)

On Fri, 26 Aug 2016, lsteytler wrote:

I am trying to get CGAL 4.8.1 working on ALCF Mira with the IBM XL compilers
and so far I have been able to build CGAL, but I am having trouble compiling
one of the examples. I am able to compile some of the examples, but the one
in
${CGAL_DIR)/Spatial_searching/examples/Spatial_searching/nearest_neighbor_searching.cpp
is producing errors:
[...]
"/home/steytler/GOMA-6.0-Mira/CGAL/include/CGAL/Euclidean_distance.h", line
58.52: 1540-1109 (S) The use of undefined class
"CGAL::Search_traits_2<CGAL::Simple_cartesian&lt;double> >" is not valid.

Looks like a bug in the compiler to me. If you split the problematic
line into

Euclidean_distance():traits() {}
Euclidean_distance(const SearchTraits& traits_):traits(traits_) {}

it compiles. If you get a chance, it would be nice to report this issue
to IBM.

--
Marc Glisse



Archive powered by MHonArc 2.6.18.

Top of Page