Log in or register to post comments

nd-build failing for Text Reco application

July 18, 2013 - 4:01am #1

 

I have downloaded all the sample application available in the Resouces, When i try to start ndk-build for Text Recognition sample it throws the following error saying that the word.h or wordResult.h files are all missing. I did not do any changes to the sample code and directly trying to build it through cygwin. Can you please let me know the cause of this.

$ ndk-build
Install        : libQCAR.so => libs/armeabi/libQCAR.so
Compile++ arm    : TextReco <= TextReco.cpp
jni/TextReco.cpp:38:23: fatal error: QCAR/Word.h: No such file or directory
compilation terminated.
/cygdrive/d/Development/android-ndk-r8d/build/core/build-binary.mk:269: recipe for target `obj/local/armeabi/objs/TextReco/TextReco.o' failed
make: *** [obj/local/armeabi/objs/TextReco/TextReco.o] Error 1
 
Thanks.
 

nd-build failing for Text Reco application

July 18, 2013 - 11:02pm #4

You're welcome

nd-build failing for Text Reco application

July 18, 2013 - 10:34pm #3

Thank you, AlessandroB.

You are right. I was using the wrong directory.

nd-build failing for Text Reco application

July 18, 2013 - 5:42am #2

Hi BeHappy,

have you installed the samples under the vuforia installation directory ?

what you should have is a path like:

 YOUR_VUFORIA_SDK_DIR \ samples \ TextRecognition-2-5-7 \

If not, then you need to adjust the path in the Android.mk file, in these two lines:

LOCAL_SRC_FILES = ../../../build/lib/$(TARGET_ARCH_ABI)/libQCAR.so
LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../build/include
 
so, that it can point to the right directory and find those header files.
Log in or register to post comments