Hello list, I'm trying to compile a few Gimp plugins and cannot seem to get them to work. I have tried both gimptool and doing the regular compole routine but with not success. I know for the plugins that I want to use, I have the necessary things needed. Is there a web site that can help me along? I'm trying to use refocus and lab decompose. Has anyong got them to work with SuSE 8.1? Any insight will be appreciated. I wish that I knew alot more about programming. -- Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
On 27 Feb 2003 08:56:45 -0500
Marshall Heartley
Hello list, I'm trying to compile a few Gimp plugins and cannot seem to get them to work. I have tried both gimptool and doing the regular compole routine but with not success. I know for the plugins that I want to use, I have the necessary things needed. Is there a web site that can help me along? I'm trying to use refocus and lab decompose. Has anyong got them to work with SuSE 8.1? Any insight will be appreciated. I wish that I knew alot more about programming.
Post the error messages you get and the url's where to get the plugins. -- use Perl; #powerful programmable prestidigitation
<snip>
Post the error messages you get and the url's where to get the plugins. I was getting the plugins from the plugin registry site registry.gimp.org Ok here is the errors that I get on the lab plugin
marshall@taz:~/plugin> make gcc -g -O2 -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -L/usr/lib -lgimpui -lgimp -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm decompose.c -o decompose decompose.c:52:37: libgimp/stdplugins-intl.h: No such file or directory decompose.c:158: warning: implicit declaration of function `N_' decompose.c:158: initializer element is not constant decompose.c:158: (near initialization for `extract[0].type') decompose.c:158: initializer element is not constant decompose.c:158: (near initialization for `extract[0].channel_name[0]') decompose.c:159: initializer element is not constant decompose.c:159: (near initialization for `extract[0].channel_name[1]') decompose.c:160: initializer element is not constant decompose.c:160: (near initialization for `extract[0].channel_name[2]') decompose.c:160: initializer element is not constant decompose.c:160: (near initialization for `extract[0].channel_name') decompose.c:160: initializer element is not constant decompose.c:160: (near initialization for `extract[0]') decompose.c:161: initializer element is not constant decompose.c:161: (near initialization for `extract[1].type') decompose.c:161: initializer element is not constant decompose.c:161: (near initialization for `extract[1].channel_name[0]') decompose.c:161: initializer element is not constant decompose.c:161: (near initialization for `extract[1].channel_name') decompose.c:161: initializer element is not constant decompose.c:161: (near initialization for `extract[1]') decompose.c:162: initializer element is not constant decompose.c:162: (near initialization for `extract[2].type') decompose.c:162: initializer element is not constant decompose.c:162: (near initialization for `extract[2].channel_name[0]') decompose.c:162: initializer element is not constant decompose.c:162: (near initialization for `extract[2].channel_name') decompose.c:162: initializer element is not constant decompose.c:162: (near initialization for `extract[2]') decompose.c:163: initializer element is not constant decompose.c:163: (near initialization for `extract[3].type') decompose.c:163: initializer element is not constant decompose.c:163: (near initialization for `extract[3].channel_name[0]') decompose.c:163: initializer element is not constant decompose.c:163: (near initialization for `extract[3].channel_name') decompose.c:163: initializer element is not constant decompose.c:163: (near initialization for `extract[3]') decompose.c:164: initializer element is not constant decompose.c:164: (near initialization for `extract[4].type') decompose.c:164: initializer element is not constant decompose.c:164: (near initialization for `extract[4].channel_name[0]') decompose.c:165: initializer element is not constant decompose.c:165: (near initialization for `extract[4].channel_name[1]') decompose.c:166: initializer element is not constant decompose.c:166: (near initialization for `extract[4].channel_name[2]') decompose.c:166: initializer element is not constant decompose.c:166: (near initialization for `extract[4].channel_name') decompose.c:166: initializer element is not constant decompose.c:166: (near initialization for `extract[4]') decompose.c:167: initializer element is not constant decompose.c:167: (near initialization for `extract[5].type') decompose.c:167: initializer element is not constant decompose.c:167: (near initialization for `extract[5].channel_name[0]') decompose.c:167: initializer element is not constant decompose.c:167: (near initialization for `extract[5].channel_name') decompose.c:167: initializer element is not constant decompose.c:167: (near initialization for `extract[5]') decompose.c:168: initializer element is not constant decompose.c:168: (near initialization for `extract[6].type') decompose.c:168: initializer element is not constant decompose.c:168: (near initialization for `extract[6].channel_name[0]') decompose.c:168: initializer element is not constant decompose.c:168: (near initialization for `extract[6].channel_name') decompose.c:168: initializer element is not constant decompose.c:168: (near initialization for `extract[6]') decompose.c:169: initializer element is not constant decompose.c:169: (near initialization for `extract[7].type') decompose.c:169: initializer element is not constant decompose.c:169: (near initialization for `extract[7].channel_name[0]') decompose.c:169: initializer element is not constant decompose.c:169: (near initialization for `extract[7].channel_name') decompose.c:169: initializer element is not constant decompose.c:169: (near initialization for `extract[7]') decompose.c:170: initializer element is not constant decompose.c:170: (near initialization for `extract[8].type') decompose.c:170: initializer element is not constant decompose.c:170: (near initialization for `extract[8].channel_name[0]') decompose.c:171: initializer element is not constant decompose.c:171: (near initialization for `extract[8].channel_name[1]') decompose.c:172: initializer element is not constant decompose.c:172: (near initialization for `extract[8].channel_name[2]') decompose.c:172: initializer element is not constant decompose.c:172: (near initialization for `extract[8].channel_name') decompose.c:172: initializer element is not constant decompose.c:172: (near initialization for `extract[8]') decompose.c:173: initializer element is not constant decompose.c:173: (near initialization for `extract[9].type') decompose.c:173: initializer element is not constant decompose.c:173: (near initialization for `extract[9].channel_name[0]') decompose.c:173: initializer element is not constant decompose.c:173: (near initialization for `extract[9].channel_name') decompose.c:173: initializer element is not constant decompose.c:173: (near initialization for `extract[9]') decompose.c:174: initializer element is not constant decompose.c:174: (near initialization for `extract[10].type') decompose.c:174: initializer element is not constant decompose.c:174: (near initialization for `extract[10].channel_name[0]') decompose.c:174: initializer element is not constant decompose.c:174: (near initialization for `extract[10].channel_name') decompose.c:174: initializer element is not constant decompose.c:174: (near initialization for `extract[10]') decompose.c:175: initializer element is not constant decompose.c:175: (near initialization for `extract[11].type') decompose.c:175: initializer element is not constant decompose.c:175: (near initialization for `extract[11].channel_name[0]') decompose.c:175: initializer element is not constant decompose.c:175: (near initialization for `extract[11].channel_name') decompose.c:175: initializer element is not constant decompose.c:175: (near initialization for `extract[11]') decompose.c:176: initializer element is not constant decompose.c:176: (near initialization for `extract[12].type') decompose.c:176: initializer element is not constant decompose.c:176: (near initialization for `extract[12].channel_name[0]') decompose.c:177: initializer element is not constant decompose.c:177: (near initialization for `extract[12].channel_name[1]') decompose.c:178: initializer element is not constant decompose.c:178: (near initialization for `extract[12].channel_name[2]') decompose.c:179: initializer element is not constant decompose.c:179: (near initialization for `extract[12].channel_name[3]') decompose.c:179: initializer element is not constant decompose.c:179: (near initialization for `extract[12].channel_name') decompose.c:179: initializer element is not constant decompose.c:179: (near initialization for `extract[12]') decompose.c:180: initializer element is not constant decompose.c:180: (near initialization for `extract[13].type') decompose.c:180: initializer element is not constant decompose.c:180: (near initialization for `extract[13].channel_name[0]') decompose.c:180: initializer element is not constant decompose.c:180: (near initialization for `extract[13].channel_name') decompose.c:180: initializer element is not constant decompose.c:180: (near initialization for `extract[13]') decompose.c:181: initializer element is not constant decompose.c:181: (near initialization for `extract[14].type') decompose.c:181: initializer element is not constant decompose.c:181: (near initialization for `extract[14].channel_name[0]') decompose.c:181: initializer element is not constant decompose.c:181: (near initialization for `extract[14].channel_name') decompose.c:181: initializer element is not constant decompose.c:181: (near initialization for `extract[14]') decompose.c:182: initializer element is not constant decompose.c:182: (near initialization for `extract[15].type') decompose.c:182: initializer element is not constant decompose.c:182: (near initialization for `extract[15].channel_name[0]') decompose.c:182: initializer element is not constant decompose.c:182: (near initialization for `extract[15].channel_name') decompose.c:182: initializer element is not constant decompose.c:182: (near initialization for `extract[15]') decompose.c:183: initializer element is not constant decompose.c:183: (near initialization for `extract[16].type') decompose.c:183: initializer element is not constant decompose.c:183: (near initialization for `extract[16].channel_name[0]') decompose.c:183: initializer element is not constant decompose.c:183: (near initialization for `extract[16].channel_name') decompose.c:183: initializer element is not constant decompose.c:183: (near initialization for `extract[16]') decompose.c:184: initializer element is not constant decompose.c:184: (near initialization for `extract[17].type') decompose.c:184: initializer element is not constant decompose.c:184: (near initialization for `extract[17].channel_name[0]') decompose.c:184: initializer element is not constant decompose.c:184: (near initialization for `extract[17].channel_name[1]') decompose.c:184: initializer element is not constant decompose.c:184: (near initialization for `extract[17].channel_name[2]') decompose.c:184: initializer element is not constant decompose.c:184: (near initialization for `extract[17].channel_name') decompose.c:184: initializer element is not constant decompose.c:184: (near initialization for `extract[17]') decompose.c: In function `query': decompose.c:259: warning: passing arg 7 of `gimp_install_procedure' makes pointer from integer without a cast decompose.c: In function `run': decompose.c:276: warning: implicit declaration of function `INIT_I18N_UI' decompose.c:336: warning: implicit declaration of function `_' decompose.c:336: warning: passing arg 1 of `gimp_progress_init' makes pointer from integer without a cast decompose.c: In function `decompose': decompose.c:443: warning: implicit declaration of function `gettext' decompose.c:444: warning: format argument is not a pointer (arg 3) decompose.c:450: warning: format argument is not a pointer (arg 3) decompose.c:458: warning: format argument is not a pointer (arg 3) decompose.c:463: warning: format argument is not a pointer (arg 3) decompose.c:470: warning: format argument is not a pointer (arg 2) decompose.c: In function `create_new_image': decompose.c:558: warning: passing arg 2 of `gimp_layer_new' makes pointer from integer without a cast decompose.c: In function `decompose_dialog': decompose.c:1127: warning: passing arg 1 of `gimp_dialog_new' makes pointer from integer without a cast decompose.c:1134: warning: passing arg 1 of `gtk_frame_new' makes pointer from integer without a cast decompose.c:1148: warning: passing arg 2 of `gtk_radio_button_new_with_label' makes pointer from integer without a cast decompose.c:1162: warning: passing arg 1 of `gtk_check_button_new_with_label' makes pointer from integer without a cast make: *** [decompose] Error 1 Let us tackle this one first then we will try the other one. That one, I may know what is wrong but like I said, I know nothing about programming. I do need to learn though. Thanks for trying to help me with this -- Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
On 27 Feb 2003 12:33:57 -0500
Marshall Heartley
<snip>
Post the error messages you get and the url's where to get the plugins. I was getting the plugins from the plugin registry site registry.gimp.org Ok here is the errors that I get on the lab plugin
marshall@taz:~/plugin> make gcc -g -O2 -Wall -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -L/usr/lib -lgimpui -lgimp -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm decompose.c -o decompose decompose.c:52:37: libgimp/stdplugins-intl.h: No such file or directory
I came up with this from a groups.google.com search:
Make a file called "stdplugins-intl.h"
and put the following in it:
#include
On Thu, 2003-02-27 at 13:11, zentara wrote: <snip>
I came up with this from a groups.google.com search:
Make a file called "stdplugins-intl.h" and put the following in it:
#include
#define _(STR) STR #define N_(STR) STR #define INIT_I18N_UI() #define INIT_I18N()
Then copy it to /usr/include/libgimp/stdplugins-intl.h
Searching http://groups.google.com is always the best way to start working on a problem, because other people have probably already seen your exact problem, and have written about it.
Thanks, I tried it but now the thing wants libint.h I took your advice and looked at the google groups and could not find anything helpful about this file. It looks like that i need some things that are not part of the distrobution. Any ideas where I can get this file? I looked in Yast but it came back empty :( -- Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
On 27 Feb 2003 15:26:19 -0500
Marshall Heartley
Thanks, I tried it but now the thing wants libint.h I took your advice and looked at the google groups and could not find anything helpful about this file. It looks like that i need some things that are not part of the distrobution. Any ideas where I can get this file? I looked in Yast but it came back empty :(
Are you sure that is not " libintl.h" with an "small L". That is part of the glibc-devel.rpm I don't htink there is a "libint.h". -- use Perl; #powerful programmable prestidigitation
* zentara (zentara@zentara.net) [030227 17:20]:
->On 27 Feb 2003 15:26:19 -0500
->Marshall Heartley
On Fri, 2003-02-28 at 00:59, Ben Rosenberg wrote:
* zentara (zentara@zentara.net) [030227 17:20]: ->On 27 Feb 2003 15:26:19 -0500 ->Marshall Heartley
wrote: -> -> ->>Thanks, I tried it but now the thing wants libint.h I took your advice ->>and looked at the google groups and could not find anything helpful ->>about this file. It looks like that i need some things that are not ->>part of the distrobution. Any ideas where I can get this file? I ->>looked in Yast but it came back empty :( ->> -> ->Are you sure that is not " libintl.h" with an "small L". -> ->That is part of the glibc-devel.rpm -> ->I don't htink there is a "libint.h". It's part of gettext. I know SuSE has a gettext pkg but they tend to split dev pkgs away from the regular ones. Take a look for that pkg and I'll bet you'll find it. I did a google search for it and it came up in reference to lots of issues compiling GTK programs. You might also take a look at gnome.org or gtk.org to more information.
Thanks for the info! I will look at the package. I saw the references too but I could not put togeather how that package and a gimp plugin are supposed to work. I think that I made a typo in the file that zentara sent me. I corrected it and the plugin compiled! I need more info on how to either program, troubleshoot, or both! Well I got a few more plugins that might not play nice. Wish me luck and thanks all! -- Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
On Thu, 2003-02-27 at 20:15, zentara wrote:
On 27 Feb 2003 15:26:19 -0500 Marshall Heartley
wrote: Thanks, I tried it but now the thing wants libint.h I took your advice and looked at the google groups and could not find anything helpful about this file. It looks like that i need some things that are not part of the distrobution. Any ideas where I can get this file? I looked in Yast but it came back empty :(
Are you sure that is not " libintl.h" with an "small L".
That is part of the glibc-devel.rpm
I don't htink there is a "libint.h".
Thank you for the tip! I did a typo on the contents of the file that you had me create. IT compiled cleanly! Thanks! -- Marshall "Nothing is impossible, We just do not have all the anwsers to make the impossible, possible."
participants (3)
-
Ben Rosenberg
-
Marshall Heartley
-
zentara