POV-Ray : Newsgroups : povray.unix : Compiling with icc Server Time
22 Dec 2024 04:13:13 EST (-0500)
  Compiling with icc (Message 1 to 5 of 5)  
From: Zoly
Subject: Compiling with icc
Date: 10 Jul 2007 16:40:02
Message: <web.4693ee24f864c3d41f6a4e110@news.povray.org>
Hi all,

Any advise to compile povray using icc from Intel? I can compile with gcc
but when  I try with the recent icc 10, I get a lot of errors in the link
phase. There a lot of unnkown functions, etc. I guess that I am not using
the correct libraries. I tried many parameters for ./configure but still
can not get the correct ones.

I am using Fedora 7 on a Centrino duo laptop.

Thanks,
Zoly


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Compiling with icc
Date: 10 Jul 2007 16:44:00
Message: <4693ef90$1@news.povray.org>
> Any advise to compile povray using icc from Intel?

http://pov4grasp.free.fr/articles/fastpov1/#preparing

	- NC


Post a reply to this message

From: Zoly
Subject: Re: Compiling with icc
Date: 13 Jul 2007 16:55:02
Message: <web.4697e67b1f1edf771f6a4e110@news.povray.org>
Nicolas Calimet <pov### [at] freefr> wrote:
> > Any advise to compile povray using icc from Intel?
>
> http://pov4grasp.free.fr/articles/fastpov1/#preparing
>
>  - NC

Sorry but I can not get the way to compile with icc.

I'am using the following parameters for ./configure:

CC="icc"
CXX="icc"
CFLAGS="-cxxlib"
CXXFLAGS="-cxxlib"
--disable-shared

During the compilation, I first have many warnings like the following:

.../../source/base/povmscpp.h(136): warning #858: type qualifier on return
type is meaningless
    const POVMSObjectPtr operator->() const;


or...

unix.cpp(1281): warning #411: class "<unnamed>" defines no constructor to
initialize the following:
            const member "<unnamed>::value"
    typedef struct { const char *label; const ShellOut value; } SHLSettings;


Finally, I start to get errors like these:

povmscpp.cpp:(.text+0x5b): undefined reference to `operator delete(void*)'

or...

povmscpp.cpp:(.text+0x298): undefined reference to
`__cxa_allocate_exception'





I'm almost sure that something very evident is missing somewhere but I'm not
able to find it.

thanks in advance,

Zoly


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Compiling with icc
Date: 19 Jul 2007 12:30:00
Message: <469f9188$1@news.povray.org>
> I'm almost sure that something very evident is missing somewhere but I'm not
> able to find it.

	Try without defining CFLAGS nor CXXFLAGS (which are not meant to
control the linker behaviour anyway).

	- NC


Post a reply to this message

From: Nicolas Calimet
Subject: Re: Compiling with icc
Date: 19 Jul 2007 12:32:11
Message: <469f920b$1@news.povray.org>
> CXX="icc"

	CXX="icpc" should also be set instead.

	- NC


Post a reply to this message

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