Skip to Content.
Sympa Menu

cgal-discuss - [cgal-discuss] Compile problem

Subject: CGAL users discussion list

List archive

[cgal-discuss] Compile problem


Chronological Thread 
  • From: <>
  • To:
  • Subject: [cgal-discuss] Compile problem
  • Date: Fri, 19 Sep 2008 22:11:43 +0200 (CEST)

Hello all,

I'm having installing CGAL on the linux Cluster I run my simulation on.
The problem I'm having is that the install script does not recognize were I've
installed my boost file.

In the interactive interface I go in the Boost menu and setup both the INC and
DIR path correctly, but when I test the configuration I get the following
error:

Testing for BOOST ...
****************************************************************
** **
** Compilation failed **
** ================== **
** **
** You will be shown a log now ... **
** Please press <ENTER> to continue. **
****************************************************************
Compiler call:
--------------
icc -mp
-I/work/00981/pederzan/CGAL-3.3.1/include/CGAL/config/x86-64_Linux-2.6_icc-9.1

-I/work/00981/pederzan/boost/install/include/boost-1_36/boost/
-I/work/00981/pederzan/boost/install/include/boost-1_36/boost/ -c
'./tmp_test.cpp'
Got the following error messages:
---------------------------------
./tmp_test.cpp(27): catastrophic error: could not open source file
"boost/version.hpp"
#include <boost/version.hpp>
^
compilation aborted for ./tmp_test.cpp (code 4)

What I did next is that I changed the include statement in test_BOOST.cpp

from #include <boost/version.hpp>

to #include
</work/00981/pederzan/boost/install/include/boost-1_36/boost/version.hpp>

At this point I no longer get the compilation error for temp_test.cpp, but for
tuple.hpp

I guess I could go and change the include statement in tuple.hpp as well, but
I
don't think this is the correct way to go.
Am I doing something wrong? What?

Thank you for your help

Jean-Noel Pederzani



Archive powered by MHonArc 2.6.16.

Top of Page