Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] error in program on linux

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] error in program on linux


Chronological Thread 
  • From: Joachim Reichel <>
  • To:
  • Subject: Re: [cgal-discuss] error in program on linux
  • Date: Thu, 15 Apr 2010 00:29:18 +0200

Hi,

mahdavi wrote:
> hi,
> I install cgal on linux redhat ,I run my program and type g++ main.cc
> -lcgal ,following error is occur:

That should be -lCGAL.

> ///////////////////////////////////////////////////////////////
> thesis.cc:32:16: error: CGAL: No such file or directory

Unfortunately, my crystal ball does not reveal the contents of your thesis.cc
file...

> In file included from /usr/local/include/CGAL/basic.h:28,
> from /usr/local/include/CGAL/PDB/basic.h:3,
> from /usr/local/include/CGAL/PDB/PDB.h:24,
> from thesis.cc:33:
> /usr/local/include/CGAL/config.h:37:28: error: boost/config.hpp: No such
> file or directory

Apparently, your boost installation is not in a standard directory. You need
to
pass the include directory on the command line with -I...

Joachim

> [...]




Archive powered by MHonArc 2.6.16.

Top of Page