This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
| 
                    products:sbc:common:applications:sdl2 [2022/10/25 06:32] nick [Get SDL2 Source Code]  | 
                
                    products:sbc:common:applications:sdl2 [2022/10/25 06:33] (current) nick  | 
            ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| ===== Install SDL2 Packages ===== | ===== Install SDL2 Packages ===== | ||
| - | ```sh | + | ```shell | 
| - | $ sudo apt update | + | sudo apt update | 
| - | $ sudo apt upgrade | + | sudo apt upgrade | 
| - | $ sudo apt install libsdl2-2.0-0 libsdl2-dev | + | sudo apt install libsdl2-2.0-0 libsdl2-dev | 
| ``` | ``` | ||
| Line 31: | Line 31: | ||
| ==== Compile Test Examples ==== | ==== Compile Test Examples ==== | ||
| - | ```sh | + | ```shell | 
| - | $ cd test | + | cd test | 
| - | $ ./ | + | ./ | 
| - | $ make | + | make | 
| ``` | ``` | ||