Preface:
Develop for Switch (for me) is really hard and took a lot of time, I really want to develop in my preferred IDE with breakpoints and debugger, with fast app running, without stopped/crashed Switch, without again and again entered to RCM and load CFW.
So I ported some parts of libnx to SDL2, for easy and fast development on PC.
Of course this not supported lots of functions and features, but it can be use for develop some part of app/homebrew.
All tested on OSX.
Currently I tested few switch-examples:
And 2048 game:
If some not supported you just get linker error like:
implement it by yourself
Source:
https://github.com/rock88/libnx-SDL2
Develop for Switch (for me) is really hard and took a lot of time, I really want to develop in my preferred IDE with breakpoints and debugger, with fast app running, without stopped/crashed Switch, without again and again entered to RCM and load CFW.
So I ported some parts of libnx to SDL2, for easy and fast development on PC.
Of course this not supported lots of functions and features, but it can be use for develop some part of app/homebrew.
All tested on OSX.
Currently I tested few switch-examples:
And 2048 game:
If some not supported you just get linker error like:
Code:
Undefined symbols for architecture x86_64:
"_accountInitialize", referenced from:
_main in main.o[/SIZE]
Source:
https://github.com/rock88/libnx-SDL2