Open Lennox7746 opened 3 months ago
Hi,
I have 2 questions:
I had the same issue, yet this seems to be fixed using the following: https://stackoverflow.com/questions/52813560/i-have-libsdl2-image-dev-installed-via-apt-get-but-cmake-cannot-find-it
I'm working on Ubuntu 22.04
I'm ok on Ubuntu 18.04:
ubuntu@ubuntu1804:~/work/lv_port_linux/build$ sudo apt-get install libsdl2-2.0 libsdl2-dev libsdl2-mixer-dev libsdl2-image-dev libsdl2-ttf-dev libsdl2-gfx-dev -y
ubuntu@ubuntu1804:~/work/lv_port_linux/build$ cmake -version
cmake version 3.30.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
ubuntu@ubuntu1804:~/work/lv_port_linux/build$
ubuntu 16.04
用下面两行替换find_package(SDL2_image) find_library(NAME SDL2_image REQUIRED) link_libraries(SDL2_image)
It should be fixed in LVGL v9.2.
I have encountered some issues. I want to use hdmi to display lvgl images on my Linux development board, but when trying to create a cmake file, I keep getting the following error message. May I ask what SDL2 and Libdrm.LIBRARY are?
The error is as follows