Menu Content/Inhalt
Home arrow Forum

Articles

Poker Tips

Login






Lost Password?
No account yet? Register
PokerTH - Forum
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Compiling PokerTH under windows (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Re:Compiling PokerTH under windows
#1494
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:Compiling PokerTH under windows 11 Months, 3 Weeks ago Karma: 13  
Just for your information (in case you are trying to compile on windows):

The mingw build with qt 4.3.3 is currently broken due to a qmake issue (you need to run uic by hand):
http://trolltech.com/developer/task-tracker/index_html?id=190938&method=entry

The MSVC build (2005 and 2008) currently has a qmake issue with the image plugin libs:
http://trolltech.com/developer/task-tracker/index_html?id=191267&method=entry

There are some more Qt related problems still pending acknowledgment, before I can try to write an auto-build script for Windows.
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#1822
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:Compiling PokerTH under windows 8 Months, 2 Weeks ago Karma: 13  
lotodore wrote:
QUOTE:
What I am planning to do at some time is to provide a cmd script which downloads all the stuff needed, and builds everything on Windows.


I've done this now and released a first version of some scripts:
http://sourceforge.net/project/showfiles.php?group_id=166634&package_id=268019

With these scripts you can easily build the current PokerTH svn sources using the mingw compiler on Windows. It will also build the dedicated server.

This has only been tested on my Windows XP system, and only once because it takes HOURS and HOURS.

Please read the readme.txt file first. I'd welcome any feedback.
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/03/19 02:48 By lotodore.
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#1852
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:Compiling PokerTH under windows 8 Months ago Karma: 13  
I've uploaded a new version of the mingw Windows build scripts. boost 1.35.0 is used now.

Some minor issues have been corrected (for example mingwm10.dll was not copied).

Build time and hard disk usage has been reduced by only building the static release version of boost. The interaction which is required when building Qt is now at the beginning.
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#1862
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:Compiling PokerTH under windows 7 Months, 3 Weeks ago Karma: 13  
The build script has been updated to download and compile zlib and libcurl (these are new dependencies).
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#1909
null (User)
Fresh Boarder
Posts: 8
graphgraph
User Offline Click here to see the profile of this user
Re:Compiling PokerTH under windows 7 Months, 1 Week ago Karma: 0  
After running the script, I get this error when compiling

In file included from src\core\common\crypthelper.cpp:23:
src/core/openssl_wrapper.h:28: error: conflicting declaration 'typedef int ssize
_t'
C:/pokerth_root/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types
.h:104: error: 'ssize_t' has a previous declaration as `typedef _ssize_t ssize_t
'
src/core/openssl_wrapper.h:28: error: declaration of `typedef int ssize_t'
C:/pokerth_root/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types
.h:104: error: conflicts with previous declaration `typedef _ssize_t ssize_t'
src/core/openssl_wrapper.h:28: error: declaration of `typedef int ssize_t'
C:/pokerth_root/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/sys/types
.h:104: error: conflicts with previous declaration `typedef _ssize_t ssize_t'
In file included from src\core\common\crypthelper.cpp:23:
src/core/openssl_wrapper.h:36:28: gnutls/openssl.h: No such file or directory
src\core\common\crypthelper.cpp: In static member function `static bool CryptHel
per::MD5Sum(const std:tring&, MD5Buf&':
src\core\common\crypthelper.cpp:119: error: `MD5_CTX' was not declared in this s
cope
src\core\common\crypthelper.cpp:119: error: expected `;' before "context"
src\core\common\crypthelper.cpp:122: error: `context' was not declared in this s
cope
src\core\common\crypthelper.cpp:122: error: `MD5_Init' was not declared in this
scope
src\core\common\crypthelper.cpp:124: error: `MD5_Update' was not declared in thi
s scope
src\core\common\crypthelper.cpp:124: warning: unused variable 'MD5_Update'
src\core\common\crypthelper.cpp:125: error: `MD5_Final' was not declared in this
scope
src\core\common\crypthelper.cpp:119: warning: unused variable 'MD5_CTX'
src\core\common\crypthelper.cpp:122: warning: unused variable 'MD5_Init'
src\core\common\crypthelper.cpp:125: warning: unused variable 'MD5_Final'
mingw32-make[2]: *** [obj/crypthelper.o] Error 1
mingw32-make[1]: *** [release] Error 2
mingw32-make: *** [sub-pokerth_lib-pro-make_default-ordered] Error 2
The system can not find the file specified.



I do not understand what is wrong, any help I would be very useful
thanks
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1910
lotodore (Admin)
Admin
Posts: 259
graphgraph
User Offline Click here to see the profile of this user
Re:Compiling PokerTH under windows 7 Months, 1 Week ago Karma: 13  
The mingw compile script is currently broken because of switching from OpenSSL to gnutls-openssl, and because boost-zlib support is missing in the script.

I have not yet fixed the first of these issues, because the gnutls win32 package is only available as interactive exe installer. I've contacted the author of the package but got no reply yet.

You could switch back to an older svn revision. revision 1452 should build fine using the script.

EDIT: modified revision
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/04/24 18:04 By lotodore.
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
designed by www.madeyourweb.com