Error: Program "/NDK-build" not found in PATH

android, android-ndk, c++, opencv, ubuntu

Solution

Easiest Method which worked for me is.

Goto the Project Properties Click on C/C++ Build (An other list will open) Click on the Environment from the list Now click on Add

Here you have to Put 2 values Put Name as NDKROOT In Value put PATH TO THE NDK FOLDER

You are done :)

Problem

I need help. I'm trying to install and configure `OpenCV 2.4.7 library` in my computer (Ubuntu 12.04). After run OpenCV samples appears those errors in my Console: Cannot run program `"/NDK-build"`: Unknown reason Error: Program `"/NDK-build"` not found in PATH=`[/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games]` I've seen numerous tutorials and nothing worked. I ask you to be very specific since I am "new" programming and also because my mother tongue is not English (I have some difficulties). Thank you!

Original source

Related problems