[Dev-C++] Help compiling a GTK+ program
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Jameel J. A'l. <ja...@el...> - 2004-03-26 09:56:00
|
I am trying to compile aprogram from "Sams Teach Yourself GTK+ Programmin=
g", but the program gives me this erro
------
The error message I get is:
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make clean
rm -f ../Downloads/Programs/Gtk/gtk/chapter2/gtkfun.o Gtk_Test.exe
g++.exe -c ../Downloads/Programs/Gtk/gtk/chapter2/gtkfun.c -o ../Download=
s/Programs/Gtk/gtk/chapter2/gtkfun.o -I"C:/DEV-CPP/include/c++" -I"C:/DE=
V-CPP/include/c++/mingw32" -I"C:/DEV-CPP/include/c++/backward" -I"C:/DE=
V-CPP/include" -I"C:/Dev-Cpp/INCLUDE/GDK" -I"C:/Dev-Cpp/include/gdk" -=
I"C:/Dev-Cpp/include/gtk-2.0" -I"C:/Dev-Cpp/include/gtk-2.0/gdk" -I"C:/=
Dev-Cpp/include/gtk-2.0/gdk-pixbuf" -I"C:/Dev-Cpp/include/gtk-2.0/gtk" =20
In file included from C:/DEV-CPP/include/gdk/gdk.h:33,
from C:/DEV-CPP/include/gtk/gtk.h:31,
from ../Downloads/Programs/Gtk/gtk/chapter2/gtkfun.c:1:
C:/DEV-CPP/include/gdk/gdkdnd.h:99:8: warning: extra tokens at end of #en=
dif directive
=2E./Downloads/Programs/Gtk/gtk/chapter2/gtkfun.c: In function `int main(=
int,=20
char**)':
=2E./Downloads/Programs/Gtk/gtk/chapter2/gtkfun.c:36: invalid conversion =
from `
void (*)(GtkButton*, void*)' to `void (*)()'
make.exe: *** [../Downloads/Programs/Gtk/gtk/chapter2/gtkfun.o] Error 1
Execution terminated
---------------------------------
OS Win98=20
Compiler: Ming
* E-Mail Policy
http://www.vif.com/users/escalante/Email_Policy.html
Ent=E9rate de las noticias m=E1s actualizadas de El Salvador y el mundo e=
n www.elsalvador.com
|