RoPod/Tutorials/Install SDL library

From Control Systems Technology Group
Revision as of 10:46, 13 April 2018 by Clopez (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

SDL is a library that allows a more dynamic interface of the keyboard is SDL 1.2 (Important!!!).

sudo apt install libsdl1.2-dev 

then compile

 gcc -o keyboardtest keyboardtest.c `sdl-config --cflags
--libs`