More actions
No edit summary |
|||
Line 23: | Line 23: | ||
$ make | $ make | ||
$ export DEVKITPRO=`pwd` | $ export DEVKITPRO=`pwd` | ||
Go to switch-examples (graphics/simplegfx for example), and make it. Then run ./simplegfx.nro. | Go to [https://github.com/switchbrew/switch-examples switch-examples] (graphics/simplegfx for example), and <code>make</code> it. Then run <code>./simplegfx.nro</code>. | ||
===What's supported=== | ===What's supported=== |
Revision as of 02:57, 3 Haziran 2023
libnx-SDL2 | |
---|---|
General | |
Author | rock88 |
Type | Developments |
Version | wip |
License | MIT License |
Last Updated | 2018/07/30 |
Links | |
Download | |
Website | |
Source | |
SDL2 partial implementation of libnx.
User guide
Install
Make sure SDL2 install correctly (sdl2-config work properly).
$ git clone https://github.com/rock88/libnx-SDL2.git $ cd libnx-SDL2 $ make $ export DEVKITPRO=`pwd`
Go to switch-examples (graphics/simplegfx for example), and make
it. Then run ./simplegfx.nro
.
What's supported
- Console output to screen (consoleInit(NULL));
- Part of gfx;
- Part of hid.
Limitation
- Any hardware specific functional (but can be simulated);
- Any not implemented functions, you just got error like:
Undefined symbols for architecture x86_64: "_accountInitialize", referenced from: _main in main.o
when try link binary.
Screenshots