[sane-devel] Epson V500 Photo iscan doesn't complile anymore

Ralph Little littlesincanada at yahoo.co.uk
Tue Aug 6 17:10:42 BST 2019

> I am having trouble getting my V500 Photo to run.
> Epson does offer some .deb and .rpm-Files and even source code but all
> of these packages are fairly outdated.
> Source package is at: http://support.epson.net/linux/src/scanner/iscan/
> On Tumbleweed (openSUSE) I am getting the following output:
> make
> [...]
> In file included from basic-imgstream.cc:34:
> basic-imgstream.hh:55:10: fatal error: ltdl.h: No such file or directory
>    55 | #include <ltdl.h>
>        |          ^~~~~~~~
> compilation terminated.

I tried to compile this package on Linux Mint 18.3 and it gets past this point if you have libltdl-dev on that platform.However, I do get compile errors later on.
jpegstream.cc: In member function 'virtual iscan::basic_imgstream& iscan::jpegstream::write(const byte_type*, iscan::jpegstream::size_type)':
jpegstream.cc:85:55: error: call of overloaded 'div(unsigned int&, long unsigned int)' is ambiguous
             div_t index = div (i, 8 * sizeof (JSAMPLE));

I haven't had time to look into it further, but it might be 64-bit type size related, since I'm compiling this on a 64-bit platform.
Looks to me like you're in for a world of hurt going down this road. :(
I will have another look later on.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/sane-devel/attachments/20190806/7df7ea57/attachment.html>

More information about the sane-devel mailing list