I try to move vuforia-->ImageTarget to my custome project. I switch .m filles to .mm files (AppDelegate, ViewController) becouse of the errors, but now I get this errors:
Undefined symbols for architecture armv7:
"QCAR::State::getTrackableResult(int) const", referenced from:
-[EAGLView renderFrameQCAR] in EAGLView.o
"QCAR::Tool::convertPose2GLMatrix(QCAR::Matrix34F const&)", referenced from:
-[EAGLView renderFrameQCAR] in EAGLView.o
"QCAR::State::~State()", referenced from:
-[EAGLView renderFrameQCAR] in EAGLView.o
"QCAR::Renderer::getInstance()", referenced from:
-[QCARutils configureVideoBackground] in QCARutils.o
-[EAGLView renderFrameQCAR] in EAGLView.o
"QCAR::setInitParameters(int)", referenced from:
-[QCARutils initQCAR] in QCARutils.o
"QCAR::Tool::getProjectionGL(QCAR::CameraCalibration const&, float, float)", referenced from:
-[QCARutils startCamera] in QCARutils.o
"QCAR::State::getNumTrackableResults() const", referenced from:
-[EAGLView renderFrameQCAR] in EAGLView.o
"QCAR::TrackerManager::getInstance()", referenced from:
-[QCARutils initTracker] in QCARutils.o
-[QCARutils startCamera] in QCARutils.o
-[QCARutils stopCamera] in QCARutils.o
-[QCARutils unloadDataSet:] in QCARutils.o
-[QCARutils loadDataSet:] in QCARutils.o
-[QCARutils deactivateDataSet:] in QCARutils.o
-[QCARutils activateDataSet:] in QCARutils.o
...
"QCAR::onSurfaceCreated()", referenced from:
-[QCARutils initApplication] in QCARutils.o
"QCAR::CameraDevice::getInstance()", referenced from:
-[QCARutils cameraSetTorchMode:] in QCARutils.o
-[QCARutils cameraSetContinuousAFMode:] in QCARutils.o
-[QCARutils cameraPerformAF] in QCARutils.o
-[QCARutils startCamera] in QCARutils.o
-[QCARutils stopCamera] in QCARutils.o
-[QCARutils configureVideoBackground] in QCARutils.o
"QCAR::init()", referenced from:
-[QCARutils initQCAR] in QCARutils.o
"QCAR::onResume()", referenced from:
-[QCARutils resumeAR] in QCARutils.o
-[QCARutils updateApplicationStatus:] in QCARutils.o
"QCAR::onPause()", referenced from:
-[QCARutils pauseAR] in QCARutils.o
"QCAR::onSurfaceChanged(int, int)", referenced from:
-[QCARutils postInitQCAR] in QCARutils.o
"QCAR::deinit()", referenced from:
-[QCARutils destroyAR] in QCARutils.o
"QCAR::requiresAlpha()", referenced from:
-[AR_EAGLView initRendering] in AR_EAGLView.o
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I add #import "ImageTargetsQCARutils.h" to AppDelegate. And try to run it. I also check if I import all librarys to Frameworks and the libraries are the same.
Good to hear :)
N