VS2013 External Libraries

Download

The precompiled external libraries can be downloaded from

  • Todo

Compile (optional)

Notes for manually compiling follow

Work from the "VS2013 x64 Native Tools Command Prompt" command line where necessary

Start at step 13, then start from 1 while that is running

Sign using timestamp server http://timestamp.comodoca.com/authenticode

1) zlib (dependency of curl)

Download http://zlib.net/zlib128.zip

Use CMake to build

2) openssl (dependency of curl)

Follow instructions under INSTALL.W64 "To build for Win64/x64"

3) curl

Download http://curl.haxx.se/download/curl-7.43.0.zip

Use CMake to build

Verify that it's using your zlib and openssl in the CMake configuration

4) libjpeg

Use CMake version from https://github.com/LuaDist/libjpeg

Build static (only used for CBitmap)

5) libpng

CMake

Verify ZLIB_ (in advanced)

Build static (only used for CBitmap)

6) (lib)iconv (sad) (sad) (sad)

Get from https://github.com/pffang/libiconv-for-Windows because GNU being shitty

Use VS2013 sln

Rename target to just iconv instead of libiconv

Don't forget set to x64

7) libxml2 (sad) (smile)

Need to copy configure.in from 2.9.1 to latest, because they deleted it for some reason (sad) (sad) (sad)

cd win32
cscript configure.js iconv=yes zlib=yes lib=U:\2015q3-external-vs2013-x64\zlib\lib;U:\2015q3-external-vs2013-x64\iconv\lib include=
U:\2015q3-external-vs2013-x64\zlib\include;U:\2015q3-external-vs2013-x64\iconv\include debug=no

Hack multiple dirs in generated config.msvc to add libiconv lib and include dirs 

nmake /f Makefile.msvc

(With 2.9.3 under VS2015 is compiling without needing hacks (smile))

8) freetype

Easy CMake (smile)

9) squish

Open the VS sln

Build Release x64

Also build Debug version squishd

10) libogg

libogg_dynamic.sln

11) libvorbis

vorbis_dynamic.sln

Modify to point to libogg output directory

12) lua

Use latest 5.2 from http://www.lua.org/ftp/

Get CMakeLists.txt etcetera from https://github.com/LuaDist/lua/archive/master.zip

Or for 5.3 follow http://blog.spreendigital.de/2015/01/16/how-to-compile-lua-5-3-0-for-windows/

13) boost (dependency of luabind)

bootstrap.bat
.\b2

14) luabind

Download luabind (rpavlik fork for 5.2 compatibility) (sad)

CMake (smile)

Need to build separate Debug as well, rename to luabindd

Or for 5.3 use http://hg.kervala.net/luabind

15) sql

Get mysql-connector-c-6.1.6-src

CMake

Need to hack it a bit to use proper zlib and proper openssl

Make sure zlib.dll is in system path during build for GenError to work