Debian Codegraph @

docs/compile.visualstudio2015.md

raw symbols SCIP
1 # A step-by-step guide for building PvPGN using Visual Studio 2015
2 ---
3
4 ##### Requirements
5 - [Visual Studio 2015 Community](https://www.visualstudio.com/products/visual-studio-community-vs)
6 - [CMake](https://cmake.org/download/)
7 - [zlib](http://zlib.net/)
8 - [PvPGN](https://github.com/pvpgn/pvpgn-server)
9
10 ##### Optional
11 - [MySQL](http://dev.mysql.com/downloads/mysql/)
12 - [PostgreSQL](http://www.postgresql.org/download/windows/)
13 - [SQLite](https://sqlite.org/download.html)
14 ---
15
16 ##### Instructions
17 - Install *Visual Studio 2015*
18 - Install *CMake*
19 - Download zlib
20 - Download PvPGN source
21 - Extract PvPGN source to C:\pvpgn\
22 - Create a folder called *zlib* inside your PvPGN base folder ( i.e. C:\pvpgn\zlib\ )
23 - Extract the following files from *zlib128-dll.zip\include* into the *zlib* folder:
24 - zconf.h, zlib.h
25 - Extract the following files from the *zlib128-dll.zip\lib* into the *zlib* folder:
26 - zdll.lib
27 - Install *MySQL* if you intend to use it as a storage backend
28 - Install *PostgreSQL* if you intend to use it as a storage backend
29 - Install *SQLite* if you intend to use it as a storage backend
30 - Create a folder called *build* inside your PvPGN base folder ( i.e. C:\pvpgn\build\ )
31 - Run *cmake-gui.exe*
32 - *Where is the source code*: C:\pvpgn
33 - *Where to build the binaries*: C:\pvpgn\build
34 - Click the *Configure* button
35 - Select *Visual Studio 14 2015* as the generator
36 - Select *Use default native compilers*
37 - Click the *Finish* button
38 - Enable optional components if required ( *WITH_MYSQL*, *WITH_PGSQL*, *WITH_SQLITE3*, *WITH_LUA*, *WITH_WIN32_GUI* )
39 - Click the *Configure* button again
40 - Click the *Generate* button
41 - Close *CMake*
42 - Open *C:\pvpgn\build\pvpgn.sln* with Visual Studio
43 - Build the *ALL_BUILD* project
44 - Build the *INSTALL* project
45 - Open C:\Program Files (x86)\pvpgn
46 - Extract the following files from *zlib128-dll.zip* into the *pvpgn* folder:
47 - zlib1.dll
48 - If required, extract the following files from C:\Program Files\MySQL\MySQL Server 5.6.23\lib\opt\ into the *pvpgn* folder:
49 - libmysql.dll
50 - If required, extract the following files from C:\Program Files\PostgreSQL\9.4.1\bin\ into the "pvpgn" folder:
51 - libpq.dll, libintl-2.dll, libiconv-2.dll, krb5_32.dll, comerr32.dll
52 - If required, extract the following files from sqlite-dll-win32-x86-3080803.zip into the "pvpgn" folder:
53 - sqlite3.dll