Skip to content

CompilationError with tesseract-ocr 3.04 #50

@atuyosi

Description

@atuyosi

I'm getting a CompilationError when 'require tesseract-ocr'.

CompilationError: compile error: see logs at /tmp/.ffi-inline-1000/00ac1de4050b632b230475bd71c0dc3a7de45a89.log
from /usr/lib/ruby/gems/2.2.0/gems/ffi-inline-0.0.4.3/lib/ffi/inline/compilers/gcc.rb:35:in `compile'

full trace is here, and ffi-inline's error log

Is the latest tesseract-ocr( 3.04) supported?
or any API changed?

There are similar problem bellow.

ruby on rails - Tesseract-ocr gem issue on mac os x - Stack Overflow

OS: Arch Linux
gem

$ gem list tesseract-ocr -d

*** LOCAL GEMS ***

tesseract-ocr (0.1.8)
    Author: meh.
    Homepage: http://github.com/meh/ruby-tesseract-ocr
    License: BSD
    Installed at: /usr/lib/ruby/gems/2.2.0

    A wrapper library to the tesseract-ocr API.

tesseract

$ tesseract -v
tesseract 3.04.00
 leptonica-1.71
  libgif 5.1.0 : libjpeg 8d : libpng 1.6.18 : libtiff 4.0.4 : zlib 1.2.8 : libwebp 0.4.3

ruby

$ ruby -v
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]

Thanks in Advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions