Ask Your Question

Kelvin.hon's profile - activity

2014-03-10 05:03:15 -0500 received badge  Editor (source)
2014-03-10 04:19:05 -0500 asked a question A lot of error message in .hpp

Hi, I am trying to create a face recognition by using opencv in android APP.

There are some strange thing, I just set the NDK path. After that I can compiler the C++ code the show as follow:

* Build of configuration Default for project LoginRegognizeApp *

D:\Android\android-ndk-r9d-windows-x86_64\android-ndk-r9d\ndk-build.cmd all 
[armeabi-v7a] Install        : libcameramodule.so => libs/armeabi-v7a/libcameramodule.so
[armeabi] Install        : libcameramodule.so => libs/armeabi/libcameramodule.so
[x86] Install        : libcameramodule.so => libs/x86/libcameramodule.so
[mips] Install        : libcameramodule.so => libs/mips/libcameramodule.so

* Build Finished *

But when I open the /jni/include/opencv2/, under this folder a lot of .hpp file have a lot of error . Something like follow:

Description Resource    Path    Location    Type
Function 'noArray' could not be resolved    calib3d.hpp /LoginRegognizeApp/jni/include/opencv2/calib3d  line 412    Semantic Error
Function 'noArray' could not be resolved    calib3d.hpp /LoginRegognizeApp/jni/include/opencv2/calib3d  line 424    Semantic Error
Function 'noArray' could not be resolved    calib3d.hpp /LoginRegognizeApp/jni/include/opencv2/calib3d  line 433    Semantic Error
Function 'noArray' could not be resolved    calib3d.hpp /LoginRegognizeApp/jni/include/opencv2/calib3d  line 432    Semantic Error

Is it normal?

P.S. My OS is win 7 SP1 64bit. and I am using ADT to develop the program