^~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:63:5: error: unknown type name 'Out'
63
Out SIZE_T* PixelBufferSize);
^~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:76:5: error: unknown type name 'In'
76
In HWND WindowHandle);
^~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:105:5: error: unknown type name 'HTOUCHINPUT'; did you mean 'PTOUCHINPUT'?
105
HTOUCHINPUT hTouchInput,
^~~
PTOUCHINPUT
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:120:5: error: unknown type name 'HTOUCHINPUT'; did you mean 'PTOUCHINPUT'?
120
HTOUCHINPUT hTouchInput);
^~~
PTOUCHINPUT
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:128:5: error: unknown type name 'In'
128
In HWND WindowHandle);
^~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:164:15: warning: 'lv_win32_quit_signal' initialized and declared 'extern'
164
EXTERN_C bool lv_win32_quit_signal = false;
^~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:166:22: warning: 'lv_win32_pointer_device_object' initialized and declared 'extern'
166
^~~~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c: In function 'lv_win32_init':
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:249:45: warning: passing argument 2 of 'LoadCursorW' from incompatible pointer type [-Wincompatible-pointer-types]
249
In file included from d:\stmicroelectronics\stm32cube\mingw\include\windows.h:48,
from D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.h:23,
from D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:10:
d:\stmicroelectronics\stm32cube\mingw\include\winuser.h:3999:51: note: expected 'LPCWSTR' {aka 'const short unsigned int '} but argument is of type 'CHAR ' {aka 'char '}
3999 | WINUSERAPI HCURSOR WINAPI LoadCursorW (HINSTANCE, LPCWSTR);
| ^~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:281:19: warning: implicit declaration of function 'lv_win32_get_dpi_for_window' [-Wimplicit-function-declaration]
281 | g_dpi_value = lv_win32_get_dpi_for_window(g_window_handle);
| ^~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:319:5: warning: implicit declaration of function 'lv_win32_enable_child_window_dpi_message' [-Wimplicit-function-declaration]
319 | lv_win32_enable_child_window_dpi_message(g_window_handle);
| ^~~~~~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:321:24: warning: implicit declaration of function 'lv_win32_create_frame_buffer' [-Wimplicit-function-declaration]
321 | HDC hNewBufferDC = lv_win32_create_frame_buffer(
| ^~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:321:24: warning: initialization of 'HDC' {aka 'struct HDC__ '} from 'int' makes pointer from integer without a cast [-Wint-conversion]
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c: At top level:
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:375:12: error: conflicting types for 'lv_win32_create_frame_buffer'
375 | static HDC lv_win32_create_frame_buffer(
| ^~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:321:24: note: previous implicit declaration of 'lv_win32_create_frame_buffer' was here
321 | HDC hNewBufferDC = lv_win32_create_frame_buffer(
| ^~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:501:13: error: static declaration of 'lv_win32_enable_child_window_dpi_message' follows non-static declaration
501 | static BOOL lv_win32_enable_child_window_dpi_message(
| ^~~~~~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:319:5: note: previous implicit declaration of 'lv_win32_enable_child_window_dpi_message' was here
319 | lv_win32_enable_child_window_dpi_message(g_window_handle);
| ^~~~~~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:569:5: error: unknown type name 'HTOUCHINPUT'; did you mean 'PTOUCHINPUT'?
569 | HTOUCHINPUT hTouchInput,
| ^~~
| PTOUCHINPUT
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:593:5: error: unknown type name 'HTOUCHINPUT'; did you mean 'PTOUCHINPUT'?
593 | HTOUCHINPUT hTouchInput)
| ^~~
| PTOUCHINPUT
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:614:5: error: unknown type name 'In'
614 | In HWND WindowHandle)
| ^~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c: In function 'lv_win32_window_message_callback':
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:898:10: error: 'WM_TOUCH' undeclared (first use in this function); did you mean 'WM_TOUCHUP'?
898 | case WM_TOUCH:
| ^~~~
| WM_TOUCHUP
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:898:10: note: each undeclared identifier is reported only once for each function it appears in
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:901:9: error: unknown type name 'HTOUCHINPUT'; did you mean 'PTOUCHINPUT'?
901 | HTOUCHINPUT hTouchInput = (HTOUCHINPUT)(lParam);
| ^~~
| PTOUCHINPUT
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:901:36: error: 'HTOUCHINPUT' undeclared (first use in this function); did you mean 'PTOUCHINPUT'?
901 | HTOUCHINPUT hTouchInput = (HTOUCHINPUT)(lParam);
| ^~~
| PTOUCHINPUT
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:906:17: warning: implicit declaration of function 'lv_win32_get_touch_input_info' [-Wimplicit-function-declaration]
906 | if (lv_win32_get_touch_input_info(
| ^~~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:915:31: warning: implicit declaration of function 'TOUCH_COORD_TO_PIXEL' [-Wimplicit-function-declaration]
915 | Point.x = TOUCH_COORD_TO_PIXEL(pInputs[i].x);
| ^~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:936:9: warning: implicit declaration of function 'lv_win32_close_touch_input_handle' [-Wimplicit-function-declaration]
936 | lv_win32_close_touch_input_handle(hTouchInput);
| ^~~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:940:10: error: 'WM_DPICHANGED' undeclared (first use in this function); did you mean 'WM_USERCHANGED'?
940 | case WM_DPICHANGED:
| ^~~~~
| WM_USERCHANGED
At top level:
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:501:13: warning: 'lv_win32_enable_child_window_dpi_message' defined but not used [-Wunused-function]
501 | static BOOL lv_win32_enable_child_window_dpi_message(
| ^~~~~~~~~~~~
D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:375:12: warning: 'lv_win32_create_frame_buffer' defined but not used [-Wunused-function]
375 | static HDC lv_win32_create_frame_buffer(
| ^~~~~~~~
Process terminated with status 1 (0 minute(s), 2 second(s))
Process terminated with status 0 (0 minute(s), 2 second(s))
18 error(s), 14 warning(s) (0 minute(s), 2 second(s))
hi some errors:
-------------- Build: Debug in LittlevGL (compiler: GNU GCC Compiler)---------------
~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:60:5: error: unknown type name 'In' 60~~~~~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:166:22: warning: 'lv_win32_pointer_device_object' initialized and declared 'extern' 166~~~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:167:22: warning: 'lv_win32_keypad_device_object' initialized and declared 'extern' 167~~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:168:22: warning: 'lv_win32_encoder_device_object' initialized and declared 'extern' 168~~~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c: In function 'lv_win32_init': D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:249:45: warning: passing argument 2 of 'LoadCursorW' from incompatible pointer type [-Wincompatible-pointer-types] 249~~~~In file included from d:\stmicroelectronics\stm32cube\mingw\include\windows.h:48, from D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.h:23, from D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:10: d:\stmicroelectronics\stm32cube\mingw\include\winuser.h:3999:51: note: expected 'LPCWSTR' {aka 'const short unsigned int '} but argument is of type 'CHAR ' {aka 'char '} 3999 | WINUSERAPI HCURSOR WINAPI LoadCursorW (HINSTANCE, LPCWSTR); | ^
~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:281:19: warning: implicit declaration of function 'lv_win32_get_dpi_for_window' [-Wimplicit-function-declaration] 281 | g_dpi_value = lv_win32_get_dpi_for_window(g_window_handle); | ^~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:319:5: warning: implicit declaration of function 'lv_win32_enable_child_window_dpi_message' [-Wimplicit-function-declaration] 319 | lv_win32_enable_child_window_dpi_message(g_window_handle); | ^~~~~~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:321:24: warning: implicit declaration of function 'lv_win32_create_frame_buffer' [-Wimplicit-function-declaration] 321 | HDC hNewBufferDC = lv_win32_create_frame_buffer( | ^~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:321:24: warning: initialization of 'HDC' {aka 'struct HDC__ '} from 'int' makes pointer from integer without a cast [-Wint-conversion] D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c: At top level: D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:375:12: error: conflicting types for 'lv_win32_create_frame_buffer' 375 | static HDC lv_win32_create_frame_buffer( | ^~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:321:24: note: previous implicit declaration of 'lv_win32_create_frame_buffer' was here 321 | HDC hNewBufferDC = lv_win32_create_frame_buffer( | ^~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:501:13: error: static declaration of 'lv_win32_enable_child_window_dpi_message' follows non-static declaration 501 | static BOOL lv_win32_enable_child_window_dpi_message( | ^~~~~~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:319:5: note: previous implicit declaration of 'lv_win32_enable_child_window_dpi_message' was here 319 | lv_win32_enable_child_window_dpi_message(g_window_handle); | ^~~~~~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:569:5: error: unknown type name 'HTOUCHINPUT'; did you mean 'PTOUCHINPUT'? 569 | HTOUCHINPUT hTouchInput, | ^~~| PTOUCHINPUT D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:593:5: error: unknown type name 'HTOUCHINPUT'; did you mean 'PTOUCHINPUT'? 593 | HTOUCHINPUT hTouchInput) | ^~~| PTOUCHINPUT D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:614:5: error: unknown type name 'In' 614 | In HWND WindowHandle) | ^~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c: In function 'lv_win32_window_message_callback': D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:898:10: error: 'WM_TOUCH' undeclared (first use in this function); did you mean 'WM_TOUCHUP'? 898 | case WM_TOUCH: | ^~~~ | WM_TOUCHUP D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:898:10: note: each undeclared identifier is reported only once for each function it appears in D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:901:9: error: unknown type name 'HTOUCHINPUT'; did you mean 'PTOUCHINPUT'? 901 | HTOUCHINPUT hTouchInput = (HTOUCHINPUT)(lParam); | ^~~| PTOUCHINPUT D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:901:36: error: 'HTOUCHINPUT' undeclared (first use in this function); did you mean 'PTOUCHINPUT'? 901 | HTOUCHINPUT hTouchInput = (HTOUCHINPUT)(lParam); | ^~~| PTOUCHINPUT D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:906:17: warning: implicit declaration of function 'lv_win32_get_touch_input_info' [-Wimplicit-function-declaration] 906 | if (lv_win32_get_touch_input_info( | ^~~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:915:31: warning: implicit declaration of function 'TOUCH_COORD_TO_PIXEL' [-Wimplicit-function-declaration] 915 | Point.x = TOUCH_COORD_TO_PIXEL(pInputs[i].x); | ^~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:936:9: warning: implicit declaration of function 'lv_win32_close_touch_input_handle' [-Wimplicit-function-declaration] 936 | lv_win32_close_touch_input_handle(hTouchInput); | ^~~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:940:10: error: 'WM_DPICHANGED' undeclared (first use in this function); did you mean 'WM_USERCHANGED'? 940 | case WM_DPICHANGED: | ^~~~~ | WM_USERCHANGED At top level: D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:501:13: warning: 'lv_win32_enable_child_window_dpi_message' defined but not used [-Wunused-function] 501 | static BOOL lv_win32_enable_child_window_dpi_message( | ^~~~~~~~~~~~ D:\Users\samuelhg\Documents\learning\Lvgl\lv_sim_codeblocks_win\lv_drivers\win32drv\win32drv.c:375:12: warning: 'lv_win32_create_frame_buffer' defined but not used [-Wunused-function] 375 | static HDC lv_win32_create_frame_buffer( | ^~~~~~~~ Process terminated with status 1 (0 minute(s), 2 second(s))Process terminated with status 0 (0 minute(s), 2 second(s)) 18 error(s), 14 warning(s) (0 minute(s), 2 second(s))