Help building tesseract with ndk 1.6


Last Updated:

  1. Cybrid

    Cybrid New Member This Topic's Starter

    Joined:
    Feb 24, 2010
    Messages:
    2
    Likes Received:
    0
    Hi Everyone,

    First of all hello to all android developers out there and thanks for this great comunity, I'm glad to have joined :) .

    I'm trying to build tesseract 2.04 (the ocr library) using the ndk but
    I've run into a problem. All sources compile ok into object files but
    when the linking process begins I get tons of "undefined reference"
    errors related to functions, objects and vars that do exist in the
    code so my guess is that I'm doing something wrong.


    I've barely programmed in C++ and my knowledge of makefiles is quite
    limited so please bear with me on this one please.


    My source tree is as follows:


    $NDK_HOME/apps/adresner/jni/<tesseract_sources>


    My Android.mk -> http://pastebin.com/08ACAz1j
    My Application.mk -> http://pastebin.com/yGSRPiUV



    Thanks in advance, any help will be greatly appreciated.
     

    Advertisement
  2. Cybrid

    Cybrid New Member This Topic's Starter

    Joined:
    Feb 24, 2010
    Messages:
    2
    Likes Received:
    0
    Really, nobody has an idea of what the problem might be?.
     

Share This Page

Loading...