X

An Oracle blog about Openomics

  • sun
    June 15, 2009

Freeciv SDL Client

Guest Author

While I was at it, I built the SDL client for Freeciv. Grab freeciv_sdl-2.1.9-i386-solaris10.zip at opensolaris.free.fr and unzip it under /usr/local --it will erase and replace your Freeciv GTK client if you have one installed, you may want to back it up first. Under OpenSolaris, you will need to install libSDL_mixer and libSDL_image under /usr/local on your system, for it to work. Under Solaris 10, you additionally need to install libSDL. For your convenience, they all are available pre-built at opensolaris.free.fr, so all you need is to unzip these archives under /usr/local, no compilation needed.

The SDL Client gives you a playing experience closer to the PC Civilization games, the played map taking up the full window and additional information --the mini-map, unit information-- being super-imposed on the map --with the option to minimize them. See for yourself in the snapshot below.


As a final note, this is the command line used to build the SDL client.

$ LDFLAGS='-L/usr/local/lib -R/usr/local/lib -lm' ./configure --with-sdl-prefix=/usr/local --enable-client=sdl

Somehow it was necessary to add -lm compared to the GTK client.

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.