Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] CGAL::Parallel_tag not compatible with CGAL::Triangulation_vertex_base_with_info_3

Subject: CGAL users discussion list

List archive

[cgal-discuss] CGAL::Parallel_tag not compatible with CGAL::Triangulation_vertex_base_with_info_3


Chronological Thread 
  • From: Adam Getchell <>
  • To:
  • Subject: [cgal-discuss] CGAL::Parallel_tag not compatible with CGAL::Triangulation_vertex_base_with_info_3
  • Date: Sun, 1 Feb 2015 23:56:41 -0800

Hello all,

CGAL::Parallel_tag doesn't seem to work with CGAL::Triangulation_vertex_base_with_info_3.

Here's the snippet where it's declared:

typedef CGAL::Exact_predicates_inexact_constructions_kernel K;
// Used so that each timeslice is assigned an integer
// typedef CGAL::Triangulation_3<K>  Triangulation;
// typedef CGAL::Triangulation_vertex_base_with_info_3<unsigned, K> Vb;
// typedef CGAL::Triangulation_cell_base_with_info_3<unsigned, K> Cb;
// typedef CGAL::Triangulation_data_structure_3<Vb, Cb> Tds;
// Parallel insertion capable with integer timeslices
typedef CGAL::Triangulation_data_structure_3<
  CGAL::Triangulation_vertex_base_with_info_3<unsigned, K>,
  CGAL::Triangulation_cell_base_with_info_3<unsigned, K>,
  CGAL::Parallel_tag>                           Tds;
typedef CGAL::Delaunay_triangulation_3<K, Tds>  Delaunay;

And here's a snippet of the results:

[11/12] Linking CXX executable cdt

FAILED: : && /usr/bin/c++   -O3 -DNDEBUG -Wl,-search_paths_first -Wl,-headerpad_max_install_names -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib CMakeFiles/cdt.dir/src/cdt.cpp.o CMakeFiles/cdt.dir/src/docopt/docopt.cpp.o  -o cdt -L/usr/local/Cellar/cgal/4.5.1/lib /usr/local/lib/libmpfr.dylib /usr/local/lib/libgmp.dylib /usr/local/Cellar/cgal/4.5.1/lib/libCGAL_Core.dylib /usr/local/Cellar/cgal/4.5.1/lib/libCGAL.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_system-mt.dylib /usr/local/Cellar/cgal/4.5.1/lib/libCGAL_Core.dylib /usr/local/Cellar/cgal/4.5.1/lib/libCGAL.dylib /usr/local/lib/libboost_thread-mt.dylib /usr/local/lib/libboost_system-mt.dylib -Wl,-rpath,/usr/local/Cellar/cgal/4.5.1/lib && :

Undefined symbols for architecture x86_64:

  "tbb::queuing_mutex::scoped_lock::acquire(tbb::queuing_mutex&)", referenced from:

      CGAL::Concurrent_compact_container<CGAL::Triangulation_cell_base_with_info_3<unsigned int, CGAL::Epick, CGAL::Triangulation_cell_base_3<CGAL::Epick, CGAL::Triangulation_ds_cell_base_3<CGAL::Triangulation_data_structure_3<CGAL::Triangulation_vertex_base_with_info_3


The full code listing is here:


And the full error log may be found here:


If the CGAL::Parallel_tag is removed, the errors go away.

Thanks for any pointers!
--
Adam Getchell
"Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu



Archive powered by MHonArc 2.6.18.

Top of Page