Graechan wrote:
Rod wrote:
Thanks Graechan.
Rod I've placed the petit-msys-mingw-gimp28 environment in my C:/ drive as below
[
Image ]
and the Makefile reads
################################################################
B_CFLAGS = -I/mingw/include -I/mingw/x86_64-w64-mingw32/include -I/python/include -pipe -O3 -mms-bitfields -march=i686 -s
B_LDFLAGS = -L/mingw/lib -L/mingw/x86_64-w64-mingw32/lib -mwindows
GIMPARGS = $(shell gimptool-2.0 --cflags --libs)
PCREARGS = $(shell pcre-config --cflags --libs)
make:
/mingw/bin/i686-w64-mingw32-gcc.exe -o vignetting.exe -Wall -O3 -Wno-unused-variable -Wno-pointer-sign -Wno-parentheses vignetting.c $(B_CFLAGS) $(B_LDFLAGS) $(GIMPARGS) $(PCREARGS) -DGIMP_DISABLE_DEPRECATED
################################################################
Rod will this compile vignetting for 64bit and if so what do I do next
Graechan place the text-font.c file in the c:/petit-msys-mingw-gimp28 directory
change the Makefile to read
################################################################
B_CFLAGS = -I/mingw/include -I/mingw/x86_64-w64-mingw32/include -I/python/include -pipe -O3 -mms-bitfields -march=i686 -s
B_LDFLAGS = -L/mingw/lib -L/mingw/x86_64-w64-mingw32/lib -mwindows
GIMPARGS = $(shell gimptool-2.0 --cflags --libs)
PCREARGS = $(shell pcre-config --cflags --libs)
make:
/mingw/bin/i686-w64-mingw32-gcc.exe -o text-font.exe -Wall -O3 -Wno-unused-variable -Wno-pointer-sign -Wno-parentheses text-font.c $(B_CFLAGS) $(B_LDFLAGS) $(GIMPARGS) $(PCREARGS) -DGIMP_DISABLE_DEPRECATED
################################################################
Open the msys terminal (bat exe file) and type cd /env and then hit enter
Type make and hit enter. The plugin will be in the same directory as the c src file. Or should be.
Place it in the plugin folder and test. Upload - DONE!
mingw is actually the base/c directory.
c:/petit-msys-mingw-gimp28 /env
c:/petit-msys-mingw-gimp28/base/c /mingw
c:/petit-msys-mingw-gimp28/base/perl /perl
c:/petit-msys-mingw-gimp28/base/c/Python /python
c:/petit-msys-mingw-gimp28/base/c/tmp /tmp
c:/petit-msys-mingw-gimp28/compilers_win32/MinGW /w32