Cutter
|
Compilation & Linking
Upon receiving the keyboard shortcut Makefile.shadeop_LINUX,
Makefile.shadeop_OSX, or
Compile_shadeop.bat
Cutter searches for the appropriate template file in the users
|
|
Listing 1 (Makefile.rslplugin_LINUX)
|
|
Within a template Makefile the following strings act as "placeholders", DEVKIT_INCLUDE_PATH
OTHER_INCLUDE_PATHS
YOUR_DSO_NAME
OTHER_OBJ_PATHS
Cutter copies the text from a template file and substitutes the placeholders with the appropriate information derived from the name of the 'C/C++' file the user is editing and from information found in preferences. Therefore, it is essential the user has correctly setup their prefs. Setting Up the ShadeOP/RslPlugin Preferences
The preferences for "Rsl C/C++" is shown in figure 3. The first path should specify
the location of the
The "User Paths", shown above, should specify the full path to the
users Rman->Docs->Documentation Directories->RPS index
DSO LocationsIf compilation and linking are successful, a DSO will be created in the same directory as the users 'C/C++' source code. If the user has set their "User Paths & Options" (figure 5), additional copies of the DSO will be saved in the users "shaders" and "RSL source" directories.
|
© 2002- Malcolm Kesson. All rights reserved.