Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2001:
[Freeciv-Dev] more cygwin build issues
Home

[Freeciv-Dev] more cygwin build issues

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Andreas Kemnade <akemnade@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] more cygwin build issues
From: James Wilson <fat_hot@xxxxxxxxx>
Date: Sun, 04 Nov 2001 02:14:07 -0500

ok, here's what happened when I tried --enable-client=win32.

-- "export CC="gcc -mno-cygwin"; ./configure --enable-client=win32; make" builds the client fine; however, the civserver thus built crashes on startup, apparently while trying to load wsock32.dll (gdb gets really freaked out so it's not clear what's going wrong).

-- I can get civserver to work by doing a rebuild using './configure --disable-nls', not overriding CC or using --enable-client=win32. if I use this civserver together with the civclient built above, I can get a game going.

this seems like an abuse. is there a better way?

James

At 01:24 PM 11/3/01, you wrote:
James Wilson writes:
 > I'm just getting started playing around with building everything, please
 > forgive any stupidity. I'm trying to build the latest cvs sources under
 > cygwin 20011008 on Win98SE.
Building a gtk client from current cvs does not work.
The 1.12.0 binary is not built from the
original source. There is a patch for it in the same directory where
the binary is, but the patch does not apply to current cvs.

But you can build the windows client with a standard windows gui:

export CC="gcc -mno-cygwin"
./configure --enable-client=win32
make

If you want to see a binary first you can look at
http://home.t-online.de/home/akemnade/freeciv-win-cvs.zip

Gfx format:
The gui-win32 client uses a gfx format which is a bit strange:
the masks are saved in an extra file. eg. hires/terrain1-mask.bmp is
the mask from hires/terrain1.bmp
If you don't know how to convert the format, you can take the files
from the binary mentioned above.
When I'll find some time I'll debug the code for loading png files in
freeciv and enable it.

 >
 > -- maybe this is a FAQ, but I didn't find the answer anywhere - how can
 > freeciv be built under cygwin against gtk1.3? configure is looking for
 > gtk-config, which doesn't exist in the gtk1.3 for win32 bundles found at
 > http://www.gimp.org/~tml/gimp/win32/new-downloads.html or
> http://www.gimp.org/~tml/gimp/win32/downloads.html as far as I can see. can
 > I trick it into using pkg-config or something like that?
The trick is to create it yourself. You might steal some gtk-config
from linux and use it as a template. My imlib-config (which you also
need) gives the
following:
imlib-config --libs-gdk
-L/usr/local/win/lib -lgdk_imlib -L/usr/local/wingtk/lib -lgtk-1.3 -lgdk-1.3 -lgmodule-1.3 -lglib-1.3

 >
 > -- I can build against Xaw no problem. it crashes periodically but that's
 > another story for another time.
You have X11 installed on windows? Then it is perhaps easier to use
normal unix (X11 based) gtk. AFAIK you can do the usual
./configure
make
make install
with it (and get a valid gtk-config). But the resulting freeciv client
will need X11.

Greetings
Andreas Kemnade


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



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