Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating plugins Windows 10
#2
OK.  A little bit of progress.  I guess you would need to build a plugin from the command line:


Code:
gimptool-2.0.exe --build PluginName.c

However, it's complaining with this...

Code:
'pkg-config' is not recognized as an internal or external command,
operable program or batch file.
No output from 'pkg-config --cflags gimpui-2.0'

You can get it and it's dependencies here:

http://ftp.gnome.org/pub/gnome/binaries/..._win32.zip
http://ftp.gnome.org/pub/gnome/binaries/..._win32.zip
http://ftp.gnome.org/pub/gnome/binaries/..._win32.zip

Unfortunately, these don't work on my AMD 64-bit machine.  I'll keep digging.

Update.  You need to do the following to get pkg-config going...

Go to http://ftp.gnome.org/pub/gnome/binaries/...endencies/
Download the file pkg-config_0.26-1_win32.zip
Extract the file bin/pkg-config.exe to C:\MinGW\bin
Download the file gettext-runtime_0.18.1.1-2_win32.zip
Extract the file bin/intl.dll to C:\MinGW\bin
Go to http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.28
Download the file glib_2.28.8-1_win32.zip
Extract the file bin/libglib-2.0-0.dll to C:\MinGW\bin

Except now it's giving me this:

Code:
Package gimpui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gimpui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gimpui-2.0' found
No output from 'pkg-config --cflags gimpui-2.0'

I have no idea where gimpui-2.0.pc is located.  I'll keep digging.

I created a blank file named 'gimpui-2.0.pc' and dropped it in MinGW/bin
I've set PKG_CONFIG_PATH without quotations to MinGW/bin is located and it now says this:


Code:
Package 'gimpui-2.0' has no Name: field
No output from 'pkg-config --cflags gimpui-2.0'

Progress... but now I gotta' figure out what goes in this .pc file.
Reply


Messages In This Thread
Creating plugins Windows 10 - by Tom Swift - 01-31-2021, 09:56 PM
RE: Creating plugins Windows 10 - by Tom Swift - 01-31-2021, 11:35 PM
RE: Creating plugins Windows 10 - by Tom Swift - 02-01-2021, 12:54 AM
RE: Creating plugins Windows 10 - by Tom Swift - 02-01-2021, 04:59 AM
RE: Creating plugins Windows 10 - by Tom Swift - 02-01-2021, 06:13 AM
RE: Creating plugins Windows 10 - by Tom Swift - 02-01-2021, 07:19 AM

Forum Jump: