2015年4月11日 星期六

Program "make" not found in PATH

Today, I copied a native project from my Linux PC and I need to continue developing on Windows PC. Problem is after import project to eclipse an error showed: Program "make" not found in PATH

This post is record for myself to solve this problem when I need to setup another Windows computer for the building environment.

My solution:
1. Modify the Build command: make  in Property -> C/C++ Build to ${NDKROOT}/ndk-build.cmd

 2. Add an Environment variables NDKROOT
     the Value is the location where your NDK library.
     In my case is D:\adt-bundle-windows-x86_64-20140702\android-ndk-r9d








That's all. Enjoy your code~

沒有留言:

張貼留言