Setting program for LVGL Simulator
Last updated
Was this helpful?
Last updated
Was this helpful?
Download Visual Studio Code for Ubuntu https://code.visualstudio.com/download
คลิ๊ก ไฟล์ที่ดาวน์โหลดมาแล้วกด Install
3. เปิด terminal พิมพ์ คำสั่ง เพื่อเปิดโปรแกรม vscode
$ code .
กด Ctrl+shift+x พิมพ์ c/c++ ในช่อง extensions แล้วกด Install
$ sudo apt-get update && sudo apt-get install -y build-essential libsdl2-dev
$ git clone --recursive https://github.com/lvgl/lv_sim_vscode_sdl
ใช้คำสั่ง cd เข้าไปยังโฟลเดอร์ lvgl ที่ดาวน์โหลดมา
$ ls
$ cd lv_sim_vscode_sdl
เปิดโปรแกรม vscode ด้วยคำสั่ง command line
code .
เมื่อหน้าต่างโปรแกรม lvgl simulator บน vscode ปรากฏ ให้กด F5 เพื่อ complie โปรแกรม simulater รอสักครู่ จะมีหน้า UI ของโปรแกรม lvgl simulator แสดงขึ้นมา