-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f33754
commit 89641c1
Showing
1 changed file
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ git submodule update --init --recursive | |
- Compiler (g++ or clang++) | ||
- [lv_font_conv](https://github.com/lvgl/lv_font_conv#install-the-script) (for `font.c` generation since [InfiniTime#1097](https://github.com/InfiniTimeOrg/InfiniTime/pull/1097)) | ||
- Note: requires Node.js v14.0.0 or later | ||
- [lv_img_conv](https://github.com/lvgl/lv_img_conv) (for `resource.zip` generation when `BUILD_RESOURCES=ON`, which is the default) | ||
- [Pillow](https://python-pillow.org/) (for `resource.zip` generation when `BUILD_RESOURCES=ON`, which is the default) | ||
- optional: `libpng`, see `-DWITH_PNG=ON` cmake setting below for more info | ||
|
||
On Ubuntu/Debian install the following packages: | ||
|
@@ -57,10 +57,12 @@ Then install the `lv_font_conv` executable to the InfiniSim source directory (wi | |
npm install [email protected] | ||
``` | ||
|
||
When you want to create a `resource.zip` file then install the `lv_img_conv` executable to the InfiniSim source directory (will be installed at `node_modules/.bin/lv_img_conv`) | ||
When you want to create a `resource.zip` file then install the `pillow` Python library to the InfiniSim source directory (will be installed in `.venv/`) | ||
|
||
```sh | ||
npm install [email protected] @swc/core [email protected] | ||
python3 -m venv .venv | ||
source .venv/bin/activate | ||
pip install wheel Pillow | ||
``` | ||
|
||
## Configure and Build | ||
|