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?
Mac Compilation (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Mac Compilation
#1280
Yoc (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Mac Compilation 1 Year, 1 Month ago Karma: 0  
Anyone could explain how to compile the Mac version ? I tried with 0.6 beta 4 after installing Qt and all the dependencies, but got lot of troubles :
- when typing qmake :
Code:

WARNING: Ignored (not found) '/Volumes/Media/Devs/pokerth/pokerth/lib/pokerth_lib.xcodeproj' WARNING: Ignored (not found) '/Volumes/Media/Devs/pokerth/pokerth/bin/pokerth_server.xcodeproj'
So, I tried to create a makefile for each Qt project. It works, but when I compile : - with pokerth_lib.xcode :
Code:

/Volumes/Media/Devs/pokerth/pokerth/src/net/common/senderthread.cpp:180: error: 'MSG_NOSIGNAL' was not declared in this scope
I read somewhere that MSG_NOSIGNAL can be replaced by SO_NOSIGPIPE in socket_helper.h. Ok, it works. - with pokerth_game.xcode : After a lot of warnings :
Code:

warning: skipping file '/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libcrypto.0.9.7.dylib' (unexpected file type 'compiled.mach-o' in Frameworks & Libraries build phase) warning: skipping file '/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libz.1.2.3.dylib' (unexpected file type 'compiled.mach-o' in Frameworks & Libraries build phase) warning: skipping file '/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libSystem.B.dylib' (unexpected file type 'compiled.mach-o' in Frameworks & Libraries build phase) warning: skipping file '/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libiconv.2.dylib' (unexpected file type 'compiled.mach-o' in Frameworks & Libraries build phase) warning: skipping file '/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libcrypto.0.9.7.dylib' (unexpected file type 'compiled.mach-o' in Frameworks & Libraries build phase) warning: skipping file '/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libz.1.2.3.dylib' (unexpected file type 'compiled.mach-o' in Frameworks & Libraries build phase) warning: skipping file '/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libSystem.B.dylib' (unexpected file type 'compiled.mach-o' in Frameworks & Libraries build phase) warning: skipping file '/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libiconv.2.dylib' (unexpected file type 'compiled.mach-o' in Frameworks & Libraries build phase)
I have an error in the link phase :
Code:

i686-apple-darwin8-g++-4.0.1: /opt/local/lib/libboost_thread.a: No such file or directory
libboost_thread is compiled and installed in usr/local/lib/ :
Code:

YCO-BATIF-MacBookPro:/usr/local/lib yoc$ ls libboost* libboost_thread-mt-1_34_1.a libboost_thread-mt-d-1_34_1.dylib libboost_thread-mt-1_34_1.dylib libboost_thread-mt-d.a libboost_thread-mt-d-1_34_1.a libboost_thread-mt.a
I made a ln -s of the library, it works, but came with other errors while compiling pokerth_server.xcode... so I gave up. Who did build the 0.5 mac version ? Could you please give me a help with this 0.6 beta release ? Is it planned to compile the the final release for Mac ? This game is really cool, and the internet play make it the best free poker software. I would really like to enjoy it on my mac...
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1281
dunkanx (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:Mac Compilation 1 Year, 1 Month ago Karma: 0  
Hi!

I'm trying to build 0.6 beta too. It is much more difficult than building the 0.5 release because of the additional dependencies.

I experienced many troubles with using xcode for compilation. So i let qmake create Makefiles instead of .xproj-files.

I write a log about my progress and will attach it to the sources as soon I have success to compile it.

regards
dunkanx
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1282
dunkanx (User)
Fresh Boarder
Posts: 7
graphgraph
User Offline Click here to see the profile of this user
Re:Mac Compilation 1 Year, 1 Month ago Karma: 0  
Hi!

I'm trying to build 0.6 beta too. It is much more difficult than building the 0.5 release because of the additional dependencies.

I experienced many troubles with using xcode for compilation. So i let qmake create Makefiles instead of .xproj-files.

I write a log about my progress and will attach it to the sources as soon I have success to compile it.

regards
dunkanx
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1359
lotodore (Admin)
Admin
Posts: 275
graphgraph
User Offline Click here to see the profile of this user
Re:Mac Compilation 1 Year, 1 Month ago Karma: 15  
With the help of dunkanx, I managed to create a functional MacOS dmg package (universal binary). It can be downloaded on sourceforge:
https://sourceforge.net/project/showfiles.php?group_id=166634

This version is EXPERIMENTAL. Anyway, if you are willing to give it a try, please test whether it works on your system. Please report any issues (i.e. crashes or things which are not working).
 
Report to moderator   Logged Logged  
 
--
Use IPv6. http://www.sixxs.net/
  The administrator has disabled public write access.
#1361
Yoc (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Mac Compilation 1 Year, 1 Month ago Karma: 0  
It works great for me ! No bugs found yet !
MacBook Pro, 10.5.1.

Thank you very much !!
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1362
Yoc (User)
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
Re:Mac Compilation 1 Year, 1 Month ago Karma: 0  
One first bug (don't know if this is mac only) : I played internet games, and can't close the window to return to solo game. Close button, as well as every menus are greyd out.
 
Report to moderator   Logged Logged  
  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