nlib
Information About the Libraries for CTR
Required Software
Requires the CTR SDK and the C++ compiler. nlib is compiled using the following versions.
  • CTR_SDK-11_3_0-20150324.zip
  • armcc_4_1_nintendo-b1454-20150227.zip
Directory Structure
The CTR package has the following directory structure.
├── lib
│   └── omake                 # Library files.
└── samples
     ├── ctr/OMakefile         # OMakefile for the samples.
     └── cmake/cmake_ctr.sh    # A shell script for creating makefiles for the sample programs.
Coexistence With the CTR Socket Library
The CTR socket library is defined as enumerator values by a macro that is defined in a POSIX standard errno.h header file (by socket_User.autogen.h). Consequently, there are major difficulties when the CTR socket library coexists not only with nlib but also with the C standard functions for handling error information.
If you are using the CTR socket library, a safe way to deal with this situation is to not include the header of the CTR socket library in the header file for your project.
Other Platform-Specific Information
  • Requires CTR SDK 10.0 or later.