Changes between Version 1 and Version 2 of BuildingWindowsDependencies


Ignore:
Timestamp:
Jan 24, 2016, 5:38:22 AM (8 years ago)
Author:
historic_bruno
Comment:

Adds OpenAL Soft instructions

Legend:

Unmodified
Added
Removed
Modified
  • BuildingWindowsDependencies

    v1 v2  
    142142        * Press '''Configure'''
    143143          * Choose '''Yes''' to create the build directory if it doesn't exist
    144         * Choose '''Visual Studio 2013''' default native compiler as generator, then Finish
     144        * Choose '''Visual Studio 12 2013''' default native compiler as generator, then Finish
    145145        * There should be an error because it can't find zlib yet
    146146        * Set `ZLIB_INCLUDE_DIR` to the path to the zlib headers (in SVN, that is `libraries\win32\zlib\include`)
     
    151151        * Press '''Configure''' until there are no errors or red entries
    152152        * Press '''Generate'''
    153         * In `lpng1xxx\build`, there should be a libpng.sln you can open in Visual Studio 2013. Open it
     153        * In `lpng1xxx\build`, there should be a `libpng.sln` solution you can open in Visual Studio 2013. Open it
    154154        * 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.rc as a source file in the png1x project
     155        * Optional DLL version info: add `lpng1xxx\scripts\pngwin.rc` as a source file in the png1x project
    156156        * Build solution for '''Debug''' configuration, there should be no errors. Build the INSTALL project to copy files to the install folders set up earlier
    157157        * Repeat for '''Release''' configuration
     
    198198        nmake /f Makefile.msvc install
    199199        }}}
     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
    200221
    201222== zlib ==
     
    208229        * Press '''Configure'''
    209230          * Choose '''Yes''' to create the build directory if it doesn't exist
    210         * Choose '''Visual Studio 2013''' default native compiler as generator, then Finish
     231        * Choose '''Visual Studio 12 2013''' default native compiler as generator, then Finish
    211232        * 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_PREFIX to `X:\path\to\zlib-x.x.x\install`
     233        * Change `CMAKE_INSTALL_PREFIX` to `X:\path\to\zlib-x.x.x\install`
    213234        * Change `INSTALL_*` group entries to `X:\path\to\zlib-x.x.x\install\*`
    214235        * Press '''Configure''' until there are no errors or red entries
    215236        * Press '''Generate'''
    216237        * 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 Debug configuration, there should be no errors
     238        * Build solution for '''Debug''' configuration, there should be no errors
    218239          * Build the '''INSTALL''' project by right-clicking on it (to copy files to the install folders set up earlier)
    219         * Repeat for Release configuration
     240        * Repeat for '''Release''' configuration
    220241        * `zlib-x.x.x\install` should contain all the newly built libs