Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] compiler error - undefined reference to `CGAL::assertion_fail(char const*, char const*, int, char const*)'

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] compiler error - undefined reference to `CGAL::assertion_fail(char const*, char const*, int, char const*)'


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] compiler error - undefined reference to `CGAL::assertion_fail(char const*, char const*, int, char const*)'
  • Date: Fri, 4 Dec 2009 15:01:54 +0100
  • Organization: GeometryFactory

On Friday 04 December 2009 14:43:35 Ramin H wrote:
> Matthew,
> Thank you for your help. I also followed this thread
> (https://lists-sop.inria.fr/sympa/arc/cgal-discuss/2009-06/msg00014.html)
> where you asked a similar question.
>
> I have compiled CGAL3.5 myself. (Ubuntu does not have a binary for
> this version and I need the latest version for some features).
> Location of CGAL is in my home directory /home/ramin/CGAL-3.5
>
> This is how the .pro file looks like:
> ---- begin: nef.pro ----
> SOURCES = main.cpp
> QT += opengl
> QT += xml
> INCLUDEPATH += "/usr/include"
> INCLUDEPATH += "/home/ramin/CGAL-3.5/include"
> LIBS += -L"/usr/lib"
> LIBS += -L"/home/ramin/CGAL-3.5/lib"
> ---- end: nef.pro

You probably need the following:

LIBS += -lCGAL -lCGAL_Core

--
Laurent Rineau, PhD
R&D Engineer at GeometryFactory http://www.geometryfactory.com/
Release Manager of the CGAL Project http://www.cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page