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

cygwin

Discussion in 'Application Development' started by sanketthebeast, Feb 20, 2012.

  1. sanketthebeast

    sanketthebeast New Member
    Thread Starter
    5

    Jan 19, 2012
    1
    0
    5
    Hi
    Im want to modify and run an OCR app on android.As per my research i found that the OCR engine needs an NDK access.
    Hence i've started with trying basic ndk samples.But im unable to compile/run those samples too.
    Im working on windows 7 64-bit.

    My question is whether i need to use Cygwin to run the above ?
    If not where am i going wrong?
     

    Advertisement

  2. jonbonazza

    jonbonazza Well-Known Member
    163

    Jul 13, 2010
    1,934
    458
    163
    Male
    Yes, you need to use Cygwin if you are on a windows box.

    All of the ndk scripts are written using the linux shell script commands.

    Furthermore, all of the native code is compiled as shared or static objects (linux version of DLLs/static libraries), since android runs on top of a modified linux kernel. Thus, you need to perform all tasks in a linux environment, emulated or otherwise.
     

Share This Page

Loading...