Account Options

  1. Sign in
Google Groups Home
« Groups Home
Installing NDK on windows with Cygwin
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  14 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jonas  
View profile  
 More options Jun 26 2009, 8:13 am
From: Jonas <jonas.hey...@gmail.com>
Date: Fri, 26 Jun 2009 05:13:16 -0700 (PDT)
Local: Fri, Jun 26 2009 8:13 am
Subject: Installing NDK on windows with Cygwin
Hi,

I have installed the latest SDK and NDK but when running the command:

$ build/host-setup.sh
Detecting host toolchain.

CC         : compiler check ok (gcc)
LD         : linker check ok (gcc)
CXX        : C++ compiler check ok (g++)
Generate   : out/host/config.mk
Toolchain  : Checking for arm-eabi-4.2.1 prebuilt binaries

ERROR:
It seems you do not have the correct arm-eabi-4.2.1 toolchain
binaries.
Please go to the official Android NDK web site and download the
appropriate NDK package for your platform (windows).
See http://developer.android.com/sdk/index.html

ABORTING.

jonas@Vaio /cygdrive/c/users/jonas/ANdroid/android-ndk-1.5_r1

I get the above install error?

Regards Jonas.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Turner  
View profile  
 More options Jun 26 2009, 9:43 am
From: David Turner <di...@android.com>
Date: Fri, 26 Jun 2009 15:43:00 +0200
Subject: Re: Installing NDK on windows with Cygwin

Did you install Cygwin with UNIX or DOS line endings?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonas  
View profile  
 More options Jun 26 2009, 10:29 am
From: Jonas <jonas.hey...@gmail.com>
Date: Fri, 26 Jun 2009 07:29:16 -0700 (PDT)
Local: Fri, Jun 26 2009 10:29 am
Subject: Re: Installing NDK on windows with Cygwin

Hi all,

I found the problem, its the way / and \ in Cygwin are handeld.
Configuring the path to NDK in Windows Vista did not work.
When I explicit entered the following in my Cygwin shell environment
in file .bashrc it worked:

export ANDROID_NDK_ROOT=C:/Users/jonas/Android/android-ndk-1.5_r1

Regards Jonas.

On Jun 26, 3:43 pm, David Turner <di...@android.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
xu haojie  
View profile  
 More options Jun 26 2009, 11:05 pm
From: xu haojie <poemc...@gmail.com>
Date: Fri, 26 Jun 2009 20:05:17 -0700 (PDT)
Local: Fri, Jun 26 2009 11:05 pm
Subject: Re: Installing NDK on windows with Cygwin
Thanks. I have the same problem, but can slove it by Jonas's method.

On Jun 26, 10:29 pm, Jonas <jonas.hey...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Turner  
View profile  
 More options Jun 27 2009, 8:56 am
From: David Turner <di...@android.com>
Date: Sat, 27 Jun 2009 14:56:46 +0200
Local: Sat, Jun 27 2009 8:56 am
Subject: Re: Installing NDK on windows with Cygwin

Which version of Windows are you running?

OK, just a wild guess, can you tell me the output of "echo $OS" in a Cygwin
terminal.

The host-setup.sh script assumes that this will return "Windows_NT" on
Win32, but I wouldn't be surprised if it returned something different on
Windows 7 or maybe some versions of Vista. That would explain the error.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hrlixiang@gmail.com  
View profile  
 More options Jun 29 2009, 3:32 am
From: "hrlixi...@gmail.com" <hrlixi...@gmail.com>
Date: Mon, 29 Jun 2009 00:32:00 -0700 (PDT)
Subject: Re: Installing NDK on windows with Cygwin
I am using windows xp, and "echo $OS" returns "Windows_NT" ,
i have the same problem as Jonas. how can i get rid of this error?

On Jun 27, 8:56 pm, David Turner <di...@android.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Turner  
View profile  
 More options Jun 29 2009, 8:10 am
From: David Turner <di...@android.com>
Date: Mon, 29 Jun 2009 14:10:04 +0200
Local: Mon, Jun 29 2009 8:10 am
Subject: Re: Installing NDK on windows with Cygwin

On Mon, Jun 29, 2009 at 9:32 AM, hrlixi...@gmail.com <hrlixi...@gmail.com>wrote:

> I am using windows xp, and "echo $OS" returns "Windows_NT" ,
> i have the same problem as Jonas. how can i get rid of this error?

hmm, this is strange. The script is complaining because it didn't find a
known file
under prebuilt/windows/arm-eabi-4.2.1/bin. Did you properly unzip the NDK
package,
and do you have files there?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hrlixiang@gmail.com  
View profile  
 More options Jun 30 2009, 2:37 am
From: "hrlixi...@gmail.com" <hrlixi...@gmail.com>
Date: Mon, 29 Jun 2009 23:37:47 -0700 (PDT)
Local: Tues, Jun 30 2009 2:37 am
Subject: Re: Installing NDK on windows with Cygwin
After I changed the path to NDK from C:\Users\Android\android-
ndk-1.5_r1
to C:/Users/Android/android-ndk-1.5_r1 , I can execute build/host-
setup.sh successfully.

On Jun 29, 8:10 pm, David Turner <di...@android.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raji Reddy Kandi  
View profile  
 More options Jun 30 2009, 2:56 am
From: Raji Reddy Kandi <k.rajire...@gmail.com>
Date: Tue, 30 Jun 2009 12:26:22 +0530
Local: Tues, Jun 30 2009 2:56 am
Subject: Re: Installing NDK on windows with Cygwin

hi,
can you pls tell me where did you change the path? is there any env
variable?

regards,

On Tue, Jun 30, 2009 at 12:07 PM, hrlixi...@gmail.com
<hrlixi...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hrlixiang@gmail.com  
View profile  
 More options Jun 30 2009, 9:26 pm
From: "hrlixi...@gmail.com" <hrlixi...@gmail.com>
Date: Tue, 30 Jun 2009 18:26:39 -0700 (PDT)
Local: Tues, Jun 30 2009 9:26 pm
Subject: Re: Installing NDK on windows with Cygwin
Yes, it is your windows environment variables, you need to change the
valiable : ANDROID_NDK_ROOT
you can find it in your System properties->Advanced->Environment
Variables.

On Jun 30, 2:56 pm, Raji Reddy Kandi <k.rajire...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raji Reddy Kandi  
View profile  
 More options Jul 1 2009, 1:07 am
From: Raji Reddy Kandi <k.rajire...@gmail.com>
Date: Wed, 1 Jul 2009 10:37:06 +0530
Local: Wed, Jul 1 2009 1:07 am
Subject: Re: Installing NDK on windows with Cygwin

I am still getting the problem.

--------------------------------------------------------------------------- ---------------------
your C compiler does not seem to work:
build/core/ndk-common.sh: line 351: C:\make-3.81: command not found

--------------------------------------------------------------------------- ---------------------

looks like it is not able to fine the gcc.

but i have gcc at C:\gcc-4.4.0

pls  help me out.

Regards,

On Wed, Jul 1, 2009 at 6:56 AM, hrlixi...@gmail.com <hrlixi...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
krr_android  
View profile  
 More options Jul 1 2009, 1:48 am
From: krr_android <k.rajire...@gmail.com>
Date: Tue, 30 Jun 2009 22:48:42 -0700 (PDT)
Local: Wed, Jul 1 2009 1:48 am
Subject: Re: Installing NDK on windows with Cygwin
Now, I tried the same NDK(Linux version)  installation in Linux and I
am getting the following error

--------------------------------------------------------------------------- ---------------------------------
user@ubuntu810desktop:/android/android-ndk-1.5_r1$ build/host-
setup.sh
build/host-setup.sh: 23: source: not found
Detecting host toolchain.

build/host-setup.sh: 57: force_32bit_binaries: not found
build/host-setup.sh: 58: setup_toolchain: not found
build/host-setup.sh: 60: cannot create : Directory nonexistent
Can't create directory for host config file: out/host
user@ubuntu810desktop:/android/android-ndk-1.5_r1$
--------------------------------------------------------------------------- ---------------------------------

Pls help me out.

Regards,

On Jul 1, 1:07 am, Raji Reddy Kandi <k.rajire...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Turner  
View profile  
 More options Jul 1 2009, 2:33 am
From: David Turner <di...@android.com>
Date: Wed, 1 Jul 2009 08:33:09 +0200
Local: Wed, Jul 1 2009 2:33 am
Subject: Re: Installing NDK on windows with Cygwin

different bug, try to run "bash build/host-setup.sh" instead, and it will
work. :-(


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Raji Reddy Kandi  
View profile  
 More options Jul 1 2009, 3:27 am
From: Raji Reddy Kandi <k.rajire...@gmail.com>
Date: Wed, 1 Jul 2009 12:57:21 +0530
Local: Wed, Jul 1 2009 3:27 am
Subject: Re: Installing NDK on windows with Cygwin

Thanks..its workinng..its pretty straight forward in Linux...Its still not
working in Windows..


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »