lvgl / lv_port_win_codeblocks

Windows PC simulator project for LVGL embedded GUI Library
MIT License
143 stars 88 forks source link

The project v8 is not build on win7x32 #15

Closed imprego closed 3 years ago

imprego commented 3 years ago

With new windows driver (win32drv), which include VersionHelpers.h, I received a "...not found" error. After setup Windows SDK and write file paths in project settings, I received "C:\Program Files\Windows Kits\10\Include\10.0.19041.0\um\winnt.h|1035|error: #error Must define a target architecture.|" error and a few"unknown type name" and "conflicting types". CodeBlocks 20.03, Windows 7x32, new project lv_sim_codeblocks.

embeddedt commented 3 years ago

It sounds like you are not using MinGW, but instead the Windows SDK. It's quite possible that there is an incompatibility as I don't have the Windows SDK installed when developing this.

Also, when I was updating the project to v8, I found that the new Windows driver depends on features only available in Windows 8 and newer, so you may experience issues trying to use it in Windows 7.

imprego commented 3 years ago

Thanks! I am download new mingw-64 instead current mingw and project build without problems. All guides in internet about file VersionHelpers.h ask download Windows SDK. It confused me.