The Littlev Graphic Library is written mainly for microcontrollers and embedded systems however you can run the library on your PC as well without any embedded hardware. The code written on PC can be simply copied when your are using an embedded system.
Using a PC simulator instead of an embedded hardware has got several advantages:
Clone the PC project and the related sub modules:
git clone https://github.com/littlevgl/proj_pc.git
cd proj_pc
git submodule update --init
or download it as zip here.
You can download SDL from https://www.libsdl.org/
On Linux you can install it via terminal:
apt-cache search libsdl2
(e.g. libsdl2-2.0-0)sudo apt-get install libsdl2-2.0-0
(replace with the found version)sudo apt-get install libsdl2-dev
sudo apt-get install build-essential
Download and install Eclipse CDT from http://www.eclipse.org/cdt/
git checkout -b my-new-feature
git commit -am 'Add some feature'
git push origin my-new-feature
If you find an issue, please report it via GitHub!
If you are pleased with the graphics library and found it useful pleas support its further development:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。