Compiling WayVNC - errors - help ? ides?

Hello, I have been able to install and use Arch Linux with Sway on my experimental box and have been trying to “port” WayVNC to it.

I have been able to install/and or build all of the dependecies required.

The meson build/config completes properly.

Upon the last step of using ninja to compile the binaries I have this error with the calls to PIXMAN functions. I googled a notice if change for the functions here:

– pixman-renderer: use pixel_format_info instead of pixman_format_code_t –



here is my console output:

user in :globe_with_meridians: ArchVF2 in wayvnc/build on  master [!?] via C v14.2.1-gcc
❯ ninja
[125/149] Compiling C object wayvnc.p/src_pixels.c.o
FAILED: wayvnc.p/src_pixels.c.o
cc -Iwayvnc.p -I. -I… -I…/include -I…/subprojects/aml/include -I…/subprojects/neatvnc/include -I/usr/include/pixman-1 -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu11 -O0 -g ‘-DPROJECT_VERSION=“v0.10-dev-9be052a (master)”’ -D_GNU_SOURCE -DAML_UNSTABLE_API=1 -Wno-unused-parameter -Wno-missing-field-initializers -MD -MQ wayvnc.p/src_pixels.c.o -MF wayvnc.p/src_pixels.c.o.d -o wayvnc.p/src_pixels.c.o -c …/src/pixels.c

…/src/pixels.c:464:27: error: unknown type name ‘pixman_format_code_t’
464 | bool fourcc_to_pixman_fmt(pixman_format_code_t* dst, uint32_t src)
| ^~~~~~~~~~~~~~~~~~~~

…/src/pixels.c:794:22: warning: ‘enum format_rating_flags’ declared inside parameter list will not be visible outside of this definition or declaration
794 | enum format_rating_flags flags, int target_depth)

| ^~~~~~~~~~~~~~~~~~~
…/src/pixels.c:794:42: error: parameter 3 (‘flags’) has incomplete type
794 | enum format_rating_flags flags, int target_depth)

| ~~~~~~~~~~~~~~~~~~~~~^
…/src/pixels.c: In function ‘rate_pixel_format’:
…/src/pixels.c:806:21: error: ‘FORMAT_RATING_NEED_ALPHA’ undeclared

(first use in this function)
806 | if (flags & FORMAT_RATING_NEED_ALPHA) {
| ^~~~~~~~~~~~~~~~~~~~~~~~
…/src/pixels.c:806:21: note: each undeclared identifier is reported only once for each function it appears in
…/src/pixels.c:815:47: error: ‘FORMAT_RATING_PREFER_LINEAR’ undeclared (first use in this function)
815 | const double linear_weight = (flags & FORMAT_RATING_PREFER_LINEAR) ? 10 : 0;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[130/149] Compiling C object wayvnc.p/src_ctl-server.c.o
ninja: build stopped: subcommand failed.


intalled:
pacman -sS pixman
extra/pixman 0.44.2-1 [installed]
The pixel-manipulation library for X and cairo


I am using Sway and gnome-connections for the client side on the risc-v and it works very well. now I need a server to go the other direction.

Any ideas ? thanks.

Well it turns out that the wayvnc package IS in the AUR and it installed perfectly.

It works really well.

I would recommend Arch with Sway as the BEST config for these boards so far.

thanks to the ARCH guys!

I don’t completely agree with your viewpoint.
archlinux for vf2, It seems that there is no complete GPU or VPU driver.
You can try here, there are debian13 image files here. There are three.

Oh I have tried the new images, in fact as soon as they were posted, and had more trouble than it was worth to me. Different strokes for different folks.

As for the GPU drivers, well I have 3d basic accel. and fast window response with the build. As far as I can tell, since I do not watch videos on it, everything is working.

I am looking forward to updating the kernel to 6.13.x. Hopefully there will be some “other” more easily accessible mesa drivers then.

have a nice day!

1 Like

Your viewpoint is correct.。 :+1: :+1: :+1:
Starting from one year ago, My friends and I use this method, Until the discovery of debian13 (including GPU and VPU drivers).
You can also try arch+labwc。 Sway is tiled, labwc is stacked.

Thanks for the tip, I will check out the other compositor. It has some more modern organization and code features.

:+1: :+1: :+1:
arch + labwc + xfce4-panel(>4.20) + xfce4-goodies(>4.20) .

be careful: Xfce4 (4.20) will call labwc, Xfce4 (4.20) uses labwc instead of xfwm.

Will do.

🖥️🖥️🖥️

1 Like

Use xfce4-panel (4.20) in Sway,
https://forum.rvspace.org/uploads/default/original/2X/0/0b177d328ce575b1fe7bfa2f5691b85b25748ff6.png
https://forum.rvspace.org/uploads/default/original/2X/0/065db19e179a4960f0d80a713af438504e136460.png