Difference between revisions of "GUI"

From OdaWiki
(AGAR)
Line 17: Line 17:
 
<code>./configure --without-jpeg --without-png --without-gl --entable-threads</code>
 
<code>./configure --without-jpeg --without-png --without-gl --entable-threads</code>
  
On Windows, you must use MSYS to compile this library, which complicates things if you're already got a working SDL set up elsewhere since you can't reference it from within MSYS. My advice?  Use a pre-assembled AGAR include directory and library which I might provide a link for...
+
On Windows, you must use MSYS to compile this library, which complicates things if you're already got a working SDL set up elsewhere since you can't reference it from within MSYS, since you have to set up SDL and Freetype again within the MSYS environment.
 +
 
 +
Or you could skip all that and [http://dl.dropbox.com/u/1446507/odamex/agar-odamex.zip just download this] instead.  Unzip it someplace, set the AGAR_DIR CMake variable to that place and you're good to go.

Revision as of 19:51, 30 December 2011

Congratulations, you found my secret page concerning the Odamex GUI that I (AlexMax) is working on.

Want to see the very latest progress? Check out my repository and switch to the odagui-hg branch.

Compiling

Compiling this is a bit harder than normal Odamex, much harder if you're on Windows. First off, you gotta have CMake to build it, because it's what I'm using. Next, in addition to SDL and SDL_Mixer, you also need to have AGAR and Freetype. On Windows, you also need pthreads-w32.

AGAR

You need SDL, Freetype and pthreads-w32 already installed and set up. You want the SVN release of AGAR, 1.4.1 is missing some important functionality that was added in trunk.

svn checkout this URL

To actually compile AGAR, you need to run this command as your configure command:

./configure --without-jpeg --without-png --without-gl --entable-threads

On Windows, you must use MSYS to compile this library, which complicates things if you're already got a working SDL set up elsewhere since you can't reference it from within MSYS, since you have to set up SDL and Freetype again within the MSYS environment.

Or you could skip all that and just download this instead. Unzip it someplace, set the AGAR_DIR CMake variable to that place and you're good to go.