Compiling problems in W98
- From: Joakim Majander <joakim majander luukku com>
- To: gtk-app-devel-list gnome org
- Subject: Compiling problems in W98
- Date: Tue, 18 Apr 2006 00:18:13 +0300 (EEST)
I'm developing a native w32 application on CygWin. So far I've used XP but, I would like to compile on W98 as
well.
I just installed CygWin and GTK 2.4.7 developement stuff from
http://www.gimp.org/~tml/gimp/win32/downloads.html
Compiling works fine on XP, but on W98 I get errors like this:
GTK6.C:46: error: invalid conversion from `void (*)(GtkWidget*, void*)' to `void (*)()'
GTK6.C:46: error: invalid conversion from `void (*)(GtkWidget*, void*)' to `void (*)()'
GTK6.C:46: error: invalid conversion from `void (*)(GtkWidget*, void*)' to `void (*)()'
GTK6.C:46: error: invalid conversion from `void (*)(void*, guint, GtkWidget*)' to `void (*)()'
GTK6.C:46: error: invalid conversion from `void (*)(void*, guint, GtkWidget*)' to `void (*)()'
GTK6.C:46: error: invalid conversion from `void (*)(void*, guint, GtkWidget*)' to `void (*)()'
GTK6.C:46: error: invalid conversion from `void (*)(void*, guint, GtkWidget*)' to `void (*)()'
GTK6.C is taken from GTK 2-tutorial: http://www.gtk.org/tutorial/x1718.html
The simpler "Hello World"-tutorials compile and run OK.
I use the following shell script to compile:
#!/bin/sh
export PKG_CONFIG_PATH=/cygdrive/c/GTK/2.0/2.4/lib/pkgconfig
gcc $* -O2 -mno-cygwin -mwindows -mms-bitfields `pkg-config gtk+-win32-2.0 --cflags --libs
--define-variable=prefix=/cygdrive/c/GTK/2.0/2.4`
Joakim
...................................................................
Luukku Plus paketilla pääset eroon tila- ja turvallisuusongelmista.
Hanki Luukku Plus ja helpotat elämääsi. http://www.mtv3.fi/luukku
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]