Forums - ndk-build not found

3 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
Aris_Goicoechea
Join Date: 19 Nov 11
Posts: 3
Posted: Sat, 2011-11-19 14:34

I have the same problem... Seems related to the "cygpath" variable not working correctly (I don't even know where to find it). I'm working with Eclipse Indigo, Win7 64bits, cygwin configured correctly, android SDK as well... I get the same exact error as above.

 

Thanks!

 

EDIT: Sorry, didn't read everything before commenting... Solution is here:

https://developer.qualcomm.com/forum/qdevnet-forums/computer-vision-fastcv/7527

That worked for me too, actually. Add the variable in project properties->c/c++ build->enviroment

  • Up0
  • Down0
usmaniqbal235
Join Date: 5 Sep 14
Posts: 1
Posted: Mon, 2014-10-06 11:20

i have encounted this error and dnt know why .plz help 

 

make all 
Host OS was auto-detected: windows
cygwin warning:
  MS-DOS style path detected: C:\Program Files\Java\FastCV\samples\fastcorner\
  Preferred POSIX equivalent is: /cygdrive/c/Program Files/Java/FastCV/samples/fastcorner/
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
/bin/sh: C:/Program: No such file or directory
/cygdrive/c/Program
Files/Java/android-ndk-r10b/
make: /ndk-build: Command not found
make: *** [all] Error 127
Makefile:54: recipe for target 'all' failed
  • 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.