lvgl / lv_port_pc_vscode

MIT License
233 stars 146 forks source link

Can not generate a makefile #51

Open brian4685380 opened 1 month ago

brian4685380 commented 1 month ago

I have check that I install the SDL2 lib on my MacBook, and I try to use cmake to configure the makefile but it encounter some error ❯ cmake .. CMake Error at CMakeLists.txt:17 (find_package): Found package configuration file:

/Library/Frameworks/SDL2.framework/Resources/CMake/sdl2-config.cmake

but it set SDL2_FOUND to FALSE so package "SDL2" is considered to be NOT FOUND.

-- Configuring incomplete, errors occurred!

brian4685380 commented 1 month ago

I have solved it.

kisvegabor commented 1 month ago

Closing this issue then 🙂

Please share your solution so that others can learn from it.