Developer Tips & Tricks

Tip 1:

If you get an error saying C/C++ primitives not found, you might have to include the include folder of your ndk directory under project properties.

To do so, right click on Project->Properties->C/C++ General->Paths and Symbols.

Under GNU and GNU C++, add the Android NDK include directory

Tip 1

Tip 2:

If you get an error saying ndk-build not found, make sure you have GNU make 3.8.1 or higher installed. You can check version of GNU make by typing in make –v

Tip3:

If you get an error saying ndk-build not found
make all
make: /ndk-build: Command not found
make: *** [all] Error 127

Add ANDROID_NDK_ROOT at your environment variable. To do this, at Eclipse IDE, goes to Project -> Properties -> C/C++ Build -> Environment, then add

Variable: ANDROID_NDK_ROOT

Value: <path to android ndk directory>

Tip4:

Please check each functions detailed requirements in the Doxygen comments at:

http://developer.qualcomm.com/fastcvapi