Forums - ndk-build not found

5 posts / 0 new
Last post
ndk-build not found
Hidden_Creative
Join Date: 28 Oct 11
Posts: 6
Posted: Fri, 2011-10-28 03:47

Hi all,

I encounter issues while building the sample provided. Here is my log message:

**** Build of configuration Default for project SplashScreen ****

make all
Host OS was auto-detected: windows
Usage: cygpath (-d|-m|-u|-w|-t TYPE) [-f FILE] [OPTION]... NAME...
       cygpath [-c HANDLE]
       cygpath [-ADHOPSW]
       cygpath [-F ID]
Convert Unix and Windows format paths, or output system path information

Output type options:
  -d, --dos             print DOS (short) form of NAMEs (C:\PROGRA~1\)
  -m, --mixed           like --windows, but with regular slashes (C:/WINNT)
  -M, --mode            report on mode of file (binmode or textmode)
  -u, --unix            (default) print Unix form of NAMEs (/cygdrive/c/winnt)
  -w, --windows         print Windows form of NAMEs (C:\WINNT)
  -t, --type TYPE       print TYPE form: 'dos', 'mixed', 'unix', or 'windows'
Path conversion options:
  -a, --absolute        output absolute path
  -l, --long-name       print Windows long form of NAMEs (with -w, -m only)
  -p, --path            NAME is a PATH list (i.e., '/bin:/usr/bin')
  -s, --short-name      print DOS (short) form of NAMEs (with -w, -m only)
  -C, --codepage CP     print DOS, Windows, or mixed pathname in Windows
                        codepage CP.  CP can be a numeric codepage identifier,
                        or one of the reserved words ANSI, OEM, or UTF8.
                        If this option is missing, cygpath defaults to the
                        character set defined by the current locale.
System information:
  -A, --allusers        use `All Users' instead of current user for -D, -O, -P
  -D, --desktop         output `Desktop' directory and exit
  -H, --homeroot        output `Profiles' directory (home root) and exit
  -O, --mydocs          output `My Documents' directory and exit
  -P, --smprograms      output Start Menu `Programs' directory and exit
  -S, --sysdir          output system directory and exit
  -W, --windir          output `Windows' directory and exit
  -F, --folder ID       output special folder with numeric ID and exit
Try `cygpath --help' for more information.
make: /ndk-build: Command not found
make: *** [all] Error 127

Any idea? I followed the getting started guide but I can't figure how to configure make to get the path to ndk-build.

Thanks,

Hidden

  • Up0
  • Down0
katrin
Join Date: 28 Oct 11
Posts: 14
Posted: Fri, 2011-10-28 07:40

Try to add ANDROID_NDK_ROOT as environment variable with the path to the ndk as value. This worked for me.

  • Up0
  • Down0
Hidden_Creative
Join Date: 28 Oct 11
Posts: 6
Posted: Fri, 2011-10-28 08:19

I don't know what to say, maybe: Thank you so much! It worked!

  • Up0
  • Down0
Joeu
Join Date: 4 Apr 13
Posts: 2
Posted: Sat, 2013-04-06 10:55

How can i do that?

  • Up0
  • Down0
jeff4s Moderator
Join Date: 4 Nov 12
Posts: 106
Posted: Mon, 2013-04-08 18:40

Go to:

Control Panel -> System and select Advanced system settings.

Then add the environment variable.

Please follow every step of the instructions here for a successful installation:

https://developer.qualcomm.com/mobile-development/mobile-technologies/computer-vision-fastcv/getting-started-guide

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.