Re: build error on win32
| From: | Frank M. Kromann | Date: | Mon, 17 Feb 2003 01:44:38 +0000 |
| Subject: | Re: build error on win32 | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3038@lists.php.net to get a copy of this message | ||
This error is caused by a macro defined in GTK fro win32.
You need to edit gen_gdk.c and rename gdk_draw_pixmap to gdk_draw_pixmap1
or something like that. The change should be made in two places.
- Frank
> ... this is (after failing with last cvs update) the current src
release
> from gtk.php.net
> I got somewhere in that I dont think that generator.php was doing
whatever
> it is that generator.php does, but now appears to be ...which leaves me
with
> just the 2 errors ~
>
> E:\work\php-gtk-0.5.2\ext\gtk+\gen_gdk.c(1340) : error C2065:
> 'zif_gdk_draw_pixmap' : undeclared identifier
> E:\work\php-gtk-0.5.2\ext\gtk+\gen_gdk.c(1340) : error C2099:
initializer is
> not a constant
>
> I am grabbing latest CVS now (BTW still not a clue how to build the
docs
> :o - can't get the XML stuff happening on RodneyR)
>
> Regards,
> Simon.
>
>
>
> ----- Original Message -----
> From: "Steph Fox" <stephfox999@hotmail.com>
> To: <firepage@firepages.org>
> Sent: Monday, February 17, 2003 12:57 AM
> Subject: Re: [PHP-GTK] build error on win32
>
>
> > Hi, I'm still in Tel Aviv but I know those errors ... from a while
back ..
> > How recent is your CVS update?!
> >
> >
> >
> >
> >
> >
> > >From: "firepage" <firepage@firepages.org>
> > >Reply-To: "firepage" <firepage@firepages.org>
> > >To: <php-gtk-general@lists.php.net>
> > >Subject: [PHP-GTK] build error on win32
> > >Date: Mon, 17 Feb 2003 00:53:51 +0800
> > >
> > >Hi, getting these errors with MSVC6 .. loads of type conversion
warnings
> as
> > >well.
> > >I have glib-dev-2.0.6 gtk+-dev-1.3.0 (&
libconv1.8/gettext-dev-0.10.4)
> > >
> > >
> > >E:\work\php-gtk-0.5.2\main\php_gtk_object.c(612) : error C2065:
> > >'gtk_object_ce' : undeclared identifier
> > >E:\work\php-gtk-0.5.2\ext\gtk+\gen_gdk.c(1340) : error C2065:
> > >'zif_gdk_draw_pixmap' : undeclared identifier
> > >E:\work\php-gtk-0.5.2\ext\gtk+\gen_gdk.c(1340) : error C2099:
initializer
> > >is not a constant
> > >E:\work\php-gtk-0.5.2\ext\gtk+\gen_gtk.c(1768) : error C2065:
> > >'gdk_rectangle_ce' : undeclared identifier
> > >
> > >builds on RedHat no problem, is there something obvious that I dont
know
> > >(ok lots - but specifically for this :))
> > >
> > >Regards,
> > >Simon Wheeler
> > >
> > >
> >
> >
> > _________________________________________________________________
> > Use MSN Messenger to send music and pics to your friends
> > http://messenger.msn.co.uk
> >
> >
> >
> >
>
>
>
> --
> PHP-GTK General Mailing List (http://gtk.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>