Closed rx-ted closed 8 months ago
I switch to v8.3, not include lvgl::thorvg, it's compiled successfully.
How do you build the project?
Sorry, I have resolved it. The reason is that the dependency file cannot be found.
Sorry, I have resolved it. The reason is that the dependency file cannot be found.
To help others, could you elaborate on this?
Sorry, I have resolved it. The reason is that the dependency file cannot be found.
To help others, could you elaborate on this?
I will lv_drivers and lvgl clone in this project according to a tutorial. When I compile, I will be prompted that SDL2 this file cannot be found.
Sorry, I have resolved it. The reason is that the dependency file cannot be found.
To help others, could you elaborate on this?
I will lv_drivers and lvgl clone in this project according to a tutorial. When I compile, I will be prompted that SDL2 this file cannot be found.
Yeah, that is the same with yours.
My solution is as follows: Root directory: CMakeLists.txt:29
target_link_libraries(main lvgl lvgl::examples lvgl::demos lvgl::thorvg ${SDL2_LIBRARIES} m pthread)
Remove lvgl::thorvg
, change to
target_link_libraries(main lvgl lvgl::examples lvgl::demos ${SDL2_LIBRARIES} m pthread)
This is my idea. I really can't think of anything else. If you has great idea, pls tell me. TKS.
Does it fail for you with clean clone and build too? I've just tested with:
mkdir build
cd build
cmake ..
make -j
and it worked well.
2024.3.4 git pull to download the least branch of lvgl master, but
lvgl::thorvg
compiled error, see: