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, such that the
resulting libraries do not depend on the Cygwin library.
-
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 / libjpeg-devel (optional)
- 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.
