Libnx ported to the Nim programming language
Find a file
Joey Yakimowich-Payne 3fff14bd0b Update versions
2018-07-18 11:07:52 +09:00
examples Cleanup imports 2018-07-06 22:04:50 +09:00
src Fix issues with latest Nim devel compiler 2018-07-18 11:04:09 +09:00
.gitignore Hide nimcache dirs 2018-07-02 21:27:27 +09:00
libnx.nimble Update versions 2018-07-18 11:07:52 +09:00
libnxGen.cfg Fix issues with latest Nim devel compiler 2018-07-18 11:04:09 +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!