Skip to content

independentpixels/sdl2-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDL2-Starter

A SDL2 project template ready to be used with VSCode on a Mac.

A video tutorial is available in case you want to follow through the steps and create it by yourself. It's easy and fun! I encourage you to do it by yourself.

Video Tutorial

Pre-requisites

The project template comes with the links already setup pointing to the original location of the SDL2 and SLD2_image libraries.

You can use the commands below to install both libraries to the default location.

$ brew install sdl2 sdl2_image

Both libraries will be installed to /urs/local/Cellar and their paths will be already linked in the project.

Building the application

This template uses as Makefile that was configured to build our application into the build/debug directory.

In order to build the application, type:

$ make

Running the application

In order to run the application, type:

$ ./build/debug/play

You should see the string "Hello SDL2!" being printed to the console output.

LICENSE

MIT

About

An SDL2 starter project for Mac and VSCode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published