1. Check out our companion app, Forums for Android! Download from Google Play

Help building tesseract with ndk 1.6

Discussion in 'Application Development' started by Cybrid, Feb 24, 2010.

  1. Cybrid

    Cybrid New Member
    Thread Starter
    5

    Feb 24, 2010
    2
    0
    5
    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
    Thread Starter
    5

    Feb 24, 2010
    2
    0
    5
    Really, nobody has an idea of what the problem might be?.
     

Share This Page

Loading...