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: bursig@xxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#4231) mingw32 & sdl client
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 14 May 2003 04:07:11 -0700
Reply-to: rt@xxxxxxxxxxxxxx

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




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