Niflib/Compile
From NifTools
Preparation
- Obtain the source code either from a source archive release or by checking it out from SVN.
- Get Visual C++ 2005 Express. [1]
- If you want to compile Niflyze, also download and install the Windows Platform SDK. [2] You only need to install the core x86 component to compile niflib (requires only about 100MB instead of 1GB for a full install).
- Select "Custom" installation type.
- Select "Will not be available" (red cross) for all components.
- Select "Will be installed on local hard drive" only for the component "MS Windows Core SDK -> Build Environment -> Build Environment (x86 32-bit)"
- If you want the latest development code, rather than released code, download and install TortoiseSVN [3]
Building Using the Visual Studio 2005 Solution File
- Open the niflib.sln solution file that you obtained from SVN or the source code archive.
- From the Build menu, select Configuration Manager...
- Under Active solution configuration choose Release and press the Close button.
- From the Build menu, select Build Solution
- Once the solution is built, you will find niflib.lib in the bin directory above the one you downloaded the niflib source to.