Login  Register

Re: RES: Scan does not scan

Posted by Gabriel Landini on Jul 28, 2010; 3:26pm
URL: http://imagej.273.s1.nabble.com/Scan-does-not-scan-tp3685074p3685076.html

On Wednesday 28 July 2010  16:18:27 you wrote:
> Probably this scanner plugin
runs only in a Linux 32bit system.

Hi David,
Yes, that seems to be the
case. Unfortunately the original website is down a the moment, so I cannot
contact the original author to report the problem.
 
> If you are using a
64bit distro, you will propably need to compile using
> GCC the libjsane.so
to your system.

Yes, that seems to be the case, however it would be good if
the author could provide the libjsane.so for 64 bits in the same file (less
of a hassle for others to make it work too). If not, I will try compiling
it.

> To compile with jdk 1.5 jni.h, I am using the following command:
>
g++ -Wall -fPIC -pthread -D_REENTRANT -D_GNU_SOURCE
>
-I/home/david/desenvolvimento/jdk1.5.0_22/include/
>
-I/home/david/desenvolvimento/jdk1.5.0_22/include/linux -shared -o
>
libjsane.so jsane.cpp jdesc.cpp jnu.cpp
>
> If you do not have the source
codes in C++ of libjsane.so, please, send me
> a message. I you reply u with
the sources.

Thanks, I do not have the sources, But I have been using the
xsane gui instead. I may ask for the sources if I cannot contact the author
in the next few days or if s/he is not keen on providing the 64bit
version.
Many thanks again.
Cheers

Gabriel