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

Error: declaration for parameter 'webui_new_window' but no such parameter #75

Closed gilmartaj closed 6 months ago

gilmartaj commented 1 year ago

Hello, I tried to run the examples and got the following error:

In file included from /tmp/v_1000/main.16722958108676249408.tmp.c:817: /home/user/.vmodules/vwebui/webui/include/webui.h:158: error: declaration for parameter 'webui_new_window' but no such parameter

Can someone help me?

ttytm commented 1 year ago

Hey @gilmartaj,

to help you better, can you share the following information?

Dialga commented 7 months ago

I just encountered this error too, on the latest v commit and master branch of v-webui. Arch Linux x64.

ttytm commented 7 months ago

Hey @Dialga thanks for reporting.

Thanks for reporting. I can reproduce it. Gonna look into it.

ttytm commented 7 months ago

It's an issue with TCC with the latest webui and V versions.

You should be able to compile when using -cc gcc or -cc clang