You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Gabor,
I am trying to build the missing Python examples as flagged by Amir.
To get an idea of what needs to be done and how the original C code looks like, I tried to build the examples on the simulator.
In order to get all examples running, the lv_conf.h file needed an update:
I had to add:
/1: Enable lv_obj fragment/
#define LV_USE_FRAGMENT 0
/*1: Support using images as font in label or span widgets */
#define LV_USE_IMGFONT 0
#if LV_USE_IMGFONT
/Imgfont image file path maximum length/
#define LV_IMGFONT_PATH_MAX_LEN 64
/*1: Use img cache to buffer header information*/
#define LV_IMGFONT_USE_IMG_CACHE_HEADER 0
#endif
/*1: Enable a published subscriber based messaging system */
#define LV_USE_MSG 1
/1: Enable Pinyin input method/
/Requires: lv_keyboard/
#define LV_USE_IME_PINYIN 0
#if LV_USE_IME_PINYIN
/1: Use default thesaurus/
/If you do not use the default thesaurus, be sure to use lv_ime_pinyin after setting the thesauruss/
#define LV_IME_PINYIN_USE_DEFAULT_DICT 1
/Set the maximum number of candidate panels that can be displayed/
/This needs to be adjusted according to the size of the screen/
#define LV_IME_PINYIN_CAND_TEXT_NUM 6
#endif
to the "OTHERS" section.
If you want to get the ffmpeg examples to compile, you will need to update the CMakeList.txt file in lvgl.
I added:
include_directories(/usr/include/freetype2)
link_directories(/usr/lib/x86_64-linux-gnu)
link_libraries(freetype rlottie avcodec avformat avutil swscale)
The text was updated successfully, but these errors were encountered:
This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Hi Gabor,
I am trying to build the missing Python examples as flagged by Amir.
To get an idea of what needs to be done and how the original C code looks like, I tried to build the examples on the simulator.
In order to get all examples running, the lv_conf.h file needed an update:
I had to add:
/1: Enable lv_obj fragment/
#define LV_USE_FRAGMENT 0
/*1: Support using images as font in label or span widgets */
#define LV_USE_IMGFONT 0
#if LV_USE_IMGFONT
/Imgfont image file path maximum length/
#define LV_IMGFONT_PATH_MAX_LEN 64
#endif
/*1: Enable a published subscriber based messaging system */
#define LV_USE_MSG 1
/1: Enable Pinyin input method/
/Requires: lv_keyboard/
#define LV_USE_IME_PINYIN 0
#if LV_USE_IME_PINYIN
/1: Use default thesaurus/
/If you do not use the default thesaurus, be sure to use
lv_ime_pinyin
after setting the thesauruss/#define LV_IME_PINYIN_USE_DEFAULT_DICT 1
/Set the maximum number of candidate panels that can be displayed/
/This needs to be adjusted according to the size of the screen/
#define LV_IME_PINYIN_CAND_TEXT_NUM 6
#endif
to the "OTHERS" section.
If you want to get the ffmpeg examples to compile, you will need to update the CMakeList.txt file in lvgl.
I added:
include_directories(/usr/include/freetype2)
link_directories(/usr/lib/x86_64-linux-gnu)
link_libraries(freetype rlottie avcodec avformat avutil swscale)
The text was updated successfully, but these errors were encountered: