Complete.Org: Mailing Lists: Archives: freeciv: September 2003:
[Freeciv] Re: Another question
Home

[Freeciv] Re: Another question

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv@xxxxxxxxxxx
Subject: [Freeciv] Re: Another question
From: Guy Harrison <swamp-dog@xxxxxxxxxxxx>
Date: Sat, 20 Sep 2003 20:44:42 +0100

On Saturday 20 September 2003 00:15, you wrote:
> Hi,
>
> Is it possible to use the Unix version of freeciv on Windows using
> Cygwin?

Yes, assuming you've got all the X stuff installed. I haven't used 
cygwin in a while (toasted NT) but basically I used glib/gtk1. Dunno if 
they've been ported now but if they haven't, restrict yourself to doing 
a static build of them. You'll then need IMLIB and iirc that'll do if 
you don't want audio. If the cygwin ML reveals they've been ported now 
obviously go with those.

Note about SDL, if ever you use it under cygwin. It's back-to-front. 
Default cygwin "mode" is unix but SDL builds itself as a windows 
version, installs itself outside of where mingw stuff goes, and also 
slaps the -mno-cygwin flag into sdl-config - which can break a lot of 
apps (all the "unix" stuff "vanishes"). It used to be possible to build 
an X SDL (host/target/build=linux-?-?) but to say it's a tad slow is an 
understatement. Nevertheless, if you want to hack a bit it's not too 
hard to persuade the standard "windows" SDL to do your audio (you just 
have to translate the paths/mountpoints win<->unix for it) and remove 
that -mno-cygwin flag from sdl-config (actually use SDL_CONFIG var on a 
butchered copy of it). You end up with a psychotic Freeciv, using X 
graphics and win32 audio. Works though. ;-)

Sorry if its not too clear. Bit busy atm!


-- 
Guy Harrison
swamp-dog@xxxxxxxxxxxx



[Prev in Thread] Current Thread [Next in Thread]