Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Re: There are many errors in threetuple.h

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Re: There are many errors in threetuple.h


Chronological Thread 
  • From: "Laurent Rineau (CGAL/GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] Re: There are many errors in threetuple.h
  • Date: Wed, 12 Dec 2012 12:49:19 +0100
  • Organization: GeometryFactory

Le mercredi 12 décembre 2012 03:21:28 Cynthia a écrit :
> I'm compiling a program in the CGAP package, such as function_objects_3.h.
> The errors appear in the original codes and I don't know how to fix it.
> Would you help me to make it right?

"function_objects_3.h" is not a program. That is a C++ header. You cannot
expect that a run of the compiler on it does anything useful, or even a
compilation without error. Try to compile programs in the examples/ sub-
directories of the CGAL distribution, instead.

What is more, that header "function_objects_3.h" does not belong to the CGAL
distribution! The first lines of the file say "This file is a part of the
Conformal Geometric Algebra Packge for CGAL" (sic), and that package seems to
be the property of the Utrecht University. You must have got it from a
professor of the Utrecht University. Please discuss your compilation issues
with that professor. You are probably a student of the UU, and it seems you
need to learn the basics of the compilation of C++ programs:
- what is the precompiler,
- what is a header,
- what is a C++ compilation unit,
- how to use basic preprocessor flags such as "-I",
- how to use a compiler,
- what does it mean to "link" C/C++ binaries to build an executable,
- and then:
- how to configure and build CGAL libraries,
- how to compile and execute a CGAL program.

Refer to your local teachers to get all those answers. The CGAL users mailing
list should be used only for the last two steps.

What is more, if you try to compile and use some code from the Utrecht
University, I suggest you try to get help from the Utrecht University.

I hope I am not too rude. I am certain that is best for you and for the CGAL
users mailing list if you search for help at the university first.

--
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.18.

Top of Page