POV-Ray : Newsgroups : povray.unix : compiling POV-Ray 3.7 beta with Intel compiler Server Time
27 Apr 2024 23:25:55 EDT (-0400)
  compiling POV-Ray 3.7 beta with Intel compiler (Message 1 to 1 of 1)  
From: clipka
Subject: compiling POV-Ray 3.7 beta with Intel compiler
Date: 30 Mar 2010 18:04:46
Message: <4bb2757e$1@news.povray.org>
FYI:

Since having installed openSUSE 11.2 a few months ago, I had encountered 
problems compiling POV-Ray with the Intel icpc compiler, causing error 
messages like:

/usr/include/c++/4.4/cmath(500): error: identifier 
"__builtin_fpclassicy" is undefined

Apparently this was a problem with incompatibilities between the Intel 
icpc 11.1 compiler (11.1.059 here) and the GNU g++ 4.4 (and allegedly 
also g++ 4.3) header files.

I now succeeded as follows:

- Installed old GNU gcc/g++ 4.1 (4.2 should do as well) alongside the 
newer version
- Configured POV-Ray with CXXFLAGS="-gcc-name=gcc-4.1 -gxx-name=g++-4.1" 
(or whatever older version of the GNU compiler you use)

(Possibly CXXFLAGS="-gxx-name=g++-4.1" might suffice, but I didn't test.)

I thoughg I'd share this, just in case anyone else runs into the same 
problem. It might also be helpful to include this information in the 
INSTALL "manual".

According to forum postings on the Intel Software Network, Intel 
apparently promised to provide a fix for icpc to cooperate with g++ 4.3 
and newer in August 2009, but as of version 11.1.064 (February 2010) no 
such fix has been released yet.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.