More actions
(Created page with "{{Infobox Switch Homebrews |title=Simple and Fast Multimedia Library |image=simpleandfastmultimedialibraryswitch.png |description=SFML switch port |author=TomBebb |lastupdated=2020/06/28 |type=Developments |version=Switch-2.3.x |license=Mixed |download=https://dlhb.gamebrew.org/switchhomebrews/simpleandfastmultimedialibraryswitch.7z |website=https://github.com/TomBebb/SFML-switch |source=https://github.com/TomBebb/SFML-switch |donation= }} {{#seo: |title=Switch Homebrew...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox Switch Homebrews | {{Infobox Switch Homebrews | ||
|title= | |title=SFML Switch | ||
|image= | |image=sfmlswitch.png | ||
|description=SFML switch port | |description=SFML switch port. | ||
|author=TomBebb | |author=TomBebb | ||
|lastupdated=2020/06/28 | |lastupdated=2020/06/28 | ||
Line 8: | Line 8: | ||
|version=Switch-2.3.x | |version=Switch-2.3.x | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/switchhomebrews/ | |download=https://dlhb.gamebrew.org/switchhomebrews/sfmlswitch.7z | ||
|website=https://github.com/TomBebb/SFML-switch | |website=https://github.com/TomBebb/SFML-switch | ||
|source=https://github.com/TomBebb/SFML-switch | |source=https://github.com/TomBebb/SFML-switch | ||
|donation= | |donation= | ||
}} | }} | ||
This is a Switch port of the [https://www.sfml-dev.org/ SFML libraries]. | |||
SFML (Simple and Fast Multimedia Library) is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python. | |||
==Dependencies== | |||
Before building, you must have devKitPro setup. | |||
You only need libNX to build, but you need these libraries to link against: | |||
*OpenAL / [https://github.com/TomBebb/mojoAL-switch MojoAL] | |||
*SDL2 (if using MojoAL) | |||
*LibNX | |||
*FLAC | |||
*Vorbis libraries | |||
*LibOGG | |||
*Mesa | |||
*LibPNG | |||
*ZLib | |||
*Nouveau DRM driver | |||
*GLAD | |||
*BZip2 | |||
==Building== | |||
1. Make build directory: | |||
mkdir build | |||
2. Run CMake to generate makefile: | |||
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/DevkitA64Libnx.cmake | |||
3. Build binaries: | |||
make -j 8 | |||
Static libraries were generated in the lib/ folder. | |||
== | ==Usage== | ||
Copy the .a libraries to $DEVKITPRO/portlibs/switch/lib after to simplify using the lib. | |||
==Changelog== | ==Changelog== | ||
''' | '''Switch-2.3.x''' | ||
* | * Switch port of SFML. | ||
* Make sure to link SFML dependencies like OpenAL. | |||
== External links == | == External links == | ||
* | * GitHub - https://github.com/TomBebb/SFML-switch | ||
* | * Reddit - https://www.reddit.com/r/SwitchHaxing/comments/hhgwou/sfml_port_released_use_highlevel_graphics_window/ | ||
Latest revision as of 12:05, 3 Haziran 2023
SFML Switch | |
---|---|
General | |
Author | TomBebb |
Type | Developments |
Version | Switch-2.3.x |
License | Mixed |
Last Updated | 2020/06/28 |
Links | |
Download | |
Website | |
Source | |
This is a Switch port of the SFML libraries.
SFML (Simple and Fast Multimedia Library) is a simple, fast, cross-platform and object-oriented multimedia API. It provides access to windowing, graphics, audio and network. It is written in C++, and has bindings for various languages such as C, .Net, Ruby, Python.
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
1. Make build directory:
mkdir build
2. Run CMake to generate makefile:
cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchains/DevkitA64Libnx.cmake
3. Build binaries:
make -j 8
Static libraries were generated in the lib/ folder.
Usage
Copy the .a libraries to $DEVKITPRO/portlibs/switch/lib after to simplify using the lib.
Changelog
Switch-2.3.x
- Switch port of SFML.
- Make sure to link SFML dependencies like OpenAL.