[ptx] Hugin Patches for GCC 3.4.1

Douglas Wilkins douglasw at zahav.net.il
Tue Jul 6 12:15:26 BST 2004


On Tue, 2004-07-06 at 08:09 +0200, Emmanuel Favre-Nicolin wrote:
> Le mardi 6 Juillet 2004 06:23, Douglas Wilkins a écrit :
> > On Tue, 2004-07-06 at 00:17 +0200, Emmanuel Favre-Nicolin wrote:
> > [snip]
> >
> > > I used http://hugin.sourceforge.net/snapshots/hugin_2004_07_03-17_50.tgz
> > > and updated to CVS of 5 July 2004 (in the evening). I applied patches 03,
> > > 04, 05 and 06.
> > > during make install there are some errors :
> > >
> > >     ---- Compiling UniversalCursor.cpp (C++)
> > > g++ -I. -I../include -Wall -O2 -I/usr/lib/wx/include/gtk2-2.4
> >
> >                                                        ^^^^^^^^
> >
> > > -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
> > > -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
> >
> >                  ^^^^^^^
> >
> > > -I/usr/X11R6/include -I../  -I../foreign  -c -o .obj/UniversalCursor.o
> >
> > It seems that you are using wxwindows for gtk2 with the gtk-1.2 library?
> > perhaps you could check this?
> 
> Humm !
> 
> gtk-config --libs --cflags
> -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include 
> -I/usr/X11R6/include
> -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 
> -lm
> 
> I've got (have to with mandrake 10.0) a mixture of libgtk 1.2 and 2.0. 
> What should I change?
> 
> rpm -qa|grep gtk
> libgtk+1.2-1.2.10-38mdk
> gtk+2.0-2.2.4-9mdk
> libgtk+2.0_0-devel-2.2.4-9mdk
> libwxgtk2.4-2.4.2-1mdk
> libgtk+2.0_0-2.2.4-9mdk
> libgtk+1.2-devel-1.2.10-38mdk

you have both versions of gtk installed but your version of wxGTK will
only work with gtk2.4. If you use 
./configure --gtk=2
these errors should go away 
note: earlier snapshots require patches which I sent to the list already

                           Subject: 
Re: [ptx] vigra included in
sourcecode again
                              Date: 
Sun, 04 Jul 2004 14:56:37 +0300

> I hope but I haven't been looking at every single line during the processing 
> of make .. (do you use a king of automatic way to catch errors during 
> building?)

:-(( unfortunately not

regards,
Doug



More information about the ptX mailing list