Log in or register to post comments

Error performing mdk-build

October 10, 2010 - 11:00am #1

I downloaded Cygwin (working on windows) and I am trying to run ndk-build as mentioned in the setup. I get an error

Administrator@Sensei /cygdrive/c/development/qcar-sdk-0-9-7/samples/shared
$ ndk-build
ERROR: Cannot find 'make' program. Please install Cygwin make package
or define the GNUMAKE variable to point to it.

I am sure I downloaded the make. What am I doing?

Help!!

October 11, 2010 - 11:06am #7

We cannot make recommendations on which phones to buy, it's really up to you. See the "Device Compatibility" sticky for more info on supported devices. The SDK will work well with any device we support, so I suggest researching the individual devices and choosing the one that best suits your needs.

- Kim

Emulator - no support!

October 11, 2010 - 7:24am #6

Thank you for your quick response.

Is that something you will support in the future? If I would like to go for the least and the best hardware to test / try AR through qualcomm, what is the best / cost efficient device I could buy?

October 11, 2010 - 5:55am #5

The SDK does not work with the Android emulator. Applications must be tested on one of the supported devices.

Update : Fixed make but fails to . . .

October 10, 2010 - 8:26pm #4

I had a Win32 Make utility I had to uninstall. Once that was uninstalled the ndk-build works!

But when I build and run in emulator - all deployments fail with
"The application . . . . . as stopped unexpectedly. Please try agan :: FORCE CLOSE button"

No programs work on the emulator now!

October 10, 2010 - 5:30pm #3

It seems like you have another version of Make in your system path. You should be able to override this temporarily using the following command (in Cygwin):

export GNUMAKE=/usr/bin/make

Run this command, and then run "ndk-build". Note that you'll have to run the export command every time you start up Cygwin, unless you create a new Windows environment variable for GNUMAKE with that path.

Let me know if this solves the problem.

- Kim

UPDATE on the issue :

October 10, 2010 - 2:06pm #2

-----------Error while using ndk-build from the samples directory :mad:-----------
Administrator@Sensei /cygdrive/c/development/qcar-sdk-0-9-7/samples/shared
$ ndk-build
ERROR: You are using a non-Cygwin compatible Make program.
Currently using: C:/Program
Files
(x86)/GnuWin32/bin/make
To solve the issue, follow these steps:
1. Ensure that the Cygwin 'make' package is installed.
NOTE: You will need GNU Make 3.81 or later!
2. Define the GNUMAKE environment variable to point to it, as in:
export GNUMAKE=/usr/bin/make
3. Call 'ndk-build' again.

-------------using make -v : confirms that the make software is fine :D-------
Administrator@Sensei /cygdrive/c/development/qcar-sdk-0-9-7/samples/shared
$ make -v
GNU Make 3.81
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

-----------------------------------------------------------------------
This program built for i386-pc-mingw32

Log in or register to post comments