This directory contains all of the files needed to build under Windows. Currently we build using Microsoft's nmake and MSVC 2012 and above.
- Powershell 4.0 or above
- .NET Framework 4.5 or above
Refer to "PowerShell DS3 Module" documentation in the DS3 Net sdk for information about PowerShell installation.
To create a release package, run /win32/package.bat
. Note that this script
executes the Visual Studio 2012 Command Prompt environment script, so if you're
using a different version of Visual Studio you'll have to modify the Visual
Studio install path inside of /win32/package.bat
.
To build the client including the sample executable do the following
- Open a new Visual Studio Command Prompt.
- Run the following command:
nmake -f Makefile.vc
- Makefile.vc places the resulting binaries inside of
/win32/output/bin
by default.
The SDK depends upon several open source libraries. For convenience we
redistribute these dependencies in the /win32/deps/install
directory.
To re-build the dependencies, follow the following procedure:
- Delete the built dependency directory at
/win32/deps/install
. - Download and extract the dependency library packages.
- The Unix shell script at
/win32/deps/build/download_and_unzip.sh
can do this for you, but you don't strictly need to use it. You can also manually download the URLs and extract using whatever utility you like. Note that the glib package must be extracted to/win32/deps/build/prebuilt
.
- The Unix shell script at
- The Windows batch file
/win32/deps/install.bat
compiles and installs the dependencies into the/win32/deps/install
directory. It executes the Visual Studio 2012 Command Prompt environment script, so if you're using a different version you'll have to modify the Visual Studio install path inside ofinstall.bat
.