GTK+-2.11.1 - further installation WOES.



Hi,

Thanks to Tor Lillqvist for giving the BIG clue that WINDRES was being called for the gdk/win32/rc issue I was having. I altered most of the Makefiles changing WINDRES = to WINDRES = /usr/bin/windres.

That passed the gdk/win32/rc issue.

However, now I get this........

gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DG_LOG_DOMAIN=\"Gdk\" -DINSIDE_GDK_WIN32 -I../.. -I../../gdk -I../../gdk -DG_ENABLE_DEBUG -D_REENTRANT -I/usr/X11R6/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -DGDK_COMPILATION -DG_DISABLE_DEPRECATED -g -O2 -g -Wall -MT gdkwindow-win32.lo -MD -MP -MF .deps/gdkwindow-win32.Tpo -c gdkwindow-win32.c -DPIC -o .libs/gdkwindow-win32.o
gdkwindow-win32.c: In function `RegisterGdkClass':
gdkwindow-win32.c:423: warning: assignment from incompatible pointer type
gdkwindow-win32.c:425: error: `_winver' undeclared (first use in this function) gdkwindow-win32.c:425: error: (Each undeclared identifier is reported only once
gdkwindow-win32.c:425: error: for each function it appears in.)
gdkwindow-win32.c:428: warning: passing arg 1 of `RegisterClassExA' from incompatible pointer type
gdkwindow-win32.c:437: warning: assignment from incompatible pointer type
gdkwindow-win32.c:440: warning: passing arg 1 of `RegisterClassExA' from incompatible pointer type
make[5]: *** [gdkwindow-win32.lo] Error 1
make[5]: Leaving directory `/opt/gtk+-2.11.1/gdk/win32'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/opt/gtk+-2.11.1/gdk/win32'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/gtk+-2.11.1/gdk'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/gtk+-2.11.1/gdk'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/gtk+-2.11.1'
make: *** [all] Error 2

I have tried to specify that WINVER is 0x0501 as below, but I've never been a good C programmer. ;-)
gdkprivate-win32.h:#define WINVER 0x0501

Do I need to use the '=' assign function here?

Thank you VERY much in advance for any assistance.
Cheers
Craig.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]