Ask Your Question

ddd's profile - activity

2016-12-13 14:58:08 -0600 received badge  Taxonomist
2016-01-08 08:17:28 -0600 received badge  Popular Question (source)
2012-12-14 02:41:53 -0600 received badge  Self-Learner (source)
2012-10-01 15:50:45 -0600 answered a question OpenCV4Android sample: "Type 'DetectionBasedTracker' could not be resolved"

i changed smthg in the detection_based_tracker file .. the compiler i use seems to have problems with the pragma once

//#pragma once
//#if defined(__linux__) || defined(LINUX) || defined(__APPLE__) || defined(ANDROID)

#ifndef __OPENCV_DETECTION_BASED_TRACKER_H_
#define __OPENCV_DETECTION_BASED_TRACKER_H_

after i had renewed the index with the modified file the symbol could be resolved.

2012-09-29 11:43:34 -0600 received badge  Student (source)
2012-09-29 09:22:13 -0600 received badge  Editor (source)
2012-09-29 09:11:31 -0600 asked a question OpenCV4Android sample: "Type 'DetectionBasedTracker' could not be resolved"

Hi guys... I've tried the solution posted here, but I still get the above error that the std symbol isn't found. Also "Type 'DetectionBasedTracker' could not be resolved". Building the .so works. As long as I don't open anything in 'jni'

my paths & symbols are:

${ProjDirPath}/../../sdk/native/jni/include
${NDKROOT}/platforms/android-14/arch-arm/usr/include
${NDKROOT}/sources/cxx-stl/gnu-libstdc++/4.4.3/include
${NDKROOT}/sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi-v7a/include

I have ndk-r8 (also tried with r7) and I also have tried to use "android-9" or "/gnu-libstdc++/4.4.3" eclipse indigo

any suggestions? thx in advance

EDIT: i have now installed a fresh version of eclipse (since i wasn't able to remove cdt completely) - the JUNO 32bit Version JavaEE and reinstalled ADT and CDT. I changed to MinGW GCC Toolchain and included the above Includes.

NOW it resolves the std but the Type 'DetectionBasedTracker' could not be resolved" is still there.. What to do?