
Eddie Developer's Kit
Compiling
The supplied Makefile contains the necessary settings for compiling your .C file into a .so shared object. Before compiling, you should edit this file to replace instances of "TemplateTool" with the name of your effect. In addition, you should make sure that all specified paths are correct.
You should use a different directory for every custom tool you create. Each directory should have its own Makefile, as well as the icon and source .C file.
To compile your tool, run smake, pmake or a similar build utility. The Makefile contains settings that are not supported by make.
- Note:
- If you used the DK_PIXEL* data type, make sure to set the BIT_16 compiler flag to compile a version that processes 16 bits per channel, and to unset BIT_16 to compile an 8 bit version. For more information, see Writing 8 and 16-Bit Versions.
Compiling your tool generates an .o and as well as a .so file. It also copies the files to their proper directories: the .so file is copied to $EDDIE3DIR/plugins (or $EDDIE3DIR/plugins16 if BIT_16 is set) and the .icon file is copied to $EDDIE3DIR/icons. Your new tool appears in the tool bar the next time you launch Eddie.
SOFTIMAGE Eddie 3.5 - 10 JAN 1997
