Nrp8247 / tesseract-ocr

Automatically exported from code.google.com/p/tesseract-ocr
Other
0 stars 0 forks source link

tesseract 3.04.00 with OpenCL: undefined symbol: _ZN9tesseract16TessTextRendererC1Ev #1415

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download latest source files available in project's Drive folder
2. configure with --enable-opencl, then build
3. launch tesseract on a .tif file

What is the expected output? What do you see instead?
A clear exit with the output txt file is expected.
The output is this instead:
Tesseract Open Source OCR Engine v3.04.00 with Leptonica
[DS] Profile read from file (tesseract_opencl_profile_devices.dat).
[DS] Device[1] 1:GeForce GTX TITAN score is 0.129973
[DS] Device[2] 0:(null) score is 1.941074
[DS] Selected Device[1]: "GeForce GTX TITAN" (OpenCL)
tesseract: symbol lookup error: tesseract: undefined symbol: 
_ZN9tesseract16TessTextRendererC1Ev

What version of the product are you using? On what operating system?
tesseract 3.04.00
 leptonica-1.71
  libgif 4.1.6(?) : libjpeg 8a : libpng 1.4.12 : libtiff 3.9.7 : zlib 1.2.6

 OpenCL info:
  Found 1 platforms.
  Platform name: NVIDIA CUDA.
  Version: OpenCL 1.1 CUDA 7.0.19.
  Found 1 devices.
    Device 1 name: GeForce GTX TITAN.

The OS is a Linux Slackware 14.0

Please provide any additional information below.

Original issue reported on code.google.com by satav...@gmail.com on 30 Jan 2015 at 10:01

GoogleCodeExporter commented 9 years ago
I can not reproduce it. Error does not looks like related to OpenCL.

Do you have installed more version of tesseract library? It looks like you are 
mixing different tesseract version (You wrote "download latest source files 
available in project's Drive folder", but there is just version 3.03-rc1 
version. But your output states you try to run 3.04.00 version...).

Did you tried to remove them before install 3.04 opencl version?

Original comment by zde...@gmail.com on 6 Feb 2015 at 11:18

GoogleCodeExporter commented 9 years ago
Il 07/feb/2015 00:18 <tesseract-ocr@googlecode.com> ha scritto:

OpenCL: undefined symbol: _ZN9tesseract16TessTextRendererC1Ev

But your output states you try to run 3.04.00 version...).

Yes, I made a cleanup and I have no more errors.

Original comment by satav...@gmail.com on 7 Feb 2015 at 8:33

GoogleCodeExporter commented 9 years ago

Original comment by zde...@gmail.com on 7 Feb 2015 at 10:03