Requirements
============

To compile PokerTH you need following libs: 

Linux:
- Qt version >= 4.4.3, 4.8.x recommended  --> http://qtsoftware.com/
- zlib version >= 1.2.3  --> http://www.zlib.net/
- libcurl version >= 7.16  --> http://curl.haxx.se/
- libgcrypt (e.g. version 1.4.6)  --> http://www.gnu.org/software/libgcrypt/
- libgsasl version >= 1.4 --> http://www.gnu.org/software/gsasl/
- libboost_thread, libboost_filesystem, libboost_datetime, libboost_program_options,
  libboost_iostreams, libboost_asio, libboost_regex, libboost_random, libboost_uuid
  (version >= 1.49, latest always recommended)  --> http://www.boost.org/
- libSDL_mixer, libSDL  --> http://www.libsdl.org/
- libSQLite3 --> http://sqlite.org/
- libtinyxml > 2.0 --> http://www.sourceforge.net/projects/tinyxml
- protoc >= 2.3.0 (during build), libprotobuf >= 2.3.0 -> https://github.com/google/protobuf
- For the server: libircclient 1.3 --> http://www.sourceforge.net/projects/libircclient/

Windows:
see docs/build_mingw_windows.txt


Basic Installation
==================

Linux:

  1. Type "cd path/to/the/sources". Then do for example "/usr/qt/4/bin/qmake pokerth.pro" to configure the makefile for your system.
     Pay attention that the QTDIR environment variable points to Qt4 not Qt3. For example QTDIR=/usr/qt/4.
     You can set this variable typing: "export QTDIR=/usr/qt/4"

  2. Type "make" to compile the package.

  3. Become root (typing "su") and type "make install" to install the program binary.
