lvgl / lv_port_win_codeblocks

Windows PC simulator project for LVGL embedded GUI Library
MIT License
149 stars 86 forks source link

Can this project use cmake to build project instead of code blocks #32

Open widon1104 opened 2 years ago

widon1104 commented 2 years ago

code blocks is buggy and is hard to use. Can you use cmake to build this project ????

1

I use the latest code blocks to open this project and find I can not find the header file and almost all header file can not open..

stale[bot] commented 1 year ago

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.

100ask commented 5 months ago

Please try using the latest version: https://github.com/lvgl/lv_port_win_codeblocks Or try using another project: https://github.com/lvgl/lv_port_linux

TheOfficialMrBlah commented 5 months ago

code blocks is buggy and is hard to use. Can you use cmake to build this project ????

Yes, works perfectly with cmake.

I used the CMakeLists.txt from lv_port_pc_vscode for this project and adapted it slightly (basically just commented out "findpackage(SDL2 REQUIRED SDL2)" and set the “USE...” variables to 0).

Compiled and runs flawlessly, completely without codeblocks, only with cmake and make.