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: "Nadir Shah" <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL Undefined Reference Errors
  • Date: Mon, 10 Mar 2008 10:10:31 +0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=u0199cZpV3KcfdItb0cuDXsiuZ0wngnIE2Uo1ImJNEm4EdsqbTXnijJ7QZiGxbMwjc4V4Ywx37baRtlj5aisCBM1Tz7c6bLnxyA3/APCH4xtj+OjBWGfn3QrGMbMkmY5sXnDfrYOFFvtRudKzfmYSwq4UxtGZtj9ApvUZcYREDc=

Dear Hi,
           I have the same problem, can you guide me how to correct it?

 
On 3/10/08, Yacin Nadji <> wrote:
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


 



--
Nadir Shah,
Lecturer,
Department of Computer Science,
COMSATS Institute of Information Technology,
Abbottabad, Pakistan.
+923325141810



Archive powered by MHonArc 2.6.16.

Top of Page