webui-dev / v-webui

Use any web browser as GUI, with V in the backend and modern web technologies in the frontend.
https://webui.me
MIT License
112 stars 11 forks source link

gcc issue #76

Open AmeerAtia opened 11 months ago

AmeerAtia commented 11 months ago

when i try to compile or run a examples by GCC i get that error when i try to use Clang or TCC it give me a like that error also

.vmodules\vwebui\examples\text-editor>v -cc gcc run .
==================
C.....\.vmodules\vwebui\webui/webui-2.dll: file not recognized: file format not recognized
collect2.exe: error: ld returned 1 exit status
...
==================
(Use `v -cg` to print the entire error message)

builder error:
==================
C error. This should never happen.

This is a compiler bug, please report it using `v bug file.v`.

https://github.com/vlang/v/issues/new/choose

You can also use #help on Discord: https://discord.gg/vlang
AlbertShown commented 11 months ago

Probably this wrapper is not updated yet to the latest one. However, as a workaround, you can try to replace webui.dll manually by downloading the latest pre-compiled release: https://github.com/webui-dev/webui/releases

AlbertShown commented 11 months ago

Try this one webui-windows-gcc-x64.zip