-
Notifications
You must be signed in to change notification settings - Fork 3
Plugin binary dependencies Windows build
Let's assume we want to build everything under c:\work
cd c:\work
Get zlib from http://www.gzip.org/zlib/ and extract to c:\work\zlib-src
cd zlib-src
mkdir build
cd build
cmake -T v120_xp ..
Edit cmake_install.cmake
and replace all the occurences of C:/Program Files/zlib
with c:/work/deps
cmake --build . --config release --target install
Get OpenSSL from http://www.openssl.org/ and extract to c:\work\openssl-src
cd openssl-src
perl Configure VC-WIN32 no-asm --prefix=c:\work\deps
Edit Makefile, add -D_USING_V120_SDK71_
to CFLAG
ms\do_ms
nmake -f ms\ntdll.mak
nmake -f ms\ntdll.mak install
Set the environment variable OPENSSL_ROOT_DIR
to C:\work\deps
Get cUrl from http://curl.haxx.se/download.html and extract to c:\work\curl-src
cd curl-src
mkdir build
cd build
cmake -DOPENSSL_ROOT_DIR=c:/work/deps -DZLIB_ROOT=C:/work/deps -T v120_xp ..
cmake --build . --config release
If it fails because of the tests, just get rid of them in CMakeLists.txt
Get Portaudio from http://www.portaudio.com/download.html and extract to c:\work\portaudio
cd portaudio
mkdir make
cd make
cmake -T v120_xp ..
cmake --build . --config release
Get expat from http://expat.sourceforge.net and extract to c:\work\expat-2.1.0
cd expat-2.1.0
mkdir build
cd build
cmake -T v120_xp ..
cmake --build . --config release
Get libwebsockets from http://libwebsockets.org Some parts of 1.7 don't build because of missing _snprintf, but we don't care as all we need is the library.
cd libwebsockets
mkdir build
cd build
cmake -DOPENSSL_ROOT_DIR=c:/work/deps -Tv120_xp ..
cmake --build . --config release