It is currently Mon Jul 08, 2024 11:04 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: I could use some help getting started with a plugin on Windows
PostPosted: Tue Nov 02, 2021 10:57 am  (#1) 
Offline
GimpChat Member

Joined: Oct 30, 2021
Posts: 20
I would like to build a Gimp plugin that calls Scilab.

I figured out how to build an x64 program that calls Scilab from C, can store and retrieve variables, execute Scilab scripts etcetera. I was unable to get this working with Cygwin gcc probably because Scilab does not support it on Windows however it does support MingW (I haven't tried it yet).

Reading up on Gimp plugins, I found a page that describes how to build a plugin with Visual Studio however it has some rather unwieldy commands that make me think this is not the preferred approach (http://web.archive.org/web/201509060905 ... node/24883).

I have looked at Gimptool, is that what I need to execute with the appropriate CC and CFLAGS? If yes what compiler should I use, MingW? In that case I suppose I would build my Scilab plugin with MingW too. Or can I mix and match?

I could try some of this but I thought asking the question might speed things up, links and references help too. Thanks in advance!


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: I could use some help getting started with a plugin on Windows
PostPosted: Tue Nov 02, 2021 11:56 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: Jan 13, 2011
Posts: 2260
Location: Poland
Hi HenkSB.
I can not help much, but I would follow Georg Hennig's
Gimp Astronomy Plugins (C + mingw) http://www.hennigbuam.de/georg/gimp.html

_________________
Image

Slava
Ukraini!


Top
 Post subject: Re: I could use some help getting started with a plugin on Windows
PostPosted: Tue Nov 02, 2021 1:12 pm  (#3) 
Offline
GimpChat Member

Joined: Oct 30, 2021
Posts: 20
MareroQ wrote:
Hi HenkSB.
I can not help much, but I would follow Georg Hennig's
Gimp Astronomy Plugins (C + mingw) http://www.hennigbuam.de/georg/gimp.html

Nice plugin, thanks.

I got my Scilab calls working with MinGW as well now for 32-bit Scilab. I had some trouble with DLLs after adding the Scilab DLL path at the end of PATH but after prepending it, it worked.

If I want to call 64-bit Scilab I need to install MinGW-w64. Since I have a 64 bit installation of Gimp I should get MinGW-w64 anyway. That's my best bet to get a plugin working.


Top
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Cutout Effect - Gegl plugin for Windows 64bit users

2

No new posts Attachment(s) Baby's first GEGL plugin - a very basic GEGL plugin anyone can make.

9

No new posts Attachment(s) Why my windows are not See-through?

5

No new posts Attachment(s) BRL box too big in Windows 10

23

No new posts Windows 11 rollout

31



* Login  



Powered by phpBB3 © phpBB Group