Hi all!
Am trying to compile PDFBeads (http://pdfbeads.rubyforge.org/) into a portable executable so that I can make use of another's Windows PC, which is faster, for post-processing scanned book pages.
Got PDFBeads working on mine but when I tried to "OCRA" it, some errors occurred and the resulting .exe cannot be run, even on the same machine.
-------------------------------
=== Loading script to check dependencies
Warning: the hpricot extension is not available. I'll not be able
to create hidden text layer from hOCR files.
=== Detected gem rmagick-2.12.0-x86-mswin32 (loaded, files)
=== WARNING: C:/Ruby187/lib/ruby/gems/1.8/gems/rmagick-2.12.0-x86-mswin32/ext wa
s not found
=== WARNING: C:/Ruby187/lib/ruby/gems/1.8/gems/rmagick-2.12.0-x86-mswin32/lib wa
s not found
=== 5 files, 15032482 bytes
=== Building pdfbeads.exe
=== Adding user-supplied source files
=== Adding ruby executable ruby.exe
=== Adding detected DLL C:/Ruby187/bin/libiconv2.dll
=== Adding library files
=== Compressing 18228961 bytes
-------------------------------
-------------------------------
C:/Users/LOYUKF~1/AppData/Local/Temp/ocrAB0D.tmp/lib/ruby/gems/1.8/gems/pdfbeads
-1.0.3/lib/pdfbeads.rb:36:in `require': no such file to load -- RMagick (LoadErr
or)
from C:/Users/LOYUKF~1/AppData/Local/Temp/ocrAB0D.tmp/lib/ruby/gems/1.8/
gems/pdfbeads-1.0.3/lib/pdfbeads.rb:36
-------------------------------
I only know a tiny bit of programming, and have never tried coding Ruby. Is this something that could be trivial to solve...?
Besides, PDFBeads require some ImageMagick DLLs to run as well, does OCRA bundle them in the executable as well...?
Sorry if it's been asked before and I would appreciate for a pointer or two.
Thanks in advance!
|