Symbol 'cv' could not be resolved
2014-04-21 14:09
435 查看
把opencv4Android 的 face-detection 导入到Eclipse中后,在Android.mk将include ../../sdk/native/jni/OpenCV.mk修改为include ../OpenCV-SDK/native/jni/OpenCV.mk,点开DetectionBasedTracker_jni.cpp发现出现Symbol 'cv' could not be resolved,
后来找到了解决办法,properties--> C/C++General --> Paths and Symbols-->Includes-->GNU C-->${ProjDirPath}/../OpenCV-SDK/native/jni/include
,然后properties--> C/C++General --> Paths and Symbols-->Includes-->GNU C++ -->${ProjDirPath}/../OpenCV-SDK/native/jni/include
后来找到了解决办法,properties--> C/C++General --> Paths and Symbols-->Includes-->GNU C-->${ProjDirPath}/../OpenCV-SDK/native/jni/include
,然后properties--> C/C++General --> Paths and Symbols-->Includes-->GNU C++ -->${ProjDirPath}/../OpenCV-SDK/native/jni/include
相关文章推荐
- Symbol 'ANDROID_LOG_DEBUG' could not be resolved
- Eclipse: symbol '???' could not be resolved [duplicate]
- Eclipse错误提示: Symbol 'xxxx' could not be resolved
- 解决Eclipse中C++代码显示Symbol 'std' could not be resolved的问题
- adt-bundle-mac Symbol 'vector' could not be resolved 处理
- 解决Eclipse中C++代码显示Symbol 'std' could not be resolved的问题
- Symbol 'stderr' could not be resolved
- jni Symbol 'vector' could not be resolved
- android NDK开发编译时出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- 【android】NDK开发编译C++文件出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- android NDK开发编译C++文件出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- A definition for the symbol '' could not be located (vs2010)
- 【android】解决NDK开发中的 Method 'NewStringUTF' could not be resolved
- eclipse中出现Type 'xxxx' could not be resolved的处理方法
- Function 'UINT64_C' could not be resolved
- Eclipse Ndk开发中的Method 'NewStringUTF' could not be resolved问题
- Type 'jobject' could not be resolved
- android NDK开发编译时出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- android NDK开发编译C++文件出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- Function 'UINT64_C' could not be resolved