Re: [CinePaint] CinePaint 0.21-1 compilation error

Kai-Uwe Behrmann <[email protected]>
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <[email protected]>
Daniel,

which configure settings did you use?

The --pedantic flag for g++ causes a too hard check for OpenEXR.
I will report there.

Workaround: edit the openexr/Makefile and remove all --pedantic flags.

regards
Kai-Uwe Behrmann
                                + development for color management 
                                + imaging / panoramas
                                + email: [email protected]
                                + http://www.behrmann.name


Am 07.09.06, 18:15 -0700 schrieb Daniel Fort:

> Hi Kai-Uwe,
> 
> Thanks for the fixes--got past the ... issues.
> 
> But--now there seems to be a problem with the OpenEXR plug-in. I'm getting
> the error below. This happens with both OpenEXR-1.2.2 and 1.4.0a.
> 
> Making all in openexr
> make[2]: Entering directory
> `/home/dfort/src/cinepaint-cvs/cinepaint-project/cinepaint/plug-ins/openexr'
> if g++ -DHAVE_CONFIG_H -I. -I. -I../../lib -I/usr/include/glib-1.2
> -I/usr/lib64/glib/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
> -I/usr/lib64/glib/include -I/opt/include -I/usr/include/gtk-1.2
> -I/usr/include/glib-1.2 -I/usr/lib64/glib/include  -I/usr/include/glib-1.2
> -I/usr/lib64/glib/include -I../.. -I/opt/include/OpenEXR -I/opt/include
> -pthread -I/usr/include/OpenEXR     -I/usr/include/glib-1.2
> -I/usr/lib64/glib/include   -DDEBUG -g -Wall --pedantic -g  -MT
> chroma_icc.o -MD -MP -MF ".deps/chroma_icc.Tpo" \
>   -c -o chroma_icc.o `test -f 'chroma_icc.cxx' || echo './'`chroma_icc.cxx; \
> then mv -f ".deps/chroma_icc.Tpo" ".deps/chroma_icc.Po"; \
> else rm -f ".deps/chroma_icc.Tpo"; exit 1; \
> fi
> In file included from /usr/include/OpenEXR/ImfAttribute.h:48,
>                  from /usr/include/OpenEXR/ImfFloatAttribute.h:46,
>                  from /usr/include/OpenEXR/ImfStandardAttributes.h:58,
>                  from chroma_icc.cxx:24:
> /usr/include/OpenEXR/ImfXdr.h:829:27: warning: use of C99 long long
> integer constant
> /usr/include/OpenEXR/ImfXdr.h:830:26: warning: use of C99 long long
> integer constant
> /usr/include/OpenEXR/ImfXdr.h:831:27: warning: use of C99 long long
> integer constant
> /usr/include/OpenEXR/ImfXdr.h:832:27: warning: use of C99 long long
> integer constant
> /usr/include/OpenEXR/ImfXdr.h:833:27: warning: use of C99 long long
> integer constant
> /usr/include/OpenEXR/ImfXdr.h:834:27: warning: use of C99 long long
> integer constant
> /usr/include/OpenEXR/ImfXdr.h:835:27: warning: use of C99 long long
> integer constant
> In file included from /usr/include/OpenEXR/ImathMatrix.h:47,
>                  from /usr/include/OpenEXR/ImfChromaticities.h:47,
>                  from /usr/include/OpenEXR/ImfChromaticitiesAttribute.h:47,
>                  from /usr/include/OpenEXR/ImfStandardAttributes.h:60,
>                  from chroma_icc.cxx:24:
> /usr/include/OpenEXR/ImathFun.h:266:19: warning: use of C99 long long
> integer constant
> /usr/include/OpenEXR/ImathFun.h:266:44: warning: use of C99 long long
> integer constant
> In file included from /usr/include/OpenEXR/ImfEnvmapAttribute.h:46,
>                  from /usr/include/OpenEXR/ImfStandardAttributes.h:61,
>                  from chroma_icc.cxx:24:
> /usr/include/OpenEXR/ImfEnvmap.h:255: error: comma at end of enumerator list
> chroma_icc.cxx: In function `Imf::Chromaticities writeEXRprims(char*,
> size_t)':
> chroma_icc.cxx:197: warning: unused variable 'size'
> make[2]: *** [chroma_icc.o] Error 1
> make[2]: Leaving directory
> `/home/dfort/src/cinepaint-cvs/cinepaint-project/cinepaint/plug-ins/openexr'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/dfort/src/cinepaint-cvs/cinepaint-project/cinepaint/plug-ins'
> make: *** [all-recursive] Error 1
> 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.