Libnx ported to the Nim programming language
Find a file
Joey Yakimowich-Payne 54d10731d3 Rename wrappers for now
2018-06-22 16:19:15 +09:00
examples/helloworld Rename wrappers for now 2018-06-22 16:19:15 +09:00
ext Add files to make libnx 2018-06-19 20:01:43 +09:00
src Rename wrappers for now 2018-06-22 16:19:15 +09:00
.gitignore Add vim files to gitignore 2018-06-22 15:42:37 +09:00
libnx.nimble Clean up the configs a bit 2018-06-22 15:53:20 +09:00
libnxGen.cfg Rename wrappers for now 2018-06-22 16:19:15 +09:00
LICENSE Initial commit 2018-06-14 16:28:02 +09:00
README.md Update readme with more info 2018-06-20 07:31:59 +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/portlibs/switch/lib
  • DEVKITPRO/libnx/lib
  • DEVKITPRO/portlibs/switch/include
  • DEVKITPRO/libnx/include

##Install

Simply run

nimble install

and then cd into the examples folder and compile an example:

nim build <example_name>

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