Skip to main content
Inspiring
June 23, 2010
Question

Bare minimum include files/project settings for a photoshop plugin

  • June 23, 2010
  • 1 reply
  • 855 views

Hi, I've been reading the documentation and gone through some samples in the SDK and I'm starting to feel comfortable with the whole plugin environment (though there is still much for me to learn).

The question I have is "what are the bare minimum files I need to include, libraries to link, etc in order to compile a photoshop plugin?"  I apologize if this is a repeat question, I did my best to search for an answer.

The motivation behind my question is that I am ultimately interested in developing plugins for both Windows and Mac with the least amount of hassle.  Ideally, I'd like to be able to run a single script (probably on a linux machine using gcc/mingw) that compiles all of my most recent code so I'm trying to find out how can boil down the SDK to the minimum components to make this as simple as possible so my programs don't have relics/artifacts from the example code in them.  I'm also not certain how to accomplish what I just described but that's probably a question for a different forum.  Any help is much appreciated!

This topic has been closed for replies.

1 reply

Inspiring
July 4, 2010

The (GPL) sample code on my site shows how cross-platform plugins can be built for any Photoshop platform - these days, most commonly Win32, Win64, and OS X Mach-O. There are dozens of projects represented, mostly File Formats and Filters:

http://telegraphics.com.au/sw/

Makefiles are provided for OS X gcc, Microsoft Visual Express (running on Linux/WINE) for Win32 and Win64, and mingw32 (as a cross-compiler from Linux or OS X).

Contact me if you want further information.

Inspiring
July 6, 2010

Awesome.  All these samples are very helpful, appreciate it!

Inspiring
July 6, 2010

Feel free to contact me for any specific help, or a walkthrough to get started. support@telegraphics.com.au

Note that on Mac and Windows I prefer to use CLI and Makefiles to Xcode and Visual Studio. The IDE is a dispensable part of building plugins, at least if you don't want GUI debugger.