Skip to content

gldraphael/LazyFoo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository should help me track my progress of following the SDL2 tutorials at lazyfoo.net. If you're following the tutorials at lazyfoo.net this should help you too.

Using this repo

  1. Clone the repository (or download a ZIP)
  2. The code for the individual tutorials are in separate folders. cd to the folder you'd like to build.
  3. Use make to build the tutorial code
  4. Use ./a.out to run the code

Development Environment

Operating System: OSX 10.11.6
Compiler: Clang
Text Editor: Visual Studio Code

Setting up a mac for development

  1. Run xcode-select --install on the terminal. (I had to run this again after upgrading OSX to El Capitan)
  2. Install homebrew
  3. Install SDL2 by typing: brew install sdl2 --universal
  4. Install Visual Studio Code (or any other text editor of your choice)
  5. Done! You should be able to compile SDL2 code with: clang++ filename.cpp -lSDL2 -g

Development Environment

Operating System: Ubuntu 16.04 LTS
Compiler: Clang
Text Editor: Visual Studio Code

Setting up Ubuntu 16.04 LTS for development

  1. Install clang (if you don't already have it) with: sudo apt-get install clang
  2. Install SDL2 by typing: sudo apt-get install libsdl2-dev
  3. Install Visual Studio Code (or any other text editor of your choice) from here
  4. Done! You should be able to compile SDL2 code with: clang++ filename.cpp -lSDL2 -g

About

Following the SDL 2.0 tutorials at lazyfoo.net

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published