lvgl / lv_port_pc_vscode

MIT License
253 stars 157 forks source link

Can not generate a makefile #51

Open brian4685380 opened 4 months ago

brian4685380 commented 4 months 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 4 months ago

I have solved it.

kisvegabor commented 3 months ago

Closing this issue then 🙂

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