From: Frederic V. <vi...@lc...> - 2000-05-04 16:44:35
|
Robert L Krawitz <rl...@al...> writes: > Image_init is from the plugin itself. I don't know why you'd have a > problem with that -- can you send us the exact error message. The reason is : because I am a dummy! I have re-done the experiments this morning, cleanly. Here is the result : As reported before, the compilation of gimp_color_window.c fails because of the compatibility problem : gimp_color_window.c:78: warning: implicit declaration of function `gimp_dialog_new' gimp_color_window.c:79: `gimp_plugin_help_func' undeclared (first use in this function I then remove gimp_color_window.c and gimp_color_window.o from the makefile. Then the compilation of gimp_main_window.c fails like this of gimp_color_window.c did. I then remove gimp_main_window.c and gimp_main_window.o from the Makefile, clean everything and then the compilation fails with: gcc -g -O2 -o print print-canon.o print-dither.o print-escp2.o print-pcl.o print-ps.o print-util.o print.o gtk_color_window.o gtk_main_window.o -L/usr/lib -lgimpui -lgimp -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm print.o: In function `do_print_dialog': /home/frederic/Printer/print-3.1.3/print.c:651: undefined reference to `gimp_create_main_window' collect2: ld returned 1 exit status make: *** [print] Error 1 Thus it looks (if I'm not mistaking once again) like it is not possible to compile only the gtk version (print seems to be the only binary using gtk_main_window... etc.). > Beyond that, I'll let the GUI folks answer that. Supposedly there's > a fix for it in the repository. I'll probably cut 3.1.4 pretty soon > after someone verifies that the fix works. OK. I will wait for version 3.1.4. Thanks, Frédéric Vivien. |