Page 1 of 1
Bygfoot 1.7.3 on Cygwin?
Posted: Sun Dec 19, 2004 3:39 am
by vector
Has anyone tried Bygfoot 1.7.3 on Cygwin. I just installed cygwin on the winxp box but not sure how any of it works. Detailed instructions would be nice.
cheers
Re: Bygfoot 1.7.3 on Cygwin?
Posted: Sun Dec 19, 2004 8:46 am
by gyboth
Hi,
I got Bygfoot working with Cygwin, but that was some months ago (and I don't know which version it was). I needed a lot of stuff, though, simply everything that's required for compiling: GTK, GLib, make, pkg-config, pango (and anything else the 'configure' script complains about

).
And for 1.7.3 you also need gettext; I'm not sure it works for Cygwin, but it should.
So you have to select all these packages in the Cygwin setup program, install them, and then compile the game just like with Linux.
But I know that you need step-by-step instructions, Vector

so I'm going to try it out myself and post some soon.
Gyozo
Posted: Sat Jan 01, 2005 12:54 pm
by gyboth
topic moved from the discussion forum here.
so here are some step by step instructions (vector, your brother will have to pay some compensation in some way 'cause i spent at least one hour on this instead of working on 1.9

) you'll need a fast internet connection for the steps below.
- download the cygwin setup program from here (this isn't the program itself; cygwin isn't a program anyway. this setup program is more like a package manager).
- select download from internet. you could also select install from internet, but it's good to have the packages lying around.
- select an appropriate mirror
- select the packages that make sense for bygfoot:
- gtk2
- glib2
- atk
- pango
- x
- bzip
- zip
- gettext,
- gcc
- and of course each 'devel' package that belongs to these, e.g. gtk2-devel
- download and install them.
- download, compile and install a Bygfoot source package (this should work the same as with linux if you have all the packages necessary: ./configure, make and make install).
- here's the tricky part: create and edit a file .fonts.conf in your home dir. it should contain this:
Code: Select all
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- ~/.fonts.conf for per-user font configuration -->
<fontconfig>
<!--
Private font directory
-->
<dir>/usr/X11R6/lib/X11/fonts</dir>
<!--
use rgb sub-pixel ordering to improve glyph appearance on
LCD screens. Changes affecting rendering, but not matching
should always use target="font".
-->
<match target="font">
<edit name="rgba" mode="assign"><const>rgb</const></edit>
</match>
</fontconfig>
EDIT:the file font.conf is available for download here. ATTENTION: you have to save it as .font.conf (with leading dot) in your cygwin home dir, e.g. C:\Cygwin\home\bob\.font.conf.
so you don't have to do this editing stuff yourself now.
- start the x server with startxwin.bat.
- start and enjoy Bygfoot

i hope this works for you, it worked for me.
gyözö
Posted: Sun Jan 02, 2005 1:52 am
by chips
HI Gyboth
This is Chips Vectors brother.
Actually is Vector posing as chips (showing him the ropes)
WE have a problem at step 6
I ran
and recieved this error
Code: Select all
checking for pkg-config... no
the pkg config script could not be found
Something about adding it to enviro variable and stuff that i dont understand.
We pressed on to the next step;
and it failed to bash make
command not found
We confirmed that Cygwin had gcc ticked
at this point we gave up. Any thoughts ?
Posted: Sun Jan 02, 2005 8:50 am
by gyboth
chips wrote:HI Gyboth
This is Chips Vectors brother.
Actually is Vector posing as chips (showing him the ropes)
hi vector-as-chips
Code: Select all
checking for pkg-config... no
the pkg config script could not be found
i'd say pkgconfig isn't installed. did you check? it's in the devel category.
gyözö
Posted: Sun Jan 02, 2005 9:20 am
by vector
i checked but couldnt find it
I just looked and now i see it
Too many late nights me thinks
Posted: Sun Jan 02, 2005 1:33 pm
by gyboth
so it works now?
gyözö
Posted: Sun Jan 02, 2005 8:38 pm
by vector
im not at my brothers machine. ill try and get over thier today and try it out.
Hes only just started playing with PCs and I wouldnt expect him to try it himself just yet.
Posted: Mon Jan 03, 2005 6:51 am
by vector
ok got it running
need a few other things
Ill tidy up the notes and post it on twiki.
chips is up and running

Posted: Mon Jan 03, 2005 8:22 am
by gyboth
vector wrote:chips is up and running

good to hear, good luck to him
gyözö
Posted: Tue Apr 12, 2005 7:38 pm
by celt1997
Not sure if anyone else has tried it. But I'm a first timer and I just got 1.8.1 to run on Cygwin using the same instructions. I can't wait to give the game a go.
I'm running an XP machine by the way and have had no problems yet.
Posted: Wed Apr 13, 2005 3:18 am
by vector
Big welcome

Your hooked for sure now

Posted: Wed Apr 13, 2005 7:12 am
by gyboth
small update to those detailed instructions: the file
font.conf is available for
download here.
ATTENTION: you have to save it as
.font.conf (with leading dot) in your cygwin home dir, e.g.
C:\Cygwin\home\bob\.font.conf.
gyözö
Hi Vector
Posted: Tue May 03, 2005 9:29 am
by dylansmrjones
What dit you do to make it work apart from installing make and/or exporting the PKG-CONFIG-PATH ?
/dylansmrjones - who finds it disgusting to run *nix-apps on windows - it's much better the other way around

Ohh.. silly me.. haha :D
Posted: Tue May 03, 2005 9:59 am
by dylansmrjones
Don't bother asking my question... silly me.. forgot to install make ... this is what happens when one assumes something that shouldn't be assumed .. silly me.. I think it's about time for me to install linux-from-scratch.. this *nix-on-windows approach makes my stomach turn upside down
