Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] CGAL-3.3 and Intel compiler (9 or 10) on Linux

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] CGAL-3.3 and Intel compiler (9 or 10) on Linux


Chronological Thread 
  • From: Julie Bernauer <>
  • To:
  • Subject: Re: [cgal-discuss] CGAL-3.3 and Intel compiler (9 or 10) on Linux
  • Date: Fri, 20 Jul 2007 15:46:27 -0700

Hi all,

It appears that the ifdef definitions for Intel compiler in Point_2.h, Point_3.h, Vector_2.h and Vector_3.h using Self when Intel compiler is used don't work. Using Point_2, Point_3, Vector_3 instead of Self do work.

So for those interested in using icc on linux, this needs to be changed and the option -Kc++ should be added in the compiler and linker options in the installer (still not clear why...).

Thanks Sylvain for the ifdef tip.

Julie

Julie Bernauer wrote:
Hi all,

I was just wondering whether anybody has CGAL-3.3 compiling with Intel Compilers 9 or 10 on Linux.

The CGAL installer does not seem to add the options automatically for compiling and I guess I missed something which gives me this error:
vvvvvvvvvvvv error log for libCGAL static shown below vvvvvvvvvvvv
icc -O2 -mp '-I/home/julie/Sources/CGAL/CGAL-3.3/CGAL-3.3/include/CGAL/config/i686_Linux-2.6_icc-9.1' '-I/home/julie/Sources/CGAL/CGAL-3.3/CGAL-3.3/include' -Kc++ -c assertions.cpp
icc -O2 -mp '-I/home/julie/Sources/CGAL/CGAL-3.3/CGAL-3.3/include/CGAL/config/i686_Linux-2.6_icc-9.1' '-I/home/julie/Sources/CGAL/CGAL-3.3/CGAL-3.3/include' -Kc++ -c Bbox_2_intersections.cpp
/home/julie/Sources/CGAL/CGAL-3.3/CGAL-3.3/include/CGAL/Point_2.h(80): error: expected an identifier
(const T1 &x, const T2 &y)
^

The only custom flag I have is -Kc++ for compiler and linker as in this configuration, icc does not seem to detect it is c++ files (this detection works outside of CGAL, that's why I think I missed something...).
Below are my librairies version for information.

Thanks very much in advance for your help,

Julie



--
Julie Bernauer
Levitt group, Computational Structural Biology, Clark Center S255
318 Campus Drive, Stanford CA94305, USA
Tel: +1 (650) 723 5720 Fax: +1 (650) 724 4021



Archive powered by MHonArc 2.6.16.

Top of Page