Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] disabling Core_Diagnostics

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] disabling Core_Diagnostics


Chronological Thread 
  • From: "Laurent Rineau (GeometryFactory)" <>
  • To:
  • Subject: Re: [cgal-discuss] disabling Core_Diagnostics
  • Date: Fri, 5 Aug 2011 11:22:40 +0200
  • Organization: GeometryFactory

On vendredi 05 août 2011 10:06:18 Cody Rose wrote:
> Hello,
>
> Is there any way to disable the creation of the Core_Diagnostics file in
> CGAL programs using Core? Requiring my program to have write access to
> the directory it's running from isn't feasible.

If I were you, I would comment the following lines:

if (!outFile) {
// perror("CORE ERROR: cannot open Core Diagnostics file");
std::cerr << "CORE ERROR: can't open Core Diagnostics file"<<std::endl;
std::exit(1); //Note: do not call abort()
}

in core_error(...), line 192 of src/CGALCore/CoreAux.cpp, and recompile CGAL
libraries.

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