Hello..
I am trying to integrate Image Target and Cloud Reco by following steps on:
https://developer.vuforia.com/forum/faq/android-how-integrate-cloudreco-imagetargets-sample
Unfortunately my cygwin show some errors:
Hello..
I am trying to integrate Image Target and Cloud Reco by following steps on:
https://developer.vuforia.com/forum/faq/android-how-integrate-cloudreco-imagetargets-sample
Unfortunately my cygwin show some errors:
Hello AlessandroB,
I don't know what is the problem but my all .cpp files showing error . when i am running this app is shows the earlier error.
i am assuming that this error is due to the vuforia path ( windows).
Are you using the latest Vuforia ? If so, (since this thread is really old), you might need to adjust the API you are using;
in particular, your error messages indicate that you are using the enum IMAGE_TRACKER, which is no longer supported in the 2.8 and 3.0 API;
so, to get the ImageTracker, use this code:
QCAR::ImageTracker *tracker = static_cast<QCAR::ImageTracker*>(
QCAR::TrackerManager::getInstance().getTracker(QCAR::ImageTracker::getClassType()) );
I am developing an android ndk application using vuforia .
whenever i run this app CDT console shows following error.
AlessandroB I had the same problem and you have just saved me.It really works.Now when an image is recognised a toast message is displayed with the name of every single image I have saved in my phone.Thank you so much...!!
You need to replace
Also, you need to replace:
with:
Thank you for the quick answer..
But i'm still dealing with this one..
Confused about what to add or change.. could you help me please?
The error error: 'IMAGE_TRACKER' is not a member of 'QCAR::Tracker' is saying that the compiler cannot find the IMAGE_TRACKER enum / constant (which belongs to Vuforia 2.0 API).
So, it looks like you are trying to port some existing code from one version of Vuforia to another; you will need to make sure that you are using the correct API for your Vuforia SDK version (current 3.0).
See the migration guide:
https://developer.vuforia.com/resources/dev-guide/transitionmigration-guide
Also, if you are coding in C++, one thing that could help is to have a look at the ImageTargetsNative-3-0-5 sample, so that you can easily compare your code syntax with the sample one and spot possible differences.