Updating dependencies.
This commit is contained in:
@@ -5,13 +5,15 @@ To compile PokerTH you need following libs:
|
|||||||
|
|
||||||
Linux:
|
Linux:
|
||||||
- Qt version >= 4.3.1 --> http://trolltech.com/
|
- Qt version >= 4.3.1 --> http://trolltech.com/
|
||||||
- libcrypt (e.g. version 0.9.7) --> http://www.openssl.org/
|
- zlib version 1.2.3 --> http://www.zlib.net/
|
||||||
- libboost_thread, libboost_filesystem, libboost_datetime, libboost_program_options
|
- libcurl version >= 7.16 --> http://curl.haxx.se/
|
||||||
(version >= 1.34.1) --> http://www.boost.org/
|
- gnutls (e.g. version 2.2.2) --> http://www.gnu.org/software/gnutls/
|
||||||
- libSDL_mixer, libSDL --> http://www.libsdl.org/
|
- libboost_thread, libboost_filesystem, libboost_datetime, libboost_program_options, libboost_iostreams
|
||||||
|
(version >= 1.34.1, 1.35.0 recommended) --> http://www.boost.org/
|
||||||
|
- libSDL_mixer, libSDL --> http://www.libsdl.org/
|
||||||
|
|
||||||
Windows:
|
Windows:
|
||||||
see docs/build_vc_windows.txt
|
see docs/build_mingw_windows.txt
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
Please see
|
||||||
|
http://sourceforge.net/project/showfiles.php?group_id=166634&package_id=268019
|
||||||
|
for some scripts to compile PokerTH using mingw.
|
||||||
|
|
||||||
|
2008 by Lothar May
|
||||||
@@ -1,61 +0,0 @@
|
|||||||
These are the instructions to compile PokerTH on Windows using MSVC 2008 Express Edition.
|
|
||||||
|
|
||||||
1. Get and install MSVC 2008 Express Edition (English version is strongly recommended).
|
|
||||||
|
|
||||||
2. Get and install a new Microsoft Platform SDK
|
|
||||||
|
|
||||||
This step can be left out if you use MSVC 2008 Professional instead of the Express Edition.
|
|
||||||
[about 1 GB download]
|
|
||||||
http://www.microsoft.com/downloads/details.aspx?familyid=FF6467E6-5BBA-4BF5-B562-9199BE864D29&displaylang=en
|
|
||||||
|
|
||||||
3. Get and install the DirectX SDK
|
|
||||||
|
|
||||||
This step can be left out if you use MSVC 2008 Professional instead of the Express Edition.
|
|
||||||
http://www.microsoft.com/downloads/details.aspx?familyid=4B78A58A-E672-4B83-A28E-72B5E93BD60A&displaylang=en
|
|
||||||
|
|
||||||
4. Get open source Qt 4.3.3 [zip file] from Trolltech.
|
|
||||||
It supports MSVC 2008, no patch is needed.
|
|
||||||
http://trolltech.com/developer/downloads/qt/windows
|
|
||||||
|
|
||||||
Set the QTDIR environment variable to your location of qt.
|
|
||||||
Set the QMAKESPEC environment to win32-msvc2005
|
|
||||||
(not 2008)
|
|
||||||
|
|
||||||
Compile Qt.
|
|
||||||
Add the Qt bin directory to your PATH environment variable.
|
|
||||||
|
|
||||||
5. Get boost 1.34.1 and bjam (latest version) and compile boost
|
|
||||||
See http://www.boost.org/more/getting_started/windows.html
|
|
||||||
|
|
||||||
6. Get and compile(!) (do not use precompiled version) OpenSSL
|
|
||||||
The OpenSSL build script requires perl, which can be downloaded for example here:
|
|
||||||
http://www.activestate.com/Products/activeperl/
|
|
||||||
Also, an assembler is recommended for this step, which comes for example with the WDK:
|
|
||||||
http://www.microsoft.com/whdc/DevTools/WDK/WDKpkg.mspx
|
|
||||||
Basically you have to run (within the OpenSSL directory):
|
|
||||||
|
|
||||||
perl Configure VC-WIN32 no-shared
|
|
||||||
ms\do_masm
|
|
||||||
nmake -f ms\nt.mak
|
|
||||||
|
|
||||||
To build OpenSSL without assembler, consult the documentation.
|
|
||||||
After compiling OpenSSL, move the output from inc32 and out32 to include and lib.
|
|
||||||
|
|
||||||
7. Get and compile(!) (do not use precompiled version) SDL and SDL_mixer.
|
|
||||||
Use the project files in VisualC.zip of the source package.
|
|
||||||
Build both debug and release versions.
|
|
||||||
|
|
||||||
8. Run
|
|
||||||
qmake -tp vc -recursive pokerth.pro
|
|
||||||
in the pokerth directory. This will create a solution and project files.
|
|
||||||
Open the solution.
|
|
||||||
|
|
||||||
9. Set the "Program Database File Name" in the Properties section C/C++
|
|
||||||
for each project to a unique name.
|
|
||||||
|
|
||||||
10. Edit the library directories and the linker dependencies of the Debug
|
|
||||||
configuration, make them point to debug locations.
|
|
||||||
|
|
||||||
11. Rebuild the Solution.
|
|
||||||
|
|
||||||
2007 by Lothar May
|
|
||||||
Reference in New Issue
Block a user