|
Welcome,
Guest
|
|
Hi Tom,
I see you're post have remained unanswered for three weeks. I probably know as much (or little) as you. But as I've played around with modifying and compiling the PokerTH source code maybe I can help you. I've tried a few months ago to compile on Ubuntu 11.04 for Ubuntu 11.04. I didn't get very far as you may have read in my topics about that on the forum. My goal was to modify (patch) the source code so I could play with a modified PokerTH client. Not to cheat, but to make it more comfortable to play. The first thing I tried to modify was the "Log/Away/Chance"-area. I wanted that a lot bigger so I could read back much more log history of the current hand and even of the hands before that. Okay, enough about what I tried to do. I know you need to compile the source code for some other goal. I'll try to help you in my next reply. Paulus/laudaka |
|
The administrator has disabled public write access.
|
|
To finish my story of the previous post. I did succesfully compile on Ubuntu 12.04 just a few weeks ago. I even succeeded in making the change I wished. A different layout of the "playing" window with a much larger Log/Away/Chance-area. So I can read much more of the Log
tkristensen wrote: >1 - This is developed under QT C++ as I >understand it, what is the development >environment used to make changes? I can load QT >on windows and edit the files, but looks like >have to compile under unix. Is there an >integrated environment for QT that runs on the >ubuntu VM? I'd like to do all changes on one >machine. Indeed it seems to be Qt C++ . I used the integrated development environment (IDE) Qt Creator. The Qt project itself offers Qt Creator as default IDE for Qt. On Ubuntu use the Software Center to install it (don't download it from the Qt website sudo apt-get install qtcreator>2 - I need to make changes to the linux based >server code for a project and also the clients >including the windows client. Just to confirm >this is all done under linux? Well it seems to be all done under Linux. But I'm afraid only the developers can tell us > >3 - Is there a definitive script for getting the >linux box configured and the code compiled that >is up to date? Better yet is there a linux image >for working on pokerth with everything it needs >installed that can be applied to a vmware box? We'd really wish a developer would answer your post. I can't answer that question either. But here are all the compilation steps I used starting with a freshly installed Ubuntu 12.04 (compiling for use on Ubuntu 12.04) Maybe that will help you. We'll look at compiling for Windows if this works well on your pc: lsb_release -aDistributor ID: Ubuntu Description: Ubuntu 12.04.1 LTS Release: 12.04.1 Codename: precise So we both have Ubuntu 12.04 Now all the steps for compilation (=building) and the last step for installing on your Ubuntu system. Lines with ``#´´ are comments. I'll do everything here on the command line, just to make sure we're both doing the same things. sudo apt-get build-dep pokerth
#You should read this as ``install-building-dependencies´´ of pokerth.
# This will install all those ``BLAHBLAH-dev'' packages at once.
# It will install the BLAHBLAH-dev packages required for building
# PokerTH 9.4 but those happen to be the same as for building
# PokerTH 9.5
# You only need to do this step one time on your system.
mkdir ~/pokerth-src
cd ~/pokerth-src
#Now we have an empty directory to work in
wget --output-document=PokerTH-0.9.5-src.tar.bz2 https://sourceforge.net/projects/pokerth/files/pokerth/0.9/PokerTH-0.9.5-src.tar.bz2
#Download the source from sourceforge and save it in the current
# working directory.
tar -xf PokerTH-0.9.5-src.tar.bz2
#Extract the source from its .tar.bz2-archive.
# You should have a directory named PokerTH-0.9.5-src now.
cd PokerTH-0.9.5-src
#Change directory into PokerTH-0.9.5-src
#Now the real fun begins.
qmake pokerth.pro
#qmake prepares everything for compilation on a Ubuntu 12.04 Linux
# system.
make
#And this is the real compilation/building.
# There's no need to use sudo here. But you've discovered that
# already. Why not a sudo? All the files generated by the
# compiling/building of PokerTH will be
# written in the PokerTH-0.9.5-src directory (and subdirectories).
sudo make install
#You're not building/compiling here. This steps installs the files
# the building process has generated to a lot of different places on
# your Ubuntu Linux system. In a lot of those places only the root
# user is allowed to write. For example /usr/bin where the
# pokerth-executable is copied to (=installed). So now you really
# need sudo.That didn't work on my Ubuntu 11.04 but it worked flawlessly on my Ubuntu 12.04 . But you wanted to compile the pokerth client for Windows. What did you do to make your Ubuntu compile for Windows instead of Ubuntu Linux? Did you change files in the PokerTH-0.9.5-src directory? And did you find a way to only compile the pokerth client for Windows and not compile the pokerth server then? I'll try to reply within a few days when you answer so you won't be waiting weeks again Paulus/laudaka P.S. I have a Bash script with all this commands but it's still a bit messy. Maybe I'll attach it next time to my post. |
|
Last Edit: 11 Nov 2012 19:26 by laudaka.
The administrator has disabled public write access.
|
Please click HERE to create an online gaming account on our partner website poker-heroes.com.
We have 90 guests and 4 members online

| Your ads here? This email address is being protected from spambots. You need JavaScript enabled to view it. |