[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Openexr-devel] exrdisplay compliation fails
From: |
Florian Kainz |
Subject: |
Re: [Openexr-devel] exrdisplay compliation fails |
Date: |
Tue, 09 Jan 2007 15:44:50 -0800 |
User-agent: |
Mozilla Thunderbird 1.0 (X11/20041207) |
I haven't tried 4.0.3, but OpenEXR does compile with a variety
of different versions of gcc. Versions 3.0 and later should
work. The error you are getting does look like a problem with
the either the limits header or the bits/cpp_type_traits.h
header file.
You may want to take a look at file config/OpenEXRConfig.h
in your OpenEXR source directory, and check if it defines any
macros that are referenced in limits or bits/cpp_type_traits.h.
Florian
Nigel Jenkins wrote:
Hi All
I'm trying to get the display apps to compile on my laptop which has a
fresh ubuntu 6.06 install on it.
I tried Openexr 1.4 first and it failed so thought I'd try the 1.5
version, and I get the same issue (see gcc output below). The base and
main libraries appear to install and work ok, its just the display app
that is failing.
It looks like a gcc issue to me, is there a preferred gcc version that I
should be using, or I'm I missing something in the configuration that
I'm too dim to spot!
many thanks
Nigel
make[1]: Entering directory
`/disk/OPENEXR/openexr_viewers-0.9.0/exrdisplay'
if g++ -DHAVE_CONFIG_H -I. -I. -I../config -I/usr/local/include
-Dbool=char -Dfalse=0 -Dtrue=1 -I.. -pthread
-I/usr/local/include/OpenEXR -DHAVE_CTL_INTERPRETER=0 -pipe -g -O2 -MT
main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; \
then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f
".deps/main.Tpo"; exit 1; fi
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/cpp_type_traits.h:178:
error: redefinition of ‘struct std::__is_integer<char>’
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/bits/cpp_type_traits.h:172:
error: previous definition of ‘struct std::__is_integer<char>’
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/limits:369:
error: redefinition of ‘struct std::numeric_limits<char>’
/usr/lib/gcc/i486-linux-gnu/4.0.3/../../../../include/c++/4.0.3/limits:316:
error: previous definition of ‘struct std::numeric_limits<char>’
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/disk/OPENEXR/openexr_viewers-0.9.0/exrdisplay'
make: *** [all-recursive] Error 1
_______________________________________________
Openexr-devel mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/openexr-devel