Jump to content


SFML Switch Port 2.3

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

This is a Switch port of the SFML libraries

Dependencies

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

Building

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.

Usage

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, Mastodon o Threads!
Preguntas, aportes y peticiones en el foro.

×
×
  • Crear nuevo...