Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Linker errors osx Random()

Subject: CGAL users discussion list

List archive

[cgal-discuss] Linker errors osx Random()


Chronological Thread 
  • From: Martin Weier <>
  • To:
  • Subject: [cgal-discuss] Linker errors osx Random()
  • Date: Tue, 22 Sep 2009 14:22:29 +0200

Hi,

I am trying to use the apollonius graph for one of my projects. Currently I am developing on osx
and xcode. I started by installing CGAL-3.5. For this i installed all dependencies using macports.
Now CGAL compiles with no errors (I am using gcc 4.0.1 from which I heard has some troubles with
compiler optimizations and CGAL).
However, when I try to compile something with xcode, I get the following linker error:

"CGAL::Random::Random()", referenced from:
CGAL ::Triangulation_2 < CGAL ::ApolloniusGraph_2 ::Apollonius_graph_traits_wrapper_2 < CGAL ::Apollonius_graph_traits_2<CGAL::Simple_cartesian<CGAL::MP_Float>, CGAL::Integral_domain_without_division_tag> >, CGAL ::Triangulation_data_structure_2 < CGAL ::Apollonius_graph_vertex_base_2 < CGAL ::Apollonius_graph_traits_2<CGAL::Simple_cartesian<CGAL::MP_Float>, CGAL::Integral_domain_without_division_tag>, true, CGAL::Triangulation_ds_vertex_base_2<void> >, CGAL ::Triangulation_face_base_2 < CGAL ::Apollonius_graph_traits_2<CGAL::Simple_cartesian<CGAL::MP_Float>, CGAL::Integral_domain_without_division_tag>, CGAL::Triangulation_ds_face_base_2<void> > > > ::Triangulation_2 (CGAL ::ApolloniusGraph_2 ::Apollonius_graph_traits_wrapper_2 < CGAL ::Apollonius_graph_traits_2<CGAL::Simple_cartesian<CGAL::MP_Float>, CGAL::Integral_domain_without_division_tag> > const&)in main.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Does anybody have any ideas on what goes wrong and how to fix it. Am I missing some linker options? By the way the apollonious graph
examples compile fine. Can anybody help me to set up a working xcode project? I would appreciate your help.

- Martin





Archive powered by MHonArc 2.6.16.

Top of Page