Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL Undefined Reference Errors

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL Undefined Reference Errors


Chronological Thread 
  • From: Yacin Nadji <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL Undefined Reference Errors
  • Date: Sun, 9 Mar 2008 14:37:30 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:content-type:message-id:from:subject:date:to:x-mailer; b=xWiRLGlRYsMfn/3Um5Tlw5CdnOx6TAmSL10sCu229oszmdvEfQRneP7r81PoFwV0k7T9Aonj4GFZkkyl++MxdbV4+LP7OOUGu64yGH5vcEi7TruqLAb5jGNU0wDkAl+8+X1MlXuvFkawC74cf5VLBCDo4hYvL8HGOVmBHoWsBZI=

Yeah, it was just a silly issue of me not linking the libraries. Got it all figured out.

Thanks

Yacin

On Mar 9, 2008, at 7:30 AM, Ophir Setter wrote:

Do you link your code with CGAL libraries?

Ophir

On Thu, Mar 6, 2008 at 8:25 AM, Yacin Nadji <> wrote:
Hello!

I've been placed in charge of a program which uses CGAL to do DNA sequencing. I've had issues getting it to compile, and I'm quite close except I'm getting the errors below:

plotview.o: In function `Min_circle_2<Point*>':
/usr/include/CGAL/Min_circle_2.h:326: undefined reference to `CGAL::default_random'
plotview.o: In function `void CGAL::circumcenter_translateC2<float>(float const&, float const&, float const&, float const&, float&, float&)':
/usr/include/CGAL/constructions/kernel_ftC2.h:60: undefined reference to `CGAL::assertion_fail(char const*, char const*, int, char const*)'
plotview.o: In function `CGAL::Min_circle_2<CGAL::Min_circle_2_traits_2<CGAL::Cartesian<float> > >::compute_circle()':
/usr/include/CGAL/Min_circle_2.h:263: undefined reference to `CGAL::assertion_fail(char const*, char const*, int, char const*)'
collect2: ld returned 1 exit status
make[3]: *** [wcurve] Error 1
make[3]: Leaving directory `/home/ynadji/wcurve/wcurve'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ynadji/wcurve/wcurve'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ynadji/wcurve'
make: *** [all] Error 2

Any ideas?

Yacin





Archive powered by MHonArc 2.6.16.

Top of Page