[sane-devel] Building xsane

Ralph Little littlesincanada at yahoo.co.uk
Fri Jul 26 20:02:28 BST 2019


Hi,
I have been trying to build xsane with little success. 
I notice that there has not been much activity in the repo for some time.

Is xsane currently built?

For example, I get the following:

In file included from /usr/include/libpng16/pngconf.h:50:0,                  
from /usr/include/libpng16/png.h:366,                  
from xsane-save.c:50: 
xsane-save.c: In function ‘xsane_save_png’: xsane-save.c:4913:21: error: dereferencing pointer to incomplete type ‘png_struct {aka struct png_struct_def}’    if (setjmp(png_ptr->jmpbuf)) 


Digging into this a little seems to indicate that libpng have made some of their structures opaque.

Cheers,
Ralph Little



More information about the sane-devel mailing list