Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Error building CGAL 3.5 on AIX 6.1 with VisualAge 10.1

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Error building CGAL 3.5 on AIX 6.1 with VisualAge 10.1


Chronological Thread 
  • From: Sylvain Pion <>
  • To:
  • Subject: Re: [cgal-discuss] Error building CGAL 3.5 on AIX 6.1 with VisualAge 10.1
  • Date: Mon, 12 Oct 2009 13:37:25 +0200
  • Organization: INRIA

Federico Ficarelli wrote:
Hello to all CGAL Users.

I'm writing to report a compilation error occurred while building CGAL 3.5 on AIX 6.1 (Power 6) using IBM VisualAge compiler (xlC_r) version 10.1.

I'm trying to build them using cmake with the following line:

cmake -DCMAKE_INSTALL_PREFIX=$CINECA_SCRATCH/cgal-aix61 -DBUILD_SHARED_LIBS=FALSE -DCMAKE_C_COMPILER=$(which xlc_r) -DCMAKE_CXX_COMPILER=$(which xlC_r) -DBOOST_ROOT="$BOOST_LIB/../" -DZLIB_INCLUDE_DIR="$ZLIB_INCLUDE" -DGMP_INCLUDE_DIR="$GMP_INCLUDE" -DGMP_LIBRARIES="$GMP_LIB/libgmp.a" -DMPFR_INCLUDE_DIR="$MPFR_INCLUDE" -DMPFR_LIBRARIES="$MPFR_LIB/libmpfr.a" -DQT_QMAKE_EXECUTABLE=$(which qmake) .

whose output is attached below at the end of the message.

When I run make (GNU make 3.81), the output I get is:

[ 33%] Building CXX object src/CGAL/CMakeFiles/CGAL.dir/all_files.o
/usr/vacpp/bin/xlC_r: 1501-245 (W) Warning: Hard ulimit has been reduced to less than RLIM_INFINITY. There may not be enough space to complete the compilation.
"/gpfs/scratch/usercin/cin8291a/cgal/CGAL-3.5/include/CGAL/FPU.h", line 44.12: 1540-0836 (S) The #include file <fpu_control.h> is not found.
make[2]: *** [src/CGAL/CMakeFiles/CGAL.dir/all_files.o] Error 1
make[1]: *** [src/CGAL/CMakeFiles/CGAL.dir/all] Error 2
make: *** [all] Error 2

Actually, there is no fpu_control.h anywhere in the system.

Can you try to replace this line in FPU.h :

#elif defined __powerpc__

by :

#elif 0


--
Sylvain Pion
INRIA Sophia-Antipolis
Geometrica Project-Team
CGAL, http://cgal.org/



Archive powered by MHonArc 2.6.16.

Top of Page