openexr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Openexr-devel] compilation issue with intel compiler on xp


From: Drew Hess
Subject: RE: [Openexr-devel] compilation issue with intel compiler on xp
Date: Mon, 7 Apr 2003 15:41:46 -0700 (PDT)

p.s. please file this as a bug on the Savannah website, and if any of you 
out there find other problems, file them there so I can keep track of them 
and so that you know when they're fixed (or not, if they turn out not to 
be bugs).


-dwh-


 On Mon, 7 Apr 2003, Ron Carmel 
wrote:

> oops, cc'ing the list too.
> 
> --- Ron Carmel <address@hidden> wrote:
> > Date: Mon, 7 Apr 2003 15:10:27 -0700 (PDT)
> > From: Ron Carmel <address@hidden>
> > Subject: RE: [Openexr-devel] compilation issue with intel
> > compiler on xp
> > To: Drew Hess <address@hidden>
> > 
> > i'm using the distributed binaries and building my own DLL
> > from
> > the command line.  (btw, i WAS able to successfully build the
> > openexr binaries using the project files in the distribution).
> > 
> > the command line i use looks something like this:
> > 
> > set LIB =
> >
> ${icl.dir}/IA32/Bin;${icl.dir}/IA32/Lib;${native.tools.dir}/msvc;${openexr.dir}/Lib/Half;${openexr.dir}/Lib/Iex;${openexr.dir}/Lib/IlmImfdll;${openexr.dir}/Lib/IlmImf;${openexr.dir}/Lib/Imath;${openexr.dir}/Lib/zlib
> > 
> > set PATH =
> >
> ${icl.dir}/IA32/Bin;${icl.dir}/IA32/Lib;${native.tools.dir}/msvc
> >  
> > ${icl.dir}/IA32/Bin/icl.exe
> >   -I${icl.dir}/IA32/include
> >   -I${native.tools.dir}/msvc
> >   -I${working.dir}/gensrc
> >   -I${openexr.dir}/include/Iex
> >   -I${openexr.dir}/include/Half
> >   -I${openexr.dir}/include/Imath
> >   -I${openexr.dir}/include/IlmImf
> >   -I${jdk.dir}/include
> >   -I${jdk.dir}/include/win32
> >   -GX -LD -MD
> >   -Fe${working.dir}/native/openexr.dll
> >   -Fo${working.dir}/native/
> >   ${src.dir}/morph/format/openexr/native/*.cpp
> >   -link Half.lib Iex.lib IlmImf.lib Imath.lib zlib.lib
> >  
> > r
> > 
> > --- Drew Hess <address@hidden> wrote:
> > > 
> > > Is this your own project, or are you building OpenEXR itself
> > > from the 
> > > source tarball?
> > > 
> > > -dwh-
> > > 
> > > 
> > > On Mon, 7 Apr 2003, Ron Carmel wrote:
> > > 
> > > > i guess my question is more directed at drew... why do i
> > get
> > > > this compilation error?  is it a configuration issue on my
> > > end
> > > > or is it something that should be fixed?
> > > > 
> > > > --- Nick Porcino <address@hidden> wrote:
> > > > > 
> > > > > one could provide an implementation -
> > > > > 
> > > > > #if !defined(PLATFORM_OSF1)
> > > > >    float hypotf(float x, float y) { return ::sqrtf(x*x +
> > > y*y);
> > > > > }
> > > > >    static float       hypot (float x, float y) 
> > > > >             {return ::hypotf (x, y);}
> > > > > #endif
> > > > > 
> > > > > if hypotf is need anywhere else, or simply move the
> > > > > ::sqrtf(x*x + y*y); into the hypot function itself
> > > > > 
> > > > > -----Original Message-----
> > > > > From: Ron Carmel [mailto:address@hidden
> > > > > Sent: Monday, April 07, 2003 12:01 PM
> > > > > To: openexr
> > > > > Subject: [Openexr-devel] compilation issue with intel
> > > compiler
> > > > > on xp
> > > > > 
> > > > > 
> > > > > hi all, this my first posting to this list.
> > > > > 
> > > > > i'm compiling/linking against the windows 1.0.5 binaries
> > > and
> > > > > i'm
> > > > > getting the following error:
> > > > > 
> > > > > [snip]OpenEXR-1.0.5/include/Imath/ImathMath.h(192):
> > error:
> > > the
> > > > > global scope has no "hypotf"
> > > > >      static float     hypot (float x, float y)        {return
> > > ::hypotf
> > > > > (x,
> > > > > y);}
> > > > >                                                                 ^
> > > > >           detected during instantiation of class
> > > > > "Imath::Math<float>" at line 194
> > > > > 
> > > > > my current workaround is to change ::hypotf(x,y) to
> > > > > ::hypot(x,y)
> > > > > and then things work fine.  any idea why this is
> > happening
> > > or
> > > > > what the proper resolution is?
> > > > > 
> > > > > i'm on XP and using an evaulation version of the intel
> > > > > compiler
> > > > > (version 7.0 build 20021018Z)
> > > > > 
> > > > > the code around the problematic line looks like this:
> > > > > 
> > > > > #if !defined(PLATFORM_OSF1)
> > > > >    static float       hypot (float x, float y) 
> > > > >             {return ::hypotf (x, y);}
> > > > > #endif
> > > > > 
> > > > > thanks in advance,
> > > > > 
> > > > > ron.
> > > > > 
> > > > > =====
> > > > > "God grant me the serenity to accept the things I cannot
> > > > > change, courage to change the things I can, and wisdom
> > > always
> > > > > to know the difference." - Reinhold Niebuhr
> > > > > 
> > > > > 
> > > > > _______________________________________________
> > > > > Openexr-devel mailing list
> > > > > address@hidden
> > > > > http://mail.nongnu.org/mailman/listinfo/openexr-devel
> > > > 
> > > > 
> > > > =====
> > > > "God grant me the serenity to accept the things I cannot
> > > change, courage to change the things I can, and wisdom
> > always
> > > to know the difference." - Reinhold Niebuhr
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Openexr-devel mailing list
> > > > address@hidden
> > > > http://mail.nongnu.org/mailman/listinfo/openexr-devel
> > > > 
> > > 
> > 
> > 
> > =====
> > "God grant me the serenity to accept the things I cannot
> > change, courage to change the things I can, and wisdom always
> > to know the difference." - Reinhold Niebuhr
> > 
> 
> 
> =====
> "God grant me the serenity to accept the things I cannot change, courage to 
> change the things I can, and wisdom always to know the difference." - 
> Reinhold Niebuhr
> 
> 
> _______________________________________________
> Openexr-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/openexr-devel
> 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]