Setting Up Your Windows Environment
Starting Visual Studio .NET
You should start Visual Studio .NET from a command prompt. This ensures that the environment variables (such as CROSSWALKSDK_ROOT) are inherited by Visual Studio .NET.
Project Configuration Properties
In Visual Studio .NET, you’ll need to set the following project configuration properties.
|
Property |
Values |
|
C/C++ > General > Additional Include Directories |
$(XSISDK_ROOT)\include\FTK $(XSISDK_ROOT)\include\Core |
|
C/C++ > Preprocessor > Preprocessor Definitions |
__XSI_APPLICATION_ XSI_STATIC_LINK (if you want to link with XSIFtk_static.lib) |
|
C/C++ > Code Generation > Runtime Library |
Multi-threaded DLL (/MDd) - or - Multi-threaded Debug DLL (/MDd) |
|
Linker > General > Additional Library Directories |
$(XSISDK_ROOT)\lib\nt-x86 -or- $(XSISDK_ROOT)\lib\nt-x86-64 |
|
Linker > Input > Additional Dependencies |
Add the name of the library you want to link with: • XSIFtk.lib (Release) • XSIFtkd.lib (Debug) • XSIFtk_static.lib (Static) |
To make the location of the Crosswalk SDK include and library directories available in all projects, you can add these directories to the global VC++ Directories:
1. In Visual Studio .NET, click Tools > Options.
2. Expand Projects and click VC++ Directories.
3. In the Show directories for list, click Include files. Then add the include\FTK and include\Core folders.
4. In the Show directories for list, click Library files and add the location of the Crosswalk SDK libraries.
Running the Compiled Crosswalk SDK Application
To run a compiled Crosswalk SDK application, you’ll need to copy XSIFtk.dll (or XSIFtkd.dll for a debug version) to the same folder as your application, or add the location of XSIFtk.dll to your PATH.
Autodesk Softimage v7.5