Subject: CGAL users discussion list
List archive
- From: Joachim Reichel <>
- To:
- Subject: Re: Antwort: Re: AW: Re: [cgal-discuss] install cgal 3.4 devian lenny
- Date: Thu, 12 Mar 2009 21:59:14 +0100
Hi,
> to remember:
> if I want to compile all examples togehter - which I do not want I have to
> write:
> cmake -DCGAL_CXX_FLAGS="-frounding-math" .
yes, (or add whatever options you want/need, for example -O2 -NDEBUG for
optimized builds).
> If I want to compile only one example i do not need to write
> -DCGAL_CXX_FLAGS="-frounding-math"
Correct.
> Now I want to use and try some features of CGAL in my existing project:
>
> after
>
> #include <CGAL/Point_3.h>
> #include <CGAL/Vector_3.h>
>
> and compiling with Netbeans IDE 6.5
> I get following message:
>
> build/Debug/GNU-Linux-x86/io/io.o: In function
> `Test_runtime_rounding_modes':
> /usr/include/CGAL/Interval_nt.h:153: undefined reference to
> `CGAL::assertion_fail(char const*, char const*, int, char const*)'
> /usr/include/CGAL/Interval_nt.h:155: undefined reference to
> `CGAL::assertion_fail(char const*, char const*, int, char const*)'
> /usr/include/CGAL/Interval_nt.h:153: undefined reference to
> `CGAL::assertion_fail(char const*, char const*, int, char const*)'
> /usr/include/CGAL/Interval_nt.h:155: undefined reference to
> `CGAL::assertion_fail(char const*, char const*, int, char const*)'
the problem is not the -frounding-mode flag. You have to link your
application with the CGAL library. At least with libCGAL.so ("-lCGAL"),
depending on the features you use, also with the other libCGAL*.so
libraries.
Joachim
- AW: Re: [cgal-discuss] install cgal 3.4 devian lenny, Martin . Schifko, 03/10/2009
- Re: AW: Re: [cgal-discuss] install cgal 3.4 devian lenny, Joachim Reichel, 03/10/2009
- Re: AW: Re: [cgal-discuss] install cgal 3.4 devian lenny, Fernando Cacciola, 03/11/2009
- Antwort: Re: AW: Re: [cgal-discuss] install cgal 3.4 devian lenny, Martin . Schifko, 03/12/2009
- Re: Antwort: Re: AW: Re: [cgal-discuss] install cgal 3.4 devian lenny, Joachim Reichel, 03/12/2009
- Antwort: Re: Antwort: Re: AW: Re: [cgal-discuss] install cgal 3.4 devian, Martin . Schifko, 03/16/2009
- Re: Re: Antwort: Re: AW: Re: [cgal-discuss] install cgal 3.4 devian, omar rodriguez, 03/16/2009
- Antwort: Re: Antwort: Re: AW: Re: [cgal-discuss] install cgal 3.4 devian, Martin . Schifko, 03/16/2009
- Re: Antwort: Re: AW: Re: [cgal-discuss] install cgal 3.4 devian lenny, Joachim Reichel, 03/12/2009
- Antwort: Re: AW: Re: [cgal-discuss] install cgal 3.4 devian lenny, Martin . Schifko, 03/12/2009
- Re: AW: Re: [cgal-discuss] install cgal 3.4 devian lenny, Fernando Cacciola, 03/11/2009
- Re: AW: Re: [cgal-discuss] install cgal 3.4 devian lenny, Joachim Reichel, 03/10/2009
Archive powered by MHonArc 2.6.16.