install gccg in Linux Ubuntu 11.10

Discussion of the Generic Collectible Card Game engine created by Tommi "wigy" Ronkainen and mantained nowadays by Kodi
Post Reply
User avatar
zirilan
Posts: 351
Joined: Tue Oct 07, 2008 5:56 pm
Location: c:\

Hello,

I have tried to install gccg in Ubuntu 11.10.
Installing ...
SDL_1.2.14, SDL_ttf.2.0.10, SDL_image-1.2.10, SDL_mixer-1.2.11, freetype-2.1.10 worked but while installing SDL_net-1.2.7 it throw an error of missing shared lib. The error asked me to install GUIlib-1.2.1 and while installing this another error appeared "./libtool: line 1282: g++: command not found".

Did someone ran into that error while installing gccg in Ubuntu yet? Any hints?
User avatar
zirilan
Posts: 351
Joined: Tue Oct 07, 2008 5:56 pm
Location: c:\

Thanks to domse, he told me to install the packages using "synaptic" and not with the "software-center", it is running now.
User avatar
zirilan
Posts: 351
Joined: Tue Oct 07, 2008 5:56 pm
Location: c:\

How to use DC cards in linux?
1st I opened a new terminal and installed subversion

Code: Select all

sudo apt-get install subversion
2nd I created the core folder and changed into that folder

Code: Select all

mkdir core
cd core
3rd I used the svn command to get the data

Code: Select all

svn co https://gccg.svn.sourceforge.net/svnroot/gccg/core
4th I did the same with the metw folder

Code: Select all

cd ..
mkdir metw
cd metw
svn co https://gccg.servebeer.com/ccg/metw
5th accected the certification
now I got two folders core and metw but once I wanna run Metw

Code: Select all

cd ..
cd core
./Metw
it shows me the following:

Code: Select all

You must install package containing program binaries, for example 'linux-i386'.
What else do I need to set up to get it run?
wigy
Posts: 139
Joined: Sat Feb 03, 2007 8:11 pm
Location: Johannesburg
Contact:

Hmm, aren't those mkdir's and cd's ruining the thing? You'd end up with core/core and metw/metw.

Just

mkdir gccg
cd gccg

end then start 'svn'ing out parts you want.
User avatar
zirilan
Posts: 351
Joined: Tue Oct 07, 2008 5:56 pm
Location: c:\

wigy wrote:Hmm, aren't those mkdir's and cd's ruining the thing? You'd end up with core/core and metw/metw.

Just

mkdir gccg
cd gccg

end then start 'svn'ing out parts you want.
Yes, I ended up in double folders core/core and metw/metw that way.
Thanks to wigy the following worked for me installing the DCs.

Code: Select all

mkdir gccg
cd gccg
sudo apt-get install subversion
svn co https://gccg.svn.sourceforge.net/svnroot/gccg/core
svn co https://gccg.servebeer.com/ccg/metw
cd core
make all
./Metw
If you got an account allready you can start with

Code: Select all

./Metw --user IhsanShade
(IhsanShade) is my username for example

Or you can edit your Metw script with

Code: Select all

gedit Metw
and add your username there in the last line

Code: Select all

#!/bin/bash
. tools/launch_client
gccg $* --server gccg.councilofelrond.org --user IhsanShade metw.xml
domse
Ex Council Member
Posts: 171
Joined: Tue Dec 04, 2007 11:55 am

Maybe it is important to note, that when changing to the new core release, I had to install the development versions of the SDL libraries, while before normal libraries were sufficient.
Post Reply

Return to “GCCG”