webui-dev / webui

Use any web browser or WebView as GUI, with your preferred language in the backend and HTML5 in the frontend, all in a lightweight portable lib.
https://webui.me
MIT License
2.36k stars 145 forks source link

Examples build on ARM for Windows issue #438

Open d33p-dev opened 3 days ago

d33p-dev commented 3 days ago

Description

Tried to build the examples on Windows ARM (a Win11 VM running on MacBook M1 with Parallels). CL compile will exit with an error.

Expected behavior

Just build for the host's architecture: x64 or ARM, etc

Environment info

Windows 11 ARM

Compiler Version: Language Compiler/Interpreter Version here

WebUI Version: WebUI 2.5.0

Solution

Remove this from the CL line in Makefile - /MACHINE:X64 Btw, I think the docs say to use "NMake -f Makefile.nmake" for Windows builds but it's just "NMake -f Makefile" since "Makefile.nmake" does not exist in WebUI v2.5.0

hassandraga commented 3 days ago

That's true. Thank you @d33p-dev for pointing this out, we will fix it soon.