To compile a plug-in on Windows:
1. Open an XSI command prompt, and type devenv to start Visual Studio .NET.
Starting Visual Studio .NET from an XSI command prompt ensures that environment variables such as XSISDK_ROOT are set (otherwise you'll get build and link errors).
2. In Visual Studio .NET, open the project file .vcproj.
If a Source Control dialog box appears, click OK, and then in the Change Source Control dialog box, click Work Disconnected.
3. Select a configuration (Debug or Release) and build the DLL.
The first time you build the plug-in, you will be prompted to save a Solution File (.sln).
4. Load the plug-in into XSI by doing one of the following:
- In the Plug-in Manager, click Update All.
- In the Plug-in Manager, click Load, locate the plug-in .DLL, and click OK.
To compile a plug-in on Linux:
1. In a shell (tcsh) window, type:
source <XSI home directory>/.xsi_5.0
This ensures that environment variables such as XSISDK_ROOT are set (otherwise you'll get build and link errors).
Tip - In the Plug-in Tree, right-click the Plug-ins node and choose Command Prompt to open an xterm window.
2. Change directories to the location of the plug-in source code.
3. To remove all intermediate files before building the example, run this command:
gmake clean
4. To compile the example, run this command:
gmake
5. Load the plug-in into XSI by doing one of the following:
- In the Plug-in Manager, click Update All.
- In the Plug-in Manager, click Load, locate the plug-in .DLL, and click OK.
SOFTIMAGE|XSI v6.01