lvgl / lv_port_pc_eclipse

PC simulator project for LVGL embedded GUI Library. Recommended on Linux and Mac.
https://docs.lvgl.io/v7/en/html/get-started/pc-simulator.html
MIT License
280 stars 214 forks source link

ld: library not found for -lSDL2main #117

Open zhiping128 opened 1 year ago

zhiping128 commented 1 year ago

when i run "lv_port_pc_eclipse" in eclipse IDE , have a error's

ld: library not found for -lSDL2main clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [lv_port_pc_eclipse] Error 1 "make all" terminated with exit code 2. Build might be incomplete.

14:34:00 Build Failed. 2 errors, 0 warnings. (took 898ms)

kisvegabor commented 1 year ago

Have you installed SDL as described in the README?

zhiping128 commented 1 year ago

Have you installed SDL as described in the README?

@kisvegabor

Yes of course!

截屏2023-02-09 21 24 07
kisvegabor commented 1 year ago

I see that you or Mac. Sorry, by literally don't know anything on developing on Mac :slightly_frowning_face:

I suggest asking around the Forum. And - as it doesn't seem like an LVGL specific issue - general Googling might help too.

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.