NDK Development Environment installation, CDT installation, Cygwin installation, ndkcygwin

Source: Internet
Author: User

NDK Development Environment installation, CDT installation, Cygwin installation, ndkcygwin

1. Added c and c ++ development plug-ins for eclipse

Install new software in Help

 

Select Helios-http://download.eclipse.org/release/helios

Wait for expansion, select Programinglanguage

Select c/c ++ development tools

 

Next.

Agree to licenses

 

If the installation is successful, you will be prompted if you want to restart eclipse. The installation will be completed after the restart.

 

 

 

2, install cygwin (: http://cygwin.com/install.html)

Ndk needs to run in linux, and cygwin is a tool used to simulate linux in windows.

Cygwin is a program that supports many plug-ins.

Double-click Installation

 

 

 

I have downloaded the required items. You can directly select install from local directory.

 

 

 

 

 

 

Download and installation from the internet usually takes one day! Local installation will be much faster

 

After the installation is complete, a shortcut icon appears on the desktop.

 

Open cygwin now

First, the program will initialize

 

Run the command

Make-v

 

 

The GNU Make version is displayed, indicating that the linux compiling environment simulated by cygwin has been successfully simulated.

 

 

Next we will install androidndk. We will use the r4 version.

Go to the google website to download

 

After the download, decompress the package to a directory. I decompress the package to the android-ndk-cpp directory of the E drive.

 

 

 

Configure cygwin environment variables of NDK

 

To facilitate the direct use of ndk-build in the command line

Add the ndk directory to cygwin's environment variable.

Directory/etc/profile/

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.