Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL compiling error undefined reference to `CGAL::assertion_fail

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL compiling error undefined reference to `CGAL::assertion_fail


Chronological Thread 
  • From: runningterp <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL compiling error undefined reference to `CGAL::assertion_fail
  • Date: Mon, 10 Oct 2016 13:50:46 -0700 (PDT)
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None ; spf=SoftFail ; spf=None
  • Ironport-phdr: 9a23:z4KvFBf958GWQfqNwmfmWFajlGMj4u6mDksu8pMizoh2WeGdxc6ybR7h7PlgxGXEQZ/co6odzbGH6ea7CSdZvcjJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/mjabpq9aKP1sArQH+SIs6FA+xowTVu5teqqpZAYF19CH0pGBVcf9d32JiKAHbtR/94sCt4MwrqHwI6Lpyv/NGSrjwKqQkUaRDXnNhKHEw/MSttB/ZTALJ6GFbSXQTihMPAg7L61bxUZ719yf7reFgwzLJAcqjRr89XXGu7rxgVQTzoCYBLT8wtm/N2eJqi6cOug+noR15zJLZepndYP5/Ya7bd9RcTmpHdslUXi1FRIi7at1cXKI6Ie9Eotyl9BM1phykCFz0CQ==

Marc Glisse wrote
> On Mon, 10 Oct 2016, runningterp wrote:
>
>> I just started to learn CGAL. After downloading CGAL-4.9 into my
>> Ubuntu14.04
>> on Virtualbox, I installed it following the
>> http://doc.cgal.org/latest/Manual/installation.html, then I wrote a.cpp
>> with
>> nothing but only include &lt;CGAL/convex_hull_2.h&gt; . I then used the
>> following
>> command to compile it:
>>
>> g++ -frounding-math -lCGAL -lCGAL_Core a.cpp
>
> The order of the arguments matters, this one is wrong.
>
> --
> Marc Glisse
>
> --
> You are currently subscribed to cgal-discuss.
> To unsubscribe or access the archives, go to
> https://sympa.inria.fr/sympa/info/cgal-discuss


Thank you very much.
I just tried: g++ -frounding-math -lCGAL -lCGAL_Core a.cpp , but I still
got the same error. Could you please explain in details?







--
View this message in context:
http://cgal-discuss.949826.n4.nabble.com/CGAL-compiling-error-undefined-reference-to-CGAL-assertion-fail-tp4662323p4662325.html
Sent from the cgal-discuss mailing list archive at Nabble.com.



Archive powered by MHonArc 2.6.18.

Top of Page