How to Compile a Gimp Plugin under Windows

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown How to Compile a Gimp Plugin under Windows

by itittof-gimpwinusers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, I'd like to compile the sources of the DBP Gimp Plugin, under Windows.

Here the sources of DBP: http://members.ozemail.com.au/~hodsond/dbp.html

What I did so far:

Phase 1) Preparation of compiling environment


I downloaded the MinGW runtime, the GCC core and c++ tarballs w32api,
the binutils etc. from this page:
http://sourceforge.net/project/showfiles.php?group_id=2435





I installed them and added the bin folder to my environment PATH...





I also downloaded the GTK development pack from the GTK page, as well
as gimp-dev-2.4 from http://www.gimp.org/~tml/gimp/win32/downloads.html
and added their lib folder to my PATH...



Phase 2) Compiling...



I unzipped the dbp 1.1.8 sources and when I run mingw32-make (inside the sources folder) I get a
lot of errors, but first of I see some not found errors:





gui.h:23:21: gtk/gtk.h: No such file or directory


In file included from op.h:26,


                 from gui.h:26,


                 from dbp.cc:68:


gimpCall.h:25:26: libgimp/gimp.h: No such file or directory


gimpCall.h:26:28: libgimp/gimpui.h: No such file or directory


In file included from op.h:26,


                 from gui.h:26,


                 from dbp.cc:68:





So I copied the gtk, gdk, libgimp folders from the developments
packages in the dbp-1.1.8 sources folder and tried again to run mingw32-make but I still get a load of errors, so I'm thinking that before going on and loosing my entire day I could ask to some kind soul to help me, maybe to setup a correct Compiling Environment (or conrfigure the makefile, no idea how to do that) so that I don't need to copy the lib folders inside the dbp sources folder or doing other dirty tries...

If you think that cygwin is a better environment I will try that.

Just guide me step by step please, I'm a total beginner in compiling C applications.

Best regards,

Paolo



      Posta, news, sport, oroscopo: tutto in una sola pagina.
Crea l'home page che piace a te!
www.yahoo.it/latuapagina

[Non-text portions of this message have been removed]

LightInTheBox - Buy quality products at wholesale price