Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] an error: symbol(s) not found for architecture x86_64

Subject: CGAL users discussion list

List archive

[cgal-discuss] an error: symbol(s) not found for architecture x86_64


Chronological Thread 
  • From: Adam Hopkins <>
  • To:
  • Subject: [cgal-discuss] an error: symbol(s) not found for architecture x86_64
  • Date: Mon, 15 Sep 2014 13:45:18 +0200

Dear CGAL users:

I am trying to run a c++ code using CGAL triangulations on Eclipse Luna, but I have the following compilation error:

Undefined symbols for architecture x86_64:

  "CGAL::assertion_fail(char const*, char const*, int, char const*)", referenced from:

      CGAL::Interval_nt<true>::Test_runtime_rounding_modes::Test_runtime_rounding_modes() in main.o

      CGAL::Interval_nt<false>::Test_runtime_rounding_modes::Test_runtime_rounding_modes() in main.o

      Domain::SaveDelaunayTriangulation2VTK(char const*, CGAL::Delaunay_triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >&) in libBreastProjektLibrary.a(Domain.o)

      CGAL::Triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >::finite_vertices_begin() const in libBreastProjektLibrary.a(Domain.o)

      CGAL::Triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >::number_of_faces() const in libBreastProjektLibrary.a(Domain.o)

      CGAL::Triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >::finite_faces_begin() const in libBreastProjektLibrary.a(Domain.o)

      long CGAL::Delaunay_triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >::insert_with_info<std::__1::pair<CGAL::Point_2<CGAL::Epick>, PointInfo>, std::__1::__wrap_iter<std::__1::pair<CGAL::Point_2<CGAL::Epick>, PointInfo>*> >(std::__1::__wrap_iter<std::__1::pair<CGAL::Point_2<CGAL::Epick>, PointInfo>*>, std::__1::__wrap_iter<std::__1::pair<CGAL::Point_2<CGAL::Epick>, PointInfo>*>) in libBreastProjektLibrary.a(Domain.o)

      ...

  "CGAL::precondition_fail(char const*, char const*, int, char const*)", referenced from:

      Domain::SaveDelaunayTriangulation2VTK(char const*, CGAL::Delaunay_triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >&) in libBreastProjektLibrary.a(Domain.o)

      CGAL::Triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >::number_of_faces() const in libBreastProjektLibrary.a(Domain.o)

      CGAL::Triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >::insert(CGAL::Point_2<CGAL::Epick> const&, CGAL::Triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >::Locate_type, CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >, CGAL::Default>, false>, int) in libBreastProjektLibrary.a(Domain.o)

      CGAL::Delaunay_triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >::propagating_flip(CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >, CGAL::Default>, false> const&, int, int) in libBreastProjektLibrary.a(Domain.o)

      CGAL::Delaunay_triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >::non_recursive_propagating_flip(CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >, CGAL::Default>, false>, int) in libBreastProjektLibrary.a(Domain.o)

      CGAL::Triangulation_2<CGAL::Epick, CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >::flip(CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >, CGAL::Default>, false>, int) in libBreastProjektLibrary.a(Domain.o)

      CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> >::flip(CGAL::internal::CC_iterator<CGAL::Compact_container<CGAL::Triangulation_ds_face_base_2<CGAL::Triangulation_data_structure_2<CGAL::Triangulation_vertex_base_with_info_2<PointInfo, CGAL::Epick, CGAL::Triangulation_vertex_base_2<CGAL::Epick, CGAL::Triangulation_ds_vertex_base_2<void> > >, CGAL::Triangulation_ds_face_base_2<void> > >, CGAL::Default>, false>, int) in libBreastProjektLibrary.a(Domain.o)

      ...

  "___gmpn_add_n", referenced from:

      CGAL::Mpzf::aors(CGAL::Mpzf const&, CGAL::Mpzf const&, int) in libBreastProjektLibrary.a(Domain.o)

  "___gmpn_copyi", referenced from:

      std::__1::array<CGAL::Mpzf, 2ul> CGAL::make_array<CGAL::Mpzf>(CGAL::Mpzf const&, CGAL::Mpzf const&) in libBreastProjektLibrary.a(Domain.o)

      std::__1::array<CGAL::Mpzf, 2ul>::array(std::__1::array<CGAL::Mpzf, 2ul> const&) in libBreastProjektLibrary.a(Domain.o)

      CGAL::Mpzf::aors(CGAL::Mpzf const&, CGAL::Mpzf const&, int) in libBreastProjektLibrary.a(Domain.o)

  "___gmpn_mul", referenced from:

      CGAL::operator*(CGAL::Mpzf const&, CGAL::Mpzf const&) in libBreastProjektLibrary.a(Domain.o)

  "___gmpn_sub_n", referenced from:

      CGAL::Mpzf::aors(CGAL::Mpzf const&, CGAL::Mpzf const&, int) in libBreastProjektLibrary.a(Domain.o)

  "___gmpq_clear", referenced from:

      CGAL::Sign CGAL::Filtered_predicate<CGAL::CartesianKernelFunctors::Compare_x_2<CGAL::Simple_cartesian<CGAL::Gmpq> >, CGAL::CartesianKernelFunctors::Compare_x_2<CGAL::Simple_cartesian<CGAL::Interval_nt<false> > >, CGAL::Cartesian_converter<CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>, CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::NT_converter<double, CGAL::Gmpq> >, CGAL::Cartesian_converter<CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>, CGAL::Simple_cartesian<CGAL::Interval_nt<false> >, CGAL::NT_converter<double, CGAL::Interval_nt<false> > >, true>::operator()<CGAL::Point_2<CGAL::Epick>, CGAL::Point_2<CGAL::Epick> >(CGAL::Point_2<CGAL::Epick> const&, CGAL::Point_2<CGAL::Epick> const&) const in libBreastProjektLibrary.a(Domain.o)

      CGAL::Sign CGAL::Filtered_predicate<CGAL::CartesianKernelFunctors::Compare_y_2<CGAL::Simple_cartesian<CGAL::Gmpq> >, CGAL::CartesianKernelFunctors::Compare_y_2<CGAL::Simple_cartesian<CGAL::Interval_nt<false> > >, CGAL::Cartesian_converter<CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>, CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::NT_converter<double, CGAL::Gmpq> >, CGAL::Cartesian_converter<CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>, CGAL::Simple_cartesian<CGAL::Interval_nt<false> >, CGAL::NT_converter<double, CGAL::Interval_nt<false> > >, true>::operator()<CGAL::Point_2<CGAL::Epick>, CGAL::Point_2<CGAL::Epick> >(CGAL::Point_2<CGAL::Epick> const&, CGAL::Point_2<CGAL::Epick> const&) const in libBreastProjektLibrary.a(Domain.o)

      CGAL::Cartesian_converter<CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>, CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::NT_converter<double, CGAL::Gmpq> >::operator()(CGAL::Point_2<CGAL::Epick> const&) const in libBreastProjektLibrary.a(Domain.o)

      CGAL::Gmpq::Gmpq(double) in libBreastProjektLibrary.a(Domain.o)

      CGAL::Point_2<CGAL::Simple_cartesian<CGAL::Gmpq> >::Point_2<CGAL::Gmpq, CGAL::Gmpq>(CGAL::Gmpq const&, CGAL::Gmpq const&) in libBreastProjektLibrary.a(Domain.o)

      CGAL::Vector_2<CGAL::Simple_cartesian<CGAL::Gmpq> >::Vector_2<CGAL::Gmpq, CGAL::Gmpq>(CGAL::Gmpq const&, CGAL::Gmpq const&) in libBreastProjektLibrary.a(Domain.o)

      std::__1::array<CGAL::Gmpq, 2ul> CGAL::make_array<CGAL::Gmpq>(CGAL::Gmpq const&, CGAL::Gmpq const&) in libBreastProjektLibrary.a(Domain.o)

      ...

  "___gmpq_cmp", referenced from:

      CGAL::Sign CGAL::Filtered_predicate<CGAL::CartesianKernelFunctors::Compare_x_2<CGAL::Simple_cartesian<CGAL::Gmpq> >, CGAL::CartesianKernelFunctors::Compare_x_2<CGAL::Simple_cartesian<CGAL::Interval_nt<false> > >, CGAL::Cartesian_converter<CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>, CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::NT_converter<double, CGAL::Gmpq> >, CGAL::Cartesian_converter<CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>, CGAL::Simple_cartesian<CGAL::Interval_nt<false> >, CGAL::NT_converter<double, CGAL::Interval_nt<false> > >, true>::operator()<CGAL::Point_2<CGAL::Epick>, CGAL::Point_2<CGAL::Epick> >(CGAL::Point_2<CGAL::Epick> const&, CGAL::Point_2<CGAL::Epick> const&) const in libBreastProjektLibrary.a(Domain.o)

      CGAL::Sign CGAL::Filtered_predicate<CGAL::CartesianKernelFunctors::Compare_y_2<CGAL::Simple_cartesian<CGAL::Gmpq> >, CGAL::CartesianKernelFunctors::Compare_y_2<CGAL::Simple_cartesian<CGAL::Interval_nt<false> > >, CGAL::Cartesian_converter<CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>, CGAL::Simple_cartesian<CGAL::Gmpq>, CGAL::NT_converter<double, CGAL::Gmpq> >, CGAL::Cartesian_converter<CGAL::Type_equality_wrapper<CGAL::Cartesian_base_no_ref_count<double, CGAL::Epick>, CGAL::Epick>, CGAL::Simple_cartesian<CGAL::Interval_nt<false> >, CGAL::NT_converter<double, CGAL::Interval_nt<false> > >, true>::operator()<CGAL::Point_2<CGAL::Epick>, CGAL::Point_2<CGAL::Epick> >(CGAL::Point_2<CGAL::Epick> const&, CGAL::Point_2<CGAL::Epick> const&) const in libBreastProjektLibrary.a(Domain.o)

  "___gmpq_init", referenced from:

      CGAL::Gmpq::Gmpq(double) in libBreastProjektLibrary.a(Domain.o)

  "___gmpq_set_d", referenced from:

      CGAL::Gmpq::Gmpq(double) in libBreastProjektLibrary.a(Domain.o)

ld: symbol(s) not found for architecture x86_64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

make: *** [BreastProjektMain] Error 1


Please, can someone help me? I will appreciate a lot your help

thank you in advance and all the best

adam




Archive powered by MHonArc 2.6.18.

Top of Page