This page discusses how to build the Magic Lantern SDK for Microsoft Win32 platforms using MSBuild. Instructions for building the Magic Lantern SDK for Microsoft platforms using Visual Studio can be found at SDK Build Environment using Microsoft Visual Studio.
This section identifies dependencies for building the Magic Lantern SDK.
These instructions assume the following
Set the variable MLE_HOME to reference the home of the Magic Lantern source. This document assumes that it is set to "M:\projects\MagicLantern".
Set the variable MLE_ROOT to reference the root directory where the Magic Lantern components will be installed. This document assumes that it is set to "M:/projects/MagicLantern".
Note that this variable uses the UNIX-style path delimiter ('/').
Set the variable MLE_WORKPRINTS to the root directory where Magic Lantern Digital Workprints can be located. This document assumes that it is set to //M/projects/MagicLantern.
The Magic Lantern Studio assumes that the Digital Workprints will be located under the $MLE_WORKPRINTS/workprints directory.
Note that this variable uses a canonical path style for the drive (i.e. //M/).
Set the MLEDEV_CORE variable to the development directory where the Core library source is. This value will most likely be $MLE_HOME\Core.
Set the MLEDEV_DWP variable to the development directory where the Digital Workprint library source is. This value will most likely be $MLE_HOME\DigitalWorkprint.
Set the MLEDEV_DPP variable to the development directory where the Digital Playprint library source is. This value will most likely be $MLE_HOME\DigitalPlayprint.
Set the TCL_HOME variable to the installation directory for ActiveTcl. For these instructions, use M:\Tcl.
Set the COINDIR variable to the installation directory for Coin3D. For these instructions, use M:\Coin3D.
Set the FREEIMAGEDIR variable to the installation directory for FreeImage. For these instructions, use M:\FreeImage\Dist.
Set the BRENDER_PATH variable to the installation directory for BRender. For these instructions, use M:\BRENDER\V1_2_1\DAT.
Make sure the following paths are part of the PATH environment variable.
To build the SDK for a 32-bit platform, do the following:
Not yet supported.
The following targets are available:
Target | Components | Location | Description |
---|---|---|---|
BuildSDK32 | Build all the SDK components for the 32-bit platform | ||
BuildUtil32 | Build all the util components for the 32-bit platform | ||
util.lib | "$MLE_HOME\lib\tools" | Magic Lantern 32-bit Studio (Release) | |
utild.lib | "$MLE_HOME\lib\tools" | Magic Lantern 32-bit Studio (Debug) | |
BuildMath32 | Build all the math components for the 32-bit platform | ||
mlmath.lib | "$MLE_HOME\lib\runtime\stdcall" | Magic Lantern 32-bit SDK (BRender Floating-point Release) | |
mlmathd.lib | "$MLE_HOME\lib\runtime\stdcall" | Magic Lantern 32-bit SDK (BRender Floating-point Debug) | |
mlfmath.lib | "$MLE_HOME\lib\runtime\stdcall" | Magic Lantern 32-bit SDK (BRender Fixed-point Release) | |
mlfmathd.lib | "$MLE_HOME\lib\runtime\stdcall" | Magic Lantern 32-bit SDK (BRender Fixed-point Debug) | |
mlmath.lib | "$MLE_HOME\lib\runtime\cdecl" | Magic Lantern 32-bit Studio (Floating-point Release) | |
mlmath.lib | "$MLE_HOME\lib\tools" | Magic Lantern 32-bit Studio (Floating-point Release) | |
mlmathd.lib | "$MLE_HOME\lib\runtime\cdecl" | Magic Lantern 32-bit Studio (Floating-point Debug) | |
mlmathd.lib | "$MLE_HOME\lib\tools" | Magic Lantern 32-bit Studio (Floating-point Debug) | |
mlmath.dll | "$MLE_HOME\bin\rehearsal" | Magic Lantern 32-bit Studio (Floating-point Release DLL) | |
mlmath.lib | "$MLE_HOME\lib\rehearsal" | Magic Lantern 32-bit Studio (Floating-point Release DLL Symbols) | |
mlmathd.dl* | "$MLE_HOME\bin\rehearsal" | Magic Lantern 32-bit Studio (Floating-point Debug DLL) | |
mlmathd.lib | "$MLE_HOME\lib\rehearsal" | Magic Lantern 32-bit Studio (Floating-point Debug DLL Symbols) | |
BuildDwp32 | Build all the Digital Workprint components for the 32-bit platform | ||
DWPBase.lib | "$MLE_HOME\lib\tools" | DWP Base library, Magic Lantern 32-bit Studio (Release) | |
DWPBased.lib | "$MLE_HOME\lib\tools" | DWP Base library, Magic Lantern 32-bit Studio (Debug) | |
DWPType.lib | "$MLE_HOME\lib\tools" | DWP Type library, Magic Lantern 32-bit Studio (Release) | |
DWPTyped.lib | "$MLE_HOME\lib\tools" | DWP Type library, Magic Lantern 32-bit Studio (Debug) | |
DWPModel.lib | "$MLE_HOME\lib\tools" | DWP Model library, Magic Lantern 32-bit Studio (Release) | |
DWPModeld.lib | "$MLE_HOME\lib\tools" | DWP Model library, Magic Lantern 32-bit Studio (Debug) | |
DWP.lib | "$MLE_HOME\lib\tools" | DWP SDK library, Magic Lantern 32-bit Studio (Release) | |
DWPd.lib | "$MLE_HOME\lib\tools" | DWP SDK library, Magic Lantern 32-bit Studio (Debug) | |
DWP.dll | "$MLE_HOME\bin\rehearsal" | DWP SDK library, Magic Lantern 32-bit Studio (Release DLL) | |
DWP.lib | "$MLE_HOME\lib\rehearsal" | DWP SDK library, Magic Lantern 32-bit Studio (Release DLL Symbols) | |
DWPd.dll | "$MLE_HOME\bin\rehearsal | DWP SDK library, Magic Lantern 32-bit Studio (Debug DLL) | |
DWPd.lib | "$MLE_HOME\lib\rehearsal" | DWP SDK library, Magic Lantern 32-bit Studio (Debug DLL Symbols) | |
DWPChecker.exe | "$MLE_HOME\bin" | DWP Validation tool, Magic Lantern 32-bit Studio (Release) | |
BuildDpp32 | Build all the Digital Playprint library components for the 32-bit platform | ||
DPPBase.lib | "$MLE_HOME\lib\tools" | DPP Base library, Magic Lantern 32-bit Studio (Release) | |
DPPBased.lib | "$MLE_HOME\lib\tools" | DPP Base library, Magic Lantern 32-bit Studio (Debug) | |
DPPType.lib | "$MLE_HOME\lib\tools" | DPP Type library, Magic Lantern 32-bit Studio (Release) | |
DPPTyped.lib | "$MLE_HOME\lib\tools" | DPP Type library, Magic Lantern 32-bit Studio (Debug) | |
DPPModel.lib | "$MLE_HOME\lib\tools" | DPP Model library, Magic Lantern 32-bit Studio (Release) | |
DPPModeld.lib | "$MLE_HOME\lib\tools" | DPP Model library, Magic Lantern 32-bit Studio (Debug) | |
DPP.lib | "$MLE_HOME\lib\tools" | DPP SDK library, Magic Lantern 32-bit Studio (Release) | |
DPPd.lib | "$MLE_HOME\lib\tools" | DPP SDK library, Magic Lantern 32-bit Studio (Debug) | |
BuildDppRuntime32 | Build all the Digital Playprint runtime components for the 32-bit platform | ||
playprint.lib | "$MLE_HOME\lib\tools" | Magic Lantern Studio (Release) | |
playprint.lib | "$MLE_HOME\lib\runtime\stdcall" | Magic Lantern 32-bit SDK (BRender Release) | |
playprint.lib | "$MLE_HOME\lib\runtime\cdecl" | Magic Lantern 32-bit SDK (Other Release) | |
playprintd.lib | "$MLE_HOME\lib\tools" | Magic Lantern 32-bit Studio (Debug) | |
playprintd.lib | "$MLE_HOME\lib\runtime\stdcall" | Magic Lantern 32-bit SDK (BRender Debug) | |
playprintd.lib | "$MLE_HOME\lib\runtime\cdecl" | Magic Lantern 32-bit SDK (Other Debug) |