Log in or register to post comments

iOS cloud recog setup error

April 12, 2014 - 12:54am #1
Hi.
 
My objective is to create an iOS cloud recog app solution that  receives 1k images per month via wms. I've created a dB and now attempting to build cloud recog app for iOS but I'm getting the following error. Please can someone advise?
Thank you AC
 
I m using xcode 5 with iPhone 5s(iOS7.1) and followed the exact steps as per https://developer.vuforia.com/resources/dev-guide/getting-started-ios-native-sdk.
 
d /Users/ram/Library/Developer/Xcode/DerivedData/VuforiaSamples-cvlohodanjqpqhblkkpdbfmzztxm/Build/Products/Debug-iphoneos/Vuforia.app/Vuforia normal arm64
 
    cd /Users/ram/Dev/vuforia/26Mar2014/vuforia-sdk-ios-2-8-7/samples/VuforiaSamples
 
    export IPHONEOS_DEPLOYMENT_TARGET=4.3
 
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
 
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/ram/Library/Developer/Xcode/DerivedData/VuforiaSamples-cvlohodanjqpqhblkkpdbfmzztxm/Build/Products/Debug-iphoneos -L../../build/lib/arm -L/Users/ram/Dev/vuforia/26Mar2014/vuforia-sdk-ios-2-8-7/samples/VuforiaSamples/../../build/lib/arm -L../../../build/Debug-iphoneos -F/Users/ram/Library/Developer/Xcode/DerivedData/VuforiaSamples-cvlohodanjqpqhblkkpdbfmzztxm/Build/Products/Debug-iphoneos -filelist /Users/ram/Library/Developer/Xcode/DerivedData/VuforiaSamples-cvlohodanjqpqhblkkpdbfmzztxm/Build/Intermediates/VuforiaSamples.build/Debug-iphoneos/VuforiaSamples.build/Objects-normal/arm64/Vuforia.LinkFileList -dead_strip -fobjc-link-runtime -miphoneos-version-min=4.3 -framework CoreVideo -framework CoreMedia -framework AVFoundation -framework SystemConfiguration -framework OpenGLES -framework CoreMotion -framework Security -framework QuartzCore -framework UIKit -framework Foundation -framework CoreGraphics -lQCAR -Xlinker -dependency_info -Xlinker /Users/ram/Library/Developer/Xcode/DerivedData/VuforiaSamples-cvlohodanjqpqhblkkpdbfmzztxm/Build/Intermediates/VuforiaSamples.build/Debug-iphoneos/VuforiaSamples.build/Objects-normal/arm64/Vuforia_dependency_info.dat -o /Users/ram/Library/Developer/Xcode/DerivedData/VuforiaSamples-cvlohodanjqpqhblkkpdbfmzztxm/Build/Products/Debug-iphoneos/Vuforia.app/Vuforia
 
 
 
ld: warning: directory not found for option '-L../../../build/Debug-iphoneos'
 
ld: warning: ignoring file ../../build/lib/arm/libQCAR.a, missing required architecture arm64 in file ../../build/lib/arm/libQCAR.a (2 slices)
 
Undefined symbols for architecture arm64:
 
  "QCAR::Rectangle::~Rectangle()", referenced from:
 
      -[VirtualButtonsViewController setVirtualButtonState:position:state:imageTarget:] in VirtualButtonsViewController.o
 
  "QCAR::ImageTarget::getClassType()", referenced from:
 
      -[VirtualButtonsViewController onQCARUpdate:] in VirtualButtonsViewController.o
 
  "QCAR::Type::isOfType(QCAR::Type) const", referenced from:
 
      -[VirtualButtonsViewController onQCARUpdate:] in VirtualButtonsViewController.o
 
  "QCAR::RectangleInt::~RectangleInt()", referenced from:
 
      -[TextRecoViewController prepareROI] in TextRecoViewController.o
 
  "QCAR::TextTracker::getClassType()", referenced from:
 
      -[TextRecoViewController doInitTrackers] in TextRecoViewController.o
 
      -[TextRecoViewController doLoadTrackersData] in TextRecoViewController.o
 
      -[TextRecoViewController doStartTrackers] in TextRecoViewController.o
 
      -[TextRecoViewController prepareROI] in TextRecoViewController.o
 
      -[TextRecoViewController doStopTrackers] in TextRecoViewController.o
 
      -[TextRecoViewController doDeinitTrackers] in TextRecoViewController.o
 
  "QCAR::TrackerManager::getInstance()", referenced from:
 
      RefFreeFrame::deInit() in RefFreeFrame.o
 
      RefFreeFrame::render() in RefFreeFrame.o
 
      RefFreeFrame::restartTracker() in RefFreeFrame.o
 
      RefFreeFrame::startImageTargetBuilder() in RefFreeFrame.o
 
      RefFreeFrame::stopImageTargetBuilder() in RefFreeFrame.o
 
      RefFreeFrame::isImageTargetBuilderRunning() in RefFreeFrame.o
 
      RefFreeFrame::startBuild() in RefFreeFrame.o
 
      ...
 
  "QCAR::Rectangle::getRightBottomY() const", referenced from:
 
      -[VirtualButtonsEAGLView renderFrameQCAR] in VirtualButtonsEAGLView.o
 
  "QCAR::onPause()", referenced from:
 
      -[SampleApplicationSession pauseAR:] in SampleApplicationSession.o
 
      -[SampleApplicationSession stopAR:] in SampleApplicationSession.o
 
  "QCAR::State::getNumTrackableResults() const", referenced from:
 
      -[TextRecoEAGLView renderFrameQCAR] in TextRecoEAGLView.o
 
      -[CloudRecoEAGLView renderFrameQCAR] in CloudRecoEAGLView.o
 
      -[CylinderTargetsEAGLView renderFrameQCAR] in CylinderTargetsEAGLView.o
 
      -[MultiTargetsEAGLView renderFrameQCAR] in MultiTargetsEAGLView.o
 
      -[FrameMarkersEAGLView renderFrameQCAR] in FrameMarkersEAGLView.o
 
      -[VirtualButtonsEAGLView renderFrameQCAR] in VirtualButtonsEAGLView.o
 
      -[ImageTargetsEAGLView renderFrameQCAR] in ImageTargetsEAGLView.o
 
      ...
 
  "QCAR::Rectangle::getLeftTopX() const", referenced from:
 
      -[VirtualButtonsEAGLView renderFrameQCAR] in VirtualButtonsEAGLView.o
 
  "QCAR::State::getTrackableResult(int) const", referenced from:
 
      -[TextRecoEAGLView renderFrameQCAR] in TextRecoEAGLView.o
 
      -[CloudRecoEAGLView renderFrameQCAR] in CloudRecoEAGLView.o
 
      -[CylinderTargetsEAGLView renderFrameQCAR] in CylinderTargetsEAGLView.o
 
      -[MultiTargetsEAGLView renderFrameQCAR] in MultiTargetsEAGLView.o
 
      -[FrameMarkersEAGLView renderFrameQCAR] in FrameMarkersEAGLView.o
 
      -[VirtualButtonsEAGLView renderFrameQCAR] in VirtualButtonsEAGLView.o
 
      -[ImageTargetsEAGLView renderFrameQCAR] in ImageTargetsEAGLView.o
 
      ...
 
  "QCAR::registerCallback(QCAR::UpdateCallback*)", referenced from:
 
      -[SampleApplicationSession initWithDelegate:] in SampleApplicationSession.o
 
  "QCAR::ImageTracker::getClassType()", referenced from:
 
      RefFreeFrame::deInit() in RefFreeFrame.o
 
      RefFreeFrame::render() in RefFreeFrame.o
 
      RefFreeFrame::restartTracker() in RefFreeFrame.o
 
      RefFreeFrame::startImageTargetBuilder() in RefFreeFrame.o
 
      RefFreeFrame::stopImageTargetBuilder() in RefFreeFrame.o
 
      RefFreeFrame::isImageTargetBuilderRunning() in RefFreeFrame.o
 
      RefFreeFrame::startBuild() in RefFreeFrame.o
 
      ...
 
  "QCAR::WordResult::getClassType()", referenced from:
 
      -[TextRecoEAGLView renderFrameQCAR] in TextRecoEAGLView.o
 
  "QCAR::deinit()", referenced from:
 
      -[SampleApplicationSession stopAR:] in SampleApplicationSession.o
 
  "QCAR::Tool::convertPose2GLMatrix(QCAR::Matrix34F const&)", referenced from:
 
      -[TextRecoEAGLView renderFrameQCAR] in TextRecoEAGLView.o
 
      -[CloudRecoEAGLView renderFrameQCAR] in CloudRecoEAGLView.o
 
      -[CylinderTargetsEAGLView renderFrameQCAR] in CylinderTargetsEAGLView.o
 
      -[MultiTargetsEAGLView renderFrameQCAR] in MultiTargetsEAGLView.o
 
      -[FrameMarkersEAGLView renderFrameQCAR] in FrameMarkersEAGLView.o
 
      -[VirtualButtonsEAGLView renderFrameQCAR] in VirtualButtonsEAGLView.o
 
      -[ImageTargetsEAGLView renderFrameQCAR] in ImageTargetsEAGLView.o
 
      ...
 
  "QCAR::State::~State()", referenced from:
 
      -[TextRecoEAGLView renderFrameQCAR] in TextRecoEAGLView.o
 
      -[CloudRecoEAGLView renderFrameQCAR] in CloudRecoEAGLView.o
 
      -[CylinderTargetsEAGLView renderFrameQCAR] in CylinderTargetsEAGLView.o
 
      -[MultiTargetsEAGLView renderFrameQCAR] in MultiTargetsEAGLView.o
 
      -[FrameMarkersEAGLView renderFrameQCAR] in FrameMarkersEAGLView.o
 
      -[VirtualButtonsEAGLView renderFrameQCAR] in VirtualButtonsEAGLView.o
 
      -[ImageTargetsEAGLView renderFrameQCAR] in ImageTargetsEAGLView.o
 
      ...
 
  "QCAR::Rectangle::Rectangle(float, float, float, float)", referenced from:
 
      -[VirtualButtonsViewController setVirtualButtonState:position:state:imageTarget:] in VirtualButtonsViewController.o
 
  "QCAR::ImageTargetResult::getClassType()", referenced from:
 
      -[VirtualButtonsEAGLView renderFrameQCAR] in VirtualButtonsEAGLView.o
 
  "QCAR::RectangleInt::RectangleInt(int, int, int, int)", referenced from:
 
      -[TextRecoViewController prepareROI] in TextRecoViewController.o
 
  "QCAR::setInitParameters(int)", referenced from:
 
      -[SampleApplicationSession initQCARInBackground] in SampleApplicationSession.o
 
  "QCAR::Rectangle::getLeftTopY() const", referenced from:
 
      -[VirtualButtonsEAGLView renderFrameQCAR] in VirtualButtonsEAGLView.o
 
  "QCAR::onSurfaceChanged(int, int)", referenced from:
 
      -[SampleApplicationSession prepareAR] in SampleApplicationSession.o
 
  "QCAR::Tool::getProjectionGL(QCAR::CameraCalibration const&, float, float)", referenced from:
 
      -[SampleApplicationSession startCamera:viewWidth:andHeight:error:] in SampleApplicationSession.o
 
  "QCAR::MultiTargetResult::getClassType()", referenced from:
 
      -[MultiTargetsEAGLView renderFrameQCAR] in MultiTargetsEAGLView.o
 
  "QCAR::onSurfaceCreated()", referenced from:
 
      -[SampleApplicationSession prepareAR] in SampleApplicationSession.o
 
  "QCAR::MarkerTracker::getClassType()", referenced from:
 
      -[FrameMarkersViewController doInitTrackers] in FrameMarkersViewController.o
 
      -[FrameMarkersViewController doStartTrackers] in FrameMarkersViewController.o
 
      -[FrameMarkersViewController doStopTrackers] in FrameMarkersViewController.o
 
      -[FrameMarkersViewController doDeinitTrackers] in FrameMarkersViewController.o
 
  "QCAR::setRotation(int)", referenced from:
 
      -[SampleApplicationSession prepareAR] in SampleApplicationSession.o
 
  "QCAR::MarkerResult::getClassType()", referenced from:
 
      -[FrameMarkersEAGLView renderFrameQCAR] in FrameMarkersEAGLView.o
 
  "QCAR::CameraDevice::getInstance()", referenced from:
 
      -[SampleApplicationSession resumeAR:] in SampleApplicationSession.o
 
      -[SampleApplicationSession pauseAR:] in SampleApplicationSession.o
 
      -[SampleApplicationSession configureVideoBackgroundWithViewWidth:andHeight:] in SampleApplicationSession.o
 
      -[SampleApplicationSession startCamera:viewWidth:andHeight:error:] in SampleApplicationSession.o
 
      -[SampleApplicationSession stopAR:] in SampleApplicationSession.o
 
      -[SampleApplicationSession stopCamera:] in SampleApplicationSession.o
 
      ___49-[TextRecoViewController initWithNibName:bundle:]_block_invoke31 in TextRecoViewController.o
 
      ...
 
  "QCAR::init()", referenced from:
 
      -[SampleApplicationSession initQCARInBackground] in SampleApplicationSession.o
 
  "QCAR::Rectangle::getRightBottomX() const", referenced from:
 
      -[VirtualButtonsEAGLView renderFrameQCAR] in VirtualButtonsEAGLView.o
 
  "QCAR::onResume()", referenced from:
 
      -[SampleApplicationSession resumeAR:] in SampleApplicationSession.o
 
  "QCAR::Renderer::getInstance()", referenced from:
 
      -[SampleApplicationSession configureVideoBackgroundWithViewWidth:andHeight:] in SampleApplicationSession.o
 
      -[TextRecoEAGLView renderFrameQCAR] in TextRecoEAGLView.o
 
      -[CloudRecoEAGLView renderFrameQCAR] in CloudRecoEAGLView.o
 
      -[CylinderTargetsEAGLView renderFrameQCAR] in CylinderTargetsEAGLView.o
 
      -[MultiTargetsEAGLView renderFrameQCAR] in MultiTargetsEAGLView.o
 
      -[FrameMarkersEAGLView renderFrameQCAR] in FrameMarkersEAGLView.o
 
      -[VirtualButtonsEAGLView renderFrameQCAR] in VirtualButtonsEAGLView.o
 
      ...
 
ld: symbol(s) not found for architecture arm64
 
clang: error: linker command failed with exit code 1 (use -v to see invocation)
 
 
 
Thanks
 
Ram

iOS cloud recog setup error

April 14, 2014 - 4:28am #2

This is a linker error.  The clue being this line:

ld: symbol(s) not found for architecture arm64

Remove arm64 from the build settings and rebuild.

If you do not know what this is, search the web.

 

N

 

Log in or register to post comments