Skip to Content.
Sympa Menu

cgal-discuss - Re:[cgal-discuss] Howto create a power diagram ..? (Error with includes)

Subject: CGAL users discussion list

List archive

Re:[cgal-discuss] Howto create a power diagram ..? (Error with includes)


Chronological Thread 
  • From: "Thomas Zangl - Home" <>
  • To: <>
  • Subject: Re:[cgal-discuss] Howto create a power diagram ..? (Error with includes)
  • Date: Thu, 24 May 2007 10:28:41 +0200


Am Wed, 23 May 2007 16:47:10 +0200, schrieb "Thomas Zangl - Home"
<>:

Hi!

>and I get the following compile error:
>$ make
>/usr/bin/g++ -I../../include -Wall
>'-I/home/TZi/CGAL-3.2.1/include/CGAL/config/i686_CYGWINNT-5.1_g++-3.4.4'
>'-I/home/TZi/CGAL-3.2.1/include' -I/usr/include/boost-1_33_1
>-I/usr/X11R6/include -I/usr/include/qt3 -c main.cpp
>In file included from
>/home/TZi/CGAL-3.2.1/include/CGAL/Regular_triangulation_adaptation_policies_2.h:24,
> from main.cpp:8:
>/home/TZi/CGAL-3.2.1/include/CGAL/Voronoi_diagram_2/Regular_triangulation_degeneracy_testers.h:37:
> error: expected class-name before '{' token
>make: *** [main.o] Error 1

Compile error fixed. I just added an include line in
Regular_triangulation_degeneracy_testers.h
:
#include <CGAL/Voronoi_diagram_2/Identity_rejectors.h>

(Because gcc cannot find the class "Rejector_base" as in:
template<class DG>
class Regular_triangulation_edge_tester_2 : public Rejector_base {
...

Best regards,
--
----------------------------------------------------------------
,yours Thomas Zangl, Bakk.rer.soc.oec. -

-
- Freelancer - IT Consulting & Software Development -
- Student of Software Development-Economy (Master) -



Archive powered by MHonArc 2.6.16.

Top of Page