Re: [CinePaint] CinePaint 0.21-1 compilation error

Daniel Fort <dan-pCK/[email protected]>
Newsgroups gmane.comp.video.cinepaint.user
Message-ID <[email protected]>
Hi Hartmut,

Your instructions worked perfectly here.

> Thanks Daniel, for all the effort. Under 
>
>   http://people.freenet.de/hsbosny/Download
>
> I put the zipped tar file
>
>   bracketing_to_hdr-0.21-20060818.tar.zip.
>
> It contains a version fixed for g++ 4.1.1. The pathnames in the 
> archive are relative to the directory "plug-ins", i.e. to install so: 
>
> Copy the ~.tar.gz file into the CinePaint directory "plug-ins" and 
>   make this directory to the current.
> gunzip ~.tar.gz   (creates ~.tar file)
> tar xvf ~.tar     (unpackes tar archive into "./bracketing_to_hdr") 
> cd ..             (go to the CinePaint root dir)
> ./config.status   (creates Makefile(s) and .deps files)
> make
>
>   

I went further and replaced the bracketing_to_hdr directory in a freshly 
extracted cinepaint-0.21-1 source and the usual,

./configure
make
sudo make install

work fine now.
> First I wanted to provide a patch file, but I have to train yet with 
> diff and patch. 
>
>   
I figured the best way to make a patch file was to use CVS sources, but 
when I tried your replacement files on it I got:

In file included from ../../lib/plugin_main.h:23,
                 from bracketing_to_hdr.cpp:61:
/usr/include/glib-1.2/glib.h:1308:23: warning: ISO C does not permit 
named variadic macros
/usr/include/glib-1.2/glib.h:1311:25: warning: ISO C does not permit 
named variadic macros
/usr/include/glib-1.2/glib.h:1314:26: warning: ISO C does not permit 
named variadic macros
/usr/include/glib-1.2/glib.h:1317:25: warning: ISO C does not permit 
named variadic macros
In file included from ../../lib/wire/wire_types.h:9,
                 from ../../lib/plugin_main.h:26,
                 from bracketing_to_hdr.cpp:61:
../../lib/wire/enums.h:126: error: extra `;'
make[3]: *** [bracketing_to_hdr.o] Error 1


Not sure why it worked on 0.21-1 and not on CVS, diff shows no change in 
plugin_main.h and both builds should be using the same 
/usr/include/glib-1.2/glib.h (glib-1.2.10-r5 from Gentoo portage).

--Dan

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
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.