Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Linking with Tesseract
Qt 6.11 is out! See what's new in the release blog

Linking with Tesseract

Scheduled Pinned Locked Moved 3rd Party Software
4 Posts 2 Posters 8.1k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    swhweng
    wrote on last edited by
    #1

    Hi,
    I installed tesseract-ocr and tesseract-ocr-dev packages on Ubuntu via Synaptic package manager
    Qt Creator IDE recognized tesseract includes such as:

    #include <tesseract/baseapi.h>
    #include <tesseract/globals.h>

    etc.

    but when I add:

    LIBS += -ltesseract

    to .pro file I get:

    /usr/bin/ld: cannot find -ltesseract

    why such?

    Does anybody have an experience and know how to install and include tesseract to Qt project on Ubuntu?
    Thank you.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      I think you need to add the path to the library too.

      Edit:
      I have moved this reply from one of the other threads mentioned below, to clean up the discussion.

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        Pavel, please don't double post questions in multiple topics. -I'm closing this one.-

        Edit:
        After I noticed you posted the same question three times, and consulting with other moderators, I have changed the solution. The topics you posted in are all open again, but I have deleted all but one of your posts on this issue and created a separate, new topic for it. Please stick to only that topic.

        The original questions were in "these":/forums/viewthread/3014/ "three":/forums/viewthread/16491/ "topics":/forums/viewthread/14931/ (all on ORC).

        1 Reply Last reply
        0
        • S Offline
          S Offline
          swhweng
          wrote on last edited by
          #4

          Does anybody succeed to build and run this project:

          "http://code.google.com/p/qtesseract/":http://code.google.com/p/qtesseract/

          I built tesseract using visual studio ( vs2008 project ) and several .lib generated and I added them to .pro file together with include .h files but still a lot of "undefined references...".

          If yes can you share the exact tesseract libs and includes you used on Windows XP/7 x86/x64 ?

          Thanks in advance.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved