webui-dev/v-webui

gcc issue

Ameeer1 opened this issue · 2 comments

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

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