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

To compile PokerTH you need following libs: 

Linux:
- Qt version >= 4.4.3, 4.5.1 recommended  --> http://qtsoftware.com/
- zlib version 1.2.3  --> http://www.zlib.net/
- libcurl version >= 7.16  --> http://curl.haxx.se/
- gnutls (e.g. version 2.2.2)  --> http://www.gnu.org/software/gnutls/
- libboost_thread, libboost_filesystem, libboost_datetime, libboost_program_options,
  libboost_iostreams, libboost_asio, libboost_regex
  (version >= 1.36, 1.38.0 recommended)  --> http://www.boost.org/
  NOTE: Please do not use boost 1.39.0 for the dedicated server, due to bug
  https://svn.boost.org/trac/boost/ticket/3095
- libSDL_mixer, libSDL  --> http://www.libsdl.org/
- libSQLite >= 3.0 --> http://sqlite.org/

NOTE: PokerTH might compile with libboost < 1.36 but occasional crashes will occur!

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 varialbe 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.


Windows: 

   Please check out the automatic windows build script --> http://sourceforge.net/project/showfiles.php?group_id=166634&package_id=268019 
