|
From: Jameel J. A'l. <ja...@el...> - 2004-03-26 01:44:27
|
After downloading GTK+ 1.3 pack from 'http://wingtk.sf.net I used DevCpp= 's Package Manager to install it. To test run the new installation I crea= ted a new project ' File->New->Project->GUI Toolkits'=20 I have also installed FLTK and FOX and to create a project with either of= this GUI Toolkits I do the following: File->New->Project->GUI'=20 After pressing OK, I get a new 'main.cpp' file that gets me started, but = in the case of GTK+ this does not happen. There is no main.c. What is mor= e annoying is that when I try to compile one of my programs I get the fol= lowing error message -- Compiler: Default compiler Building Makefile: "C:\Dev-Cpp\Makefile.win" Executing make... make.exe -f "C:\Dev-Cpp\Makefile.win" all 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/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 -- The problem is obviously in the GTK library and that's pretty much all I = can say about the problem. Can anyone help? * 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 |