POV-Ray : Newsgroups : povray.unix : Compiling with icc 12.1 : Re: Compiling with icc 12.1 Server Time
17 May 2024 02:36:07 EDT (-0400)
  Re: Compiling with icc 12.1  
From: Le Forgeron
Date: 15 Dec 2011 17:33:59
Message: <4eea75d7$1@news.povray.org>
Le 15/12/2011 23:10, jhu nous fit lire :
> Le_Forgeron <jgr### [at] freefr> wrote:
>> Le 15/12/2011 22:35, jhu nous fit lire :
>>> But it's all there...
>>>
>>> [jhu@PhenomIIx6:/opt/intel/lib]$ ls
>>
>> Back to config.log (attached): hopefully you can use some smart diff for
>> the details.
>>
>> Have you tried to compiled a hello world with icc ? icpc ? (c, c++)
>> (well, if boost compiled, i guess that yes...)
> 
> So now I've resorted to brute-forcing the compile (manually compiling each file
> with icc... ugh). Unfortunately:
> 
> icpc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../source -I../../source
> -I../../source/base -I../../unix -I../../vfe -I../../vfe/unix -pthread
> -I/usr/include  -I/usr/include  -pipe -Wno-multichar -Wno-write-strings
> -fno-enforce-eh-specs -s -O3 -ffast-math -march=native -pthread -MT fnpovfpu.o
> -MD -MP -MF .deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f 'vm/fnpovfpu.cpp' ||
> echo './'`vm/fnpovfpu.cpp
> 
> gives me:
> 
> 
>
/opt/intel/composer_xe_2011_sp1.7.256/compiler/include/boost/smart_ptr/detail/shared_count.hpp(321):
> error: copy constructor for class "boost::detail::shared_count" may not have a
> parameter of type "boost::detail::shared_count"
>       shared_count(shared_count && r): pi_(r.pi_) // nothrow
>                    ^
> 
>
/opt/intel/composer_xe_2011_sp1.7.256/compiler/include/boost/smart_ptr/detail/shared_count.hpp(321):
> error: expected a ")"
>       shared_count(shared_count && r): pi_(r.pi_) // nothrow
>                                 ^
> 
> etc., etc.,
> 
> I have almost no hair on my head since they have been pulled out!
> 
> 
Yep, still the same initial error.

Your :
/opt/intel/composer_xe_2011_sp1.7.256/

Mine:
/opt/intel/composerxe-2011.5.220/



icpc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../../source -I../../source
-I../../source/base -I../../unix -I../../vfe -I../../vfe/unix
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -pthread
-I/usr/include/OpenEXR    -pthread -I/opt/intel/include  -I/usr/include
 -pipe -Wno-multichar -Wno-write-strings -s -O3 -ip -xHost -pthread -MT
fnpovfpu.o -MD -MP -MF .deps/fnpovfpu.Tpo -c -o fnpovfpu.o `test -f
'vm/fnpovfpu.cpp' || echo './'`vm/fnpovfpu.cpp

Results only in warnings:
../../source/base/image/colourspace.h(445): warning #1125: overloaded
function "pov_base::GammaCurve::IsNeutral" is hidden by
"pov_base::PowerLawGammaCurve::IsNeutral" -- virtual function override
intended?
                static bool IsNeutral(float gamma);
                            ^

../../source/base/image/colourspace.h(464): warning #1125: overloaded
function "pov_base::GammaCurve::IsNeutral" is hidden by
"pov_base::ScaledGammaCurve::IsNeutral" -- virtual function override
intended?
                static bool IsNeutral(float factor);
                            ^


Post a reply to this message

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