Install/Windows (Cygwin)
From Agar
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.
Installing Cygwin
Download and execute the Cygwin setup.exe. Make 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)
- Graphics / libpng-devel (optional)
- Interpreters / perl (optional, but needed for concurrent building)
Installing SDL (Optional)
If you wish to use the sdlfb and sdlgl drivers, the SDL library is needed. Download the latest SDL 1.2 release and install via Cygwin using:
$ tar -xzf SDL-1.2.x.tar.gz $ cd SDL-1.2.x $ ./configure && make && make install
Installing Agar
Follow the standard compilation and installation procedure.

