From 3f544342a793f443f0e543b4b8cb613398d396a9 Mon Sep 17 00:00:00 2001 From: lotodore Date: Fri, 25 Apr 2008 16:30:53 +0000 Subject: [PATCH] Updating dependencies. --- INSTALL | 12 ++++--- docs/build_mingw_windows.txt | 5 +++ docs/build_vc_windows.txt | 61 ------------------------------------ 3 files changed, 12 insertions(+), 66 deletions(-) create mode 100644 docs/build_mingw_windows.txt delete mode 100644 docs/build_vc_windows.txt diff --git a/INSTALL b/INSTALL index cdd65aad..6956690d 100644 --- a/INSTALL +++ b/INSTALL @@ -5,13 +5,15 @@ To compile PokerTH you need following libs: Linux: - Qt version >= 4.3.1 --> http://trolltech.com/ -- libcrypt (e.g. version 0.9.7) --> http://www.openssl.org/ -- libboost_thread, libboost_filesystem, libboost_datetime, libboost_program_options - (version >= 1.34.1) --> http://www.boost.org/ -- libSDL_mixer, libSDL --> http://www.libsdl.org/ +- 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 + (version >= 1.34.1, 1.35.0 recommended) --> http://www.boost.org/ +- libSDL_mixer, libSDL --> http://www.libsdl.org/ Windows: -see docs/build_vc_windows.txt +see docs/build_mingw_windows.txt diff --git a/docs/build_mingw_windows.txt b/docs/build_mingw_windows.txt new file mode 100644 index 00000000..cffb8a60 --- /dev/null +++ b/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 diff --git a/docs/build_vc_windows.txt b/docs/build_vc_windows.txt deleted file mode 100644 index 4069053b..00000000 --- a/docs/build_vc_windows.txt +++ /dev/null @@ -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