Prerequisites

As the renderer we'll use for nk requires access to native C APIs, we'll need CGo to be correctly functioning for our applications to build. On most platforms, this simply means installing a compatible C compiler. This is only a development dependency and there's no installation required for the users of applications that we build with nk (other than an OpenGL compatible system). If you've worked through previous chapters of this book, then you probably have this set up already. If not, or you're unsure, then follow the steps in the Appendix, Installation Details, in the Setting up CGo section.

Some platforms will require additional development files to be installed for the operating system-specific portions of the code to compile correctly. macOS and Windows developers can skip this section as the development environment for CGo provides all that's required. Linux or Android developers may require additional steps, as follows.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.137.12