Skip to content

guyvanit/sdl-wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 

Repository files navigation

sdl-wrapper

Simple wrapper for SDL resources in C++, for managed initalisation and cleaning up for the resources. This is mainly for use with sdl-gallery.

Building dynamic library (for MAC OS)

  1. Run "make" in cloned directory -> get libsdl_wrap.dylib in directory
  2. Run "install" -> move libsdl_wrap.dylib to /usr/local/lib and headers to /usr/local/include
  3. Link to this library by using options in g++: -L/usr/local/lib -lsdl_wrap -I/usr/local/include

Dependencies?:

  • g++-9
  • SDL2.0
  • SDL_Img (Optional?)

NOTE: this readme is horrible and details regarding dependencies + install/buiding instructions are badly-written without details -> will fix this repo to be better maintained some time later

TODO:

  • Add other wrappers for future use (e.g. SDL_Renderer / SDL_Texture)
  • Fix README + Makefile etc. about library instructions
  • Cross-platform library building? (e.g. CMake)

About

Simple wrapper for some SDL resources, mainly for use with my simple-gallery repo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors