SDL Easy Switch

From GameBrew
SDL-easy
Sdleasynx.png
General
AuthorITotalJustice
TypeDevelopments
Version2019
LicenseGPL-3.0
Last Updated2019/12/14
Links
Download
Website
Source
Support Author

It's SDL, but made even easier. A sdl wrapper library for the Nintendo Switch.

User guide

How to build

Install the Devkitpro tool chain from here.

Using pacman (installed with devkitpro) install the following libraries:

  • switch-freetype
  • switch-sdl2
  • switch-sdl2_gfx
  • switch-sdl2_image
  • switch-sdl2_ttf

How to use

Include the sdl_easy.c in your source folder and sdl_easy.h in your includes folder.

Use the included Makefile to as a guide to help compile your app with sdl_easy, look at the LIBS section for what to include.

Be sure to look at the examples for help getting started, the 'hello-world' example is a great place to start.

External links

Advertising: