Here's build commands for debian bullseye (testing track atm) #94
Replies: 9 comments 12 replies
-
Thanks. Are waylandpp-dev and wayland-scanner++ actually needed? Seems odd given that this is not a C++ project. Edit: Also cmake seems out of place |
Beta Was this translation helpful? Give feedback.
-
Hmmm, I'll try without, I basically just skimmed the other distro instructions + the meson file and threw in anything I thought was related. I'll try without those three packages and report back. |
Beta Was this translation helpful? Give feedback.
-
You're missing libpam0g-dev btw. Edit: moved previous text to issue #86 |
Beta Was this translation helpful? Give feedback.
-
To get this running on Ubuntu (20.10) I had to add a few more steps:
(These steps can probably be further simplified.) To summarize, the issues were:
Now the issue I'm running into is that my graphics drivers don't seem to support Wayland, though it sounds like this will be fixed with NVIDIA's upcoming 470 driver release. (It seems that NVIDIA has pulled the 470 beta from distribution, though, due to the fact that it unlocked Ethereum mining on Windows.) My guess as to why I had previously gotten Wayland running on my computer is that I may have been using the open-source Nouveau driver, which comes with its own set of problems. |
Beta Was this translation helpful? Give feedback.
-
I’ll test this out on 21.04 |
Beta Was this translation helpful? Give feedback.
-
FWIW I don't know if there are any other problems caused by manually upgrading |
Beta Was this translation helpful? Give feedback.
-
Another approach might be including $ git clone https://github.com/xkbcommon/libxkbcommon.git
$ cd wayvnc/subprojects
$ ln -s ../../libxkbcommon .
$ cd - Then replacing the following line in Line 47 in 7a60ab7 with: xkbcommon = subproject('libxkbcommon', required: true) This would work around the problem of Ubuntu (and possibly other distributions) not including recent enough versions of |
Beta Was this translation helpful? Give feedback.
-
so I've been trying to get this compile under 21.04; sudo apt install git meson ninja-build build-essential cmake libpam0g-dev libpixman-1-dev libdrm-dev libxkbcommon-dev libwayland-dev libturbojpeg gnutls-bin zlib1g-dev libgnutls28-dev libturbojpeg-dev scdoc git clone https://github.com/any1/wayvnc.git mkdir wayvnc/subprojects mkdir neatvnc/subprojects cd wayvnc but when i run ./build/wayvnc i get the following wl_registry@2: error 0: invalid version for global wl_seat (16): have 5, wanted 7 any ideas? when running the menson build the only thing hat stood out was "||Header <sys/event.h> has symbol "kqueue" : NO" is this important ? |
Beta Was this translation helpful? Give feedback.
-
Hi. I am trying to install wayvnc on a Raspberry Pi 4B running Raspberry Pi OS 64 Bullseye. My ultimate goal is to mirror a Cage session running on the RasPi as the server with any computer running VNC Viewer. I have been continually attempting to install in several different ways, but ultimately, I get the same result. Here's the text of the exact error that I'm getting when I run $ ninja -C build My original thought is that it has something to do with a failure when meson building aml.
kqueue seems to be missing from sys/event.h . It doesn't end the meson build and perhaps there's no correlation. I have tried several approaches to installation. Firs, from the instructions on the front page of the git. Then, individually (starting with neatvnc and then aml, finally wayvnc). Then, I copied-and-pasted the script at the top of this thread and let that run. I kept throwing the same errors. A search has not yielded any results that helped. I am kind of at a loss for how to get around this. Unless this is an incompatibility issue with RasPi OS, or with the hardware itself, it's certain that I am missing something vital. I just can't figure out where. Any assistance or pointing in the direction where this same issue may have been solved will be humbly appreciated. |
Beta Was this translation helpful? Give feedback.
-
Sharing in case they are useful. Feel free to put them on the readme/faq if you are inclined :)
Beta Was this translation helpful? Give feedback.
All reactions