Libnx ported to the Nim programming language
Find a file
2018-07-20 17:12:06 +09:00
examples Add template for error handling and fix console printing 2018-07-18 11:31:13 +09:00
src/libnx Fix more windows issues 2018-07-20 17:00:39 +09:00
.gitignore Hide nimcache dirs 2018-07-02 21:27:27 +09:00
libnx.nimble Make buildexamples use dkp for windows 2018-07-20 17:12:06 +09:00
libnxGen.cfg Fix more windows issues 2018-07-20 17:00:39 +09:00
LICENSE Initial commit 2018-06-14 16:28:02 +09:00
README.md Update README.md 2018-07-15 17:23:31 +09:00

nim-libnx

Libnx ported to the Nim programming language. You will need a nim compiler with Nintendo switch support which can be found here until the PR is accepted.

You also must have DevkitPro and switch (libnx) libraries for Mac and Linux or Windows installed. The DEVKITPRO environment variable must also exist and point to a directory with the following structure:

  • DEVKITPRO/libnx/lib
  • DEVKITPRO/libnx/include

Install

Simply run

# Because of a bug in nimble right now, you must install this first!
nimble install nimgen@#head
nimble install

To compile examples:

nimble buildExamples

PRs are welcome for porting other examples or any other changes!