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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access