Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gilmartaj opened this issue Oct 15, 2023 · 4 comments · Fixed by #78
Closed

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

gilmartaj opened this issue Oct 15, 2023 · 4 comments · Fixed by #78

Comments

@gilmartaj
Copy link

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
Copy link
Member

ttytm commented Oct 16, 2023

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?

@Dialga
Copy link

Dialga commented Apr 17, 2024

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

@ttytm
Copy link
Member

ttytm commented Apr 17, 2024

Hey @Dialga thanks for reporting.

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

@ttytm
Copy link
Member

ttytm commented Apr 17, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants