Skip to Content.
Sympa Menu

cgal-discuss - Multiple definition problem

Subject: CGAL users discussion list

List archive

Multiple definition problem


Chronological Thread 
  • From: Ambroise Krebs <>
  • To:
  • Subject: Multiple definition problem
  • Date: Tue, 09 Jan 2007 00:42:20 +0100

Hi,
Well, I write here as I have a problem.
I was using CGAL-3.1 with Linux Ubuntu Hoary and everything was fine.
I upgraded to Linux Ubuntu Dapper and the compiler was not recognized for
CGAL-3.1, so I changed it for CGAL-3.2.1.
I could install it without any problem, but when I compile a project that
uses it (and that worked perfectly with CGAL-3.1), I get the following error:

.//libgeom.a(GenericObject.o): In function `CGAL::operator<<(CGAL::VRML_2_ostream&,
char const*)':GenericObject.cc:(.text+0x0): multiple definition of
`CGAL::operator<<(CGAL::VRML_2_ostream&, char const*)'
geometry_test.o:geometry_test.cc:(.text+0x0): first defined here
.//libgeom.a(GenericObject.o): In function `CGAL::operator<<(CGAL::VRML_2_ostream&, double
const&)':GenericObject.cc:(.text+0x28): multiple definition of
`CGAL::operator<<(CGAL::VRML_2_ostream&, double const&)'
geometry_test.o:geometry_test.cc:(.text+0x28): first defined here

I really don't know what is wrong, did anybody else met this kind of problem
before?
Any help would be appriciated.
Best regards,
Ambroise




Archive powered by MHonArc 2.6.16.

Top of Page