nlib
Information About the Libraries for Windows (Cygwin)
Required Software
You must use Cygwin Setup to install cygwin, gcc, cmake, zlib, and related files. You can automate the Cygwin setup process by using a method like the one scripted in Using apt-cyg.
Directory Structure
The Windows (Cygwin) package has the following directory structure.
├── lib
│   └── cmake/gcc
│       ├── libnx_*.a     # static 32bit libraries
│       └── libnx_*_d.a   # static 32bit libraries(debug)
└── samples
     └── cmake/cmake_gcc.sh    # A shell script for creating makefiles for the sample programs.
Example of the Script for Configuring the Development Environment
# Setting up apt-cyg:
# git, GnuPG, and wget must be installed in Cygwin.
# wget and other proxies must be set appropriately.
git clone https://github.com/kou1okada/apt-cyg.git
cd apt-cyg
chmod +x apt-cyg
cp ./apt-cyg /usr/local/bin
# You can also do the installation from the Cygwin Setup GUI.
apt-cyg install tar gzip binutils gcc-g++ make cmake zlib zlib-devel libboost-devel
# Create the sample program makefile using ./samples/cmake/cmake_gcc.sh.