Changes between Version 1 and Version 2 of BuildingWindowsDependencies
- Timestamp:
- Jan 24, 2016, 5:38:22 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingWindowsDependencies
v1 v2 142 142 * Press '''Configure''' 143 143 * Choose '''Yes''' to create the build directory if it doesn't exist 144 * Choose '''Visual Studio 2013''' default native compiler as generator, then Finish144 * Choose '''Visual Studio 12 2013''' default native compiler as generator, then Finish 145 145 * There should be an error because it can't find zlib yet 146 146 * Set `ZLIB_INCLUDE_DIR` to the path to the zlib headers (in SVN, that is `libraries\win32\zlib\include`) … … 151 151 * Press '''Configure''' until there are no errors or red entries 152 152 * Press '''Generate''' 153 * In `lpng1xxx\build`, there should be a libpng.sln you can open in Visual Studio 2013. Open it153 * In `lpng1xxx\build`, there should be a `libpng.sln` solution you can open in Visual Studio 2013. Open it 154 154 * Open '''png1x''' project properties, select '''Debug''' configuration. Under '''Configuration Properties > Linker > Input > Additional Dependencies''', add a "d" onto the end of the zlib .lib filename (so it uses the zlib debug build in this case) 155 * Optional DLL version info: add lpng1xxx\scripts\pngwin.rcas a source file in the png1x project155 * Optional DLL version info: add `lpng1xxx\scripts\pngwin.rc` as a source file in the png1x project 156 156 * Build solution for '''Debug''' configuration, there should be no errors. Build the INSTALL project to copy files to the install folders set up earlier 157 157 * Repeat for '''Release''' configuration … … 198 198 nmake /f Makefile.msvc install 199 199 }}} 200 201 == OpenAL Soft == 202 203 * CMake GUI-based build: 204 * [https://www.microsoft.com/en-us/download/details.aspx?id=6812 Download] and install Microsoft DirectX SDK (June 2010) 205 * [http://kcat.strangesoft.net/openal.html Download OpenAL-Soft] source and extract somewhere (`X:\path\to\openal-soft-x.xx.x`) 206 * Open cmake-gui (v3.2 in this example) 207 * Set source location to the `X:\path\to\openal-soft-x.xx.x` folder 208 * Set build location to `X:\path\to\openal-soft-x.xx.x\build` (this way the build files will be separate from the source) 209 * Press '''Configure''' 210 * Choose '''Yes''' to create the build directory if it doesn't exist 211 * Choose '''Visual Studio 12 2013''' default native compiler as generator, then Finish 212 * Add Entry, `CMAKE_GENERATOR_TOOLSET` as a String, and set the value to '''v120_xp''' (to use the XP compatible toolset) 213 * Change `CMAKE_INSTALL_PREFIX` to `X:\path\to\openal-soft-x.xx.x\install` 214 * Uncheck/turn off `ALSOFT_UTILS` 215 * Press '''Configure''' until there are no errors or red entries (warnings are OK) 216 * Press '''Generate''' 217 * In `X:\path\to\openal-soft-x.xx.x\build`, there should be an `OpenAL.sln` solution you can open in Visual Studio 2013. Open it 218 * Build solution for '''Release''' configuration 219 * Build the '''INSTALL''' project by right-clicking on it (to copy files to the install folders set up earlier) 220 * `openal-soft-x.xx.x\install` should contain all the newly built libs 200 221 201 222 == zlib == … … 208 229 * Press '''Configure''' 209 230 * Choose '''Yes''' to create the build directory if it doesn't exist 210 * Choose '''Visual Studio 2013''' default native compiler as generator, then Finish231 * Choose '''Visual Studio 12 2013''' default native compiler as generator, then Finish 211 232 * Add Entry, `CMAKE_GENERATOR_TOOLSET` as a String, and set the value to '''v120_xp''' (to use the XP compatible toolset) 212 * Change CMAKE_INSTALL_PREFIXto `X:\path\to\zlib-x.x.x\install`233 * Change `CMAKE_INSTALL_PREFIX` to `X:\path\to\zlib-x.x.x\install` 213 234 * Change `INSTALL_*` group entries to `X:\path\to\zlib-x.x.x\install\*` 214 235 * Press '''Configure''' until there are no errors or red entries 215 236 * Press '''Generate''' 216 237 * In `zlib-x.x.x\build`, there should be a `zlib.sln` solution you can open in Visual Studio 2013. Open it 217 * Build solution for Debugconfiguration, there should be no errors238 * Build solution for '''Debug''' configuration, there should be no errors 218 239 * Build the '''INSTALL''' project by right-clicking on it (to copy files to the install folders set up earlier) 219 * Repeat for Releaseconfiguration240 * Repeat for '''Release''' configuration 220 241 * `zlib-x.x.x\install` should contain all the newly built libs