Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error #56

Open
earthgalaxy opened this issue Aug 18, 2024 · 3 comments
Open

build error #56

earthgalaxy opened this issue Aug 18, 2024 · 3 comments

Comments

@earthgalaxy
Copy link

||=== Build finished: 2 error(s), 4 warning(s) (1 minute(s), 38 second(s)) ===|
error
D:\LVGL\lv_port_win_codeblocks\lvgl\src\drivers\windows\lv_windows_context.c|142|error: 'CREATE_WAITABLE_TIMER_HIGH_RESOLUTION' undeclared (first use in this function)|
D:\LVGL\lv_port_win_codeblocks\lvgl\src\drivers\windows\lv_windows_context.c|141|error: 'CREATE_WAITABLE_TIMER_MANUAL_RESET' undeclared (first use in this function)|

warning
D:\LVGL\lv_port_win_codeblocks\lvgl\src\drivers\windows\lv_windows_display.c|61|warning: implicit declaration of function 'CreateEventExW'; did you mean 'CreateEventW'? [-Wimplicit-function-declaration]|
D:\LVGL\lv_port_win_codeblocks\lvgl\src\drivers\windows\lv_windows_display.c|61|warning: assignment to 'HANDLE' {aka 'void *'} from 'int' makes pointer from integer without a cast [-Wint-conversion]|
D:\LVGL\lv_port_win_codeblocks\lvgl\src\drivers\windows\lv_windows_context.c|133|warning: implicit declaration of function 'GetTickCount64'; did you mean 'GetTickCount'? [-Wimplicit-function-declaration]|
D:\LVGL\lv_port_win_codeblocks\lvgl\src\drivers\windows\lv_windows_context.c|138|warning: implicit declaration of function 'CreateWaitableTimerExW'; did you mean 'CreateWaitableTimerW'? [-Wimplicit-function-declaration]|

thank you

@YobeZhou
Copy link
Contributor

@ajayw
Copy link

ajayw commented Sep 21, 2024

I am a newbie and encountered failures when following the tutorial, but finally compiled successfully. Here is a tip for those who are also newbies:
If you upgrade mingw according to the tutorial, but the compilation still fails, please check whether the compiler installation directory is correct. If the path has been modified before, it is likely to cause your compilation to fail.
sp20240921_143027_524
企业微信截图_17269012835360

@laminggg
Copy link

@ajayw thank you,it work for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants