BSD Ports

devel/sdl2pp 0.18.1_1 DragonFly

C++11 bindings/wrapper for SDL2

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ZLIB
Categories
devel
Package size
66.5 KiB, 425.0 KiB installed

Description

This library provides C++11 bindings/wrapper over a subset of SDL2 functions with extra features proided with modern C++ such as:

* RAII-style initialization and destruction * Full error checking: exception is thrown if any SDL function fails. Exception itself allows to retrieve SDL error string * C++11 move semantics support, which allow you to store SDL objects in containers and pass/return them by value with no overhead

In the other systems

SystemPortVersion
DragonFlydevel/sdl2pp0.18.1_1
FreeBSDdevel/sdl2pp0.18.1_2
HardenedBSDdevel/sdl2pp0.18.1_2
GhostBSDdevel/sdl2pp0.18.1_2

Install

Binary package:

pkg install sdl2pp

From DPorts:

cd /usr/dports/devel/sdl2pp && make install clean

Dependencies

Run dependencies 4
Required by 1