Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:applications:sdl2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:applications:sdl2 [2022/09/07 02:18]
nick
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 22: Line 22:
 ==== Get SDL2 Source Code ==== ==== Get SDL2 Source Code ====
  
-```sh +```shell 
-cd /tmp +cd /tmp 
-git clone https://github.com/libsdl-org/SDL +git clone https://github.com/libsdl-org/SDL 
-git checkout release-2.0.20 +cd SDL 
-$ cd SDL+git checkout release-2.0.20
 ``` ```
  
 ==== Compile Test Examples ==== ==== Compile Test Examples ====
  
-```sh +```shell 
-cd test +cd test 
-./configure +./configure 
-make+make
 ``` ```
  
Last modified: 2022/09/07 02:18 by nick