|
It is possible to compile native Windows Agar libraries using Cygwin.
If the agar configuration script detects a Cygwin environment, it will
automatically include the -mno-cygwin compiler flag, so the resulting
libraries will not depend on Cygwin at all.
-
Run the
Cygwin installer,
making sure to enable at least the following packages:
- Devel / gcc-mingw
- Devel / mingw-runtime
- Devel / make
- Devel / libfreetype2 (optional but highly recommended)
- Graphics / opengl (optional)
- Graphics / libjpeg-devel (optional, for screenshots)
- Interpreters / perl (optional, for concurrent builds and release engineering)
-
Download the latest
SDL 1.2 release
and install:
Télechargez et installer la dernière version de
SDL 1.2:
$ tar -xzf SDL-1.2.x.tar.gz
$ cd SDL-1.2.x
$ ./configure && make && make install
-
At this point, you should be ready to compile and install Agar.
|