Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] Re: (PR#4231) mingw32 & sdl client
Home

[Freeciv-Dev] Re: (PR#4231) mingw32 & sdl client

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] Re: (PR#4231) mingw32 & sdl client
From: "Rafa³ Bursig" <bursig@xxxxxxxxx>
Date: Wed, 14 May 2003 08:08:51 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Dnia 2003.05.14 13:07, Per I. Mathisen napisa³(a):
> 
> On Tue, 13 May 2003, Rafa? Bursig wrote:
> > Could someone try build SDLClient to windows enviroment, please.
> 
> First hurdle:
> 
> ./configure: This one is generic for CVS HEAD on mingw32 I believe.
> There should be a configure option to skip this test so that you can 
> import
> gmo files from elsewhere and still build with NLS.
> 
> checking whether libintl's ngettext works at runtime... yes
> checking for GNU xgettext version >= 0.10.36... no
> configure: WARNING: You may have problems with creating pox files.
> Please
> update your gettext package.
> checking for GNU msgfmt version >= 0.10.35... no
> configure: error: You are unable to create *.gmo files.
> This is development version which doesn't include them. Please update
> your gettext package. We recommend you versions >= 0.10.38. Or use
> --disable-nls instead.
> [abort]
> 
> Second hurdle: SDL does not have a good runtime install. Freetype is a
> bitch to install correctly.
> 
> Third and infal hurdle (using ./configure --enable-client=sdl
> --disable-nls --disable-freetypetest):
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I./.. -I./../include
> -I../../common -I../../common/aicore -I../../intl -I./../agents
> -I/usr/local/include/SDL -Dmain=SDL_main -I/d/Program\
> Files/GnuWin32/include -I/d/Program\ Files/GnuWin32/include/freetype2
> -g -O2 -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes
> -Wmissing-declarations -c `test -f 'graphics.c' || echo
> './'`graphics.c
> graphics.c: In function `center_main_window_on_screen':
> graphics.c:316: `Screen' undeclared (first use in this function)
> graphics.c:316: (Each undeclared identifier is reported only once
> graphics.c:316: for each function it appears in.)
> graphics.c:316: `defscr' undeclared (first use in this function)
> graphics.c:317: `Display' undeclared (first use in this function)
> graphics.c:317: `d' undeclared (first use in this function)
> graphics.c:317: structure has no member named `info'
> graphics.c:318: structure has no member named `info'
> graphics.c:319: warning: implicit declaration of function
> `DefaultScreenOfDisplay'
> graphics.c:320: warning: implicit declaration of function
> `XMoveWindow'
> graphics.c:320: structure has no member named `info'
> graphics.c:323: structure has no member named `info'
> make[4]: *** [graphics.o] Error 1
> 
Per thx for it.
Please try agian , I commited some fix for that error.

Rafal




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