[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-user] exrdisplay compile woes on Redhat 7.3
From: |
Drew Hess |
Subject: |
Re: [Openexr-user] exrdisplay compile woes on Redhat 7.3 |
Date: |
Mon, 9 Feb 2004 14:50:55 -0800 (PST) |
Yikes, that looks like a gcc bug. I wasn't able to reproduce that on my
RedHat 7.2 system with gcc 2.96, though. What version of gcc 2.96 RPM are
you using? Mine is gcc-2.96-98.
Also, try this: #include <ImathMath.h> and change the pow () function on
line 85 to Math::pow<float> () and see if that fixes the problem.
-dwh-
-dwh-
On Mon, 9 Feb 2004, Alec Bartsch wrote:
>
> On Feb 9, 2004, at 12:38 PM, Drew Hess wrote:
>
> > Try using fltk 1.1.x. We haven't tested fltk 1.2 yet, so I'm not sure
> > whether there are source code compatibility issues between 1.1 and 1.2
> > (though I think the fltk developers are readers of this list, so they
> > might be able to answer definitively).
> >
> > Also, make sure your fltk is compiled with gcc 2.96.
> >
> > If that doesn't work, post the output of your build right around the
> > place
> > where it fails and we'll try to figure out what's going on.
>
> Hi,
>
> I'm having a similar problem to John, except that my build fails in
> exrmakepreview (exrdisplay builds OK for me).
>
> Red Hat 7.3
> gcc 2.96
> fltk 1.1.4 (compiled with gcc 2.96)
>
> Here's the tail snippet of build output:
>
> Making all in exrmakepreview
> make[1]: Entering directory
> `/var/tmp/OpenEXR/OpenEXR-1.1.0/exrmakepreview'
> if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"OpenEXR\" -DVERSION=\"1.1.0\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_STRERROR=1 -I. -I. -I.. -I../Iex -I../Half -I../Imath
> -I../IlmImf -O2 -funroll-loops -pipe -march=i686 -g -O2 -MT main.o
> -MD -MP -MF ".deps/main.Tpo" \
> -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp; \
> then mv -f ".deps/main.Tpo" ".deps/main.Po"; \
> else rm -f ".deps/main.Tpo"; exit 1; \
> fi
> if g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
> -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"OpenEXR\" -DVERSION=\"1.1.0\" -DSTDC_HEADERS=1
> -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
> -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
> -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_DLFCN_H=1 -DSTDC_HEADERS=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1
> -DHAVE_STRERROR=1 -I. -I. -I.. -I../Iex -I../Half -I../Imath
> -I../IlmImf -O2 -funroll-loops -pipe -march=i686 -g -O2 -MT
> makePreview.o -MD -MP -MF ".deps/makePreview.Tpo" \
> -c -o makePreview.o `test -f 'makePreview.cpp' || echo
> './'`makePreview.cpp; \
> then mv -f ".deps/makePreview.Tpo" ".deps/makePreview.Po"; \
> else rm -f ".deps/makePreview.Tpo"; exit 1; \
> fi
> makePreview.cpp: In function `unsigned char {unnamed}::gamma (half,
> float)':
> makePreview.cpp:85: no matching function for call to `clamp (double,
> float, float)'
> makePreview.cpp:86: Unable to find a register to spill in class `AREG'.
> makePreview.cpp:86: confused by earlier errors, bailing out
> make[1]: *** [makePreview.o] Error 1
> make[1]: Leaving directory
> `/var/tmp/OpenEXR/OpenEXR-1.1.0/exrmakepreview'
> make: *** [all-recursive] Error 1
>
>
> ____________________________________
> Alec Bartsch
> Sky Captain and The World of Tomorrow
>
>
>
> _______________________________________________
> Openexr-user mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/openexr-user
>
>
Re: [Openexr-user] exrdisplay compile woes on Redhat 7.3, John Coldrick, 2004/02/10