Can anyone show me how to compile the simple Plug-in1 "hello' message on GIMP. The simple plugin for gimp is available at this link :http://developer.gimp.org/writing-a-plug-in/1/index.html. I have included one header file called libgimp.h which is similar to #include <libgimp/gimp.h> from the developers website. I am using devcpp-4.9.9.2 with mingw compiler for windows. I have 41 error when trying to compile the Simple Plug-in: Compiler: Default compiler Executing gcc.exe... gcc.exe "D:\New Folder\hello.c" -o "D:\New Folder\hello.exe" -I"D:\Dev-Cpp\include" -L"D:\Dev-Cpp\lib" In file included from D:\New Folder\hello.c:2: D:\New Folder\/gimp.h:10: error: syntax error before '*' token D:\New Folder\/gimp.h:22: error: syntax error before "gimp_main" D:\New Folder\/gimp.h:22: error: syntax error before "argc" D:\New Folder\/gimp.h:23: warning: data definition has no type or storage class D:\New Folder\/gimp.h:24: error: syntax error before "gimp_default_display" D:\New Folder\/gimp.h:24: warning: data definition has no type or storage class D:\New Folder\/gimp.h:25: error: syntax error before '*' token D:\New Folder\/gimp.h:38: error: syntax error before '*' token D:\New Folder\/gimp.h:52: error: syntax error before '*' token D:\New Folder\/gimp.h:53: error: syntax error before '*' token D:\New Folder\/gimp.h:53: error: syntax error before '*' token D:\New Folder\/gimp.h:55: warning: data definition has no type or storage class D:\New Folder\/gimp.h:56: error: syntax error before '*' token D:\New Folder\/gimp.h:56: error: syntax error before '*' token D:\New Folder\/gimp.h:59: warning: data definition has no type or storage class D:\New Folder\/gimp.h:60: error: syntax error before '*' token D:\New Folder\/gimp.h:62: error: syntax error before '*' token D:\New Folder\/gimp.h:64: error: syntax error before "gimp_gamma" D:\New Folder\/gimp.h:64: warning: data definition has no type or storage class D:\New Folder\/gimp.h:65: error: syntax error before "gimp_install_cmap" D:\New Folder\/gimp.h:65: warning: data definition has no type or storage class D:\New Folder\/gimp.h:66: error: syntax error before "gimp_use_xshm" D:\New Folder\/gimp.h:66: warning: data definition has no type or storage class D:\New Folder\/gimp.h:67: error: syntax error before '*' token D:\New Folder\/gimp.h:67: warning: data definition has no type or storage class D:\New Folder\/gimp.h:68: error: syntax error before "gimp_min_colors" D:\New Folder\/gimp.h:68: warning: data definition has no type or storage class D:\New Folder\/gimp.h:69: error: syntax error before '*' token D:\New Folder\/gimp.h:69: warning: data definition has no type or storage class D:\New Folder\/gimp.h:70: error: syntax error before '*' token D:\New Folder\hello.c: In function `query': D:\New Folder\hello.c:6: error: syntax error before "args" D:\New Folder\hello.c: At top level: D:\New Folder\hello.c:25: error: syntax error before string constant D:\New Folder\hello.c:34: error: conflicting types for 'gimp_install_procedure' D:\New Folder\/gimp.h:37: error: previous declaration of 'gimp_install_procedure' was here D:\New Folder\hello.c:34: error: conflicting types for 'gimp_install_procedure' D:\New Folder\/gimp.h:37: error: previous declaration of 'gimp_install_procedure' was here D:\New Folder\hello.c:37: error: syntax error before '*' token D:\New Folder\hello.c: In function `run': D:\New Folder\hello.c:43: error: syntax error before "values" D:\New Folder\hello.c:44: error: `GimpPDBStatusType' undeclared (first use in this function) D:\New Folder\hello.c:44: error: (Each undeclared identifier is reported only once D:\New Folder\hello.c:44: error: for each function it appears in.) D:\New Folder\hello.c:45: error: `GimpRunMode' undeclared (first use in this function) D:\New Folder\hello.c:48: error: `nreturn_vals' undeclared (first use in this function) D:\New Folder\hello.c:49: error: `return_vals' undeclared (first use in this function) D:\New Folder\hello.c:49: error: `values' undeclared (first use in this function) D:\New Folder\hello.c:51: error: `GIMP_PDB_STATUS' undeclared (first use in this function) D:\New Folder\hello.c:52: error: `status' undeclared (first use in this function) D:\New Folder\hello.c:56: error: `run_mode' undeclared (first use in this function) D:\New Folder\hello.c:56: error: `param' undeclared (first use in this function) D:\New Folder\hello.c:58: error: `GIMP_RUN_NONINTERACTIVE' undeclared (first use in this function) Execution terminated -- Yavala ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. _______________________________________________ Gimp-developer mailing list Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer