Dear Maintainer,
$ cc $(pkg-config --libs --cflags neatvnc aml pixman-1 libpng) /usr/share/doc/libneatvnc-dev/examples/png-server.c -O3 -o png-server
/bin/ld: /tmp/png-server-952d18.o: in function `main':
png-server.c:(.text+0x1f): undefined reference to `read_png_file'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
cf. /usr/share/doc/libneatvnc-dev/examples/meson.build:
if libpng.found()
executable(
'png-server',
[
'png-server.c',
'../src/pngfb.c',
],
this isn't distributed, so to actually use this example you need to apt
source neatvnc and run
$ cc $(pkg-config --libs --cflags neatvnc aml pixman-1 libpng) /usr/share/doc/libneatvnc-dev/examples/png-server.c neatvnc-0.7.1+dfsg/src/pngfb.c -O3 -o png-server
which diminishes the utility of the example greatly.
Please also put pngfb.c into examples.
Best,
наб