v-webui icon indicating copy to clipboard operation
v-webui copied to clipboard

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

Open gilmartaj opened this issue 2 years ago • 4 comments

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?

gilmartaj avatar Oct 15 '23 23:10 gilmartaj

Hey @gilmartaj,

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

  • What example do you try to run?
  • What is the output of v doctor?
  • The newest version currently is not released, it's required to run the latest development version, are you using the latest commit and have run the setup after cloning / pulling?

ttytm avatar Oct 16 '23 07:10 ttytm

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

Dialga avatar Apr 17 '24 11:04 Dialga

Hey @Dialga thanks for reporting.

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

ttytm avatar Apr 17 '24 22:04 ttytm

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

ttytm avatar Apr 17 '24 22:04 ttytm