Jump to content

SFML Switch Port 2.3

¿Quieres enterarte al momento de las nuevas descargas? Síguenos en Twitter o Mastodon!

This is a Switch port of the SFML libraries


Before building, you must have devKitPro setup.

You only need libNX to build, but you need these libraries to link against:

  • OpenAL / MojoAL
  • SDL2 (if using MojoAL)
  • LibNX
  • FLAC
  • Vorbis libraries
  • LibOGG
  • Mesa
  • LibPNG
  • ZLib
  • Nouveau DRM driver
  • GLAD
  • BZip2


Make build directory:

mkdir build

Run CMake to generate makefile:

cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/DevkitA64Libnx.cmake

Build binaries:

make -j 8

Static libraries were generated in the lib/ folder.


I usually copy the .a libraries to $DEVKITPRO/portlibs/switch/lib after to simplify using the lib.

by TomBebb.

No te pierdas nada, síguenos en Twitter o Mastodon!
¿Tienes alguna duda, petición o aporte? Utiliza el foro!

  • Crear nuevo...