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 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.