1. Download our Official Android App: Forums for Android!

Apps cygwin

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

  1. sanketthebeast

    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    1
    Joined:
    Jan 19, 2012

    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 Android Expert
    Rank:
    None
    Points:
    163
    Posts:
    1,930
    Joined:
    Jul 13, 2010

    Jul 13, 2010
    1,930
    457
    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...