Log in or register to post comments

VuforiaSamples not building

March 26, 2016 - 6:42am #1

Hi I am looking to use Vuforia for a project but having a lot of troubles trying to get the sample to build and install on my iPhone.

Every time I run a build I get a Error in RefFreeFrame.mm of "Vuforia/Vuforia.h" not found.

Using Xcode 7.3

 

Many thanks in advance

 

VuforiaSamples not building

March 14, 2019 - 5:22am #8

Thanks Moxi , you save my day 

 

VuforiaSamples not building

August 1, 2016 - 3:17am #7

Same Problem here.

 

 

 

ld: warning: path '/Users/admin/Desktop/VuforiaSamples-5-5-9 2/libVuforia.a' following -L not a directory
ld: warning: ignoring file /Users/admin/Desktop/VuforiaSamples-5-5-9 2/libVuforia.a, missing required architecture x86_64 in file /Users/admin/Desktop/VuforiaSamples-5-5-9 2/libVuforia.a (3 slices)
Undefined symbols for architecture x86_64:
  "Vuforia::WordResult::getClassType()", referenced from:
      -[TextRecoEAGLView renderFrameVuforia] in TextRecoEAGLView.o
  "Vuforia::ImageTarget::getClassType()", referenced from:
      -[VirtualButtonsViewController onVuforiaUpdate:] in VirtualButtonsViewController.o
  "Vuforia::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
  "Vuforia::setRotation(int)", referenced from:
      -[SampleApplicationSession prepareAR] in SampleApplicationSession.o
  "Vuforia::CameraDevice::getInstance()", referenced from:
      -[VirtualButtonsViewController resumeAR] in VirtualButtonsViewController.o
      -[VirtualButtonsViewController onInitARDone:] in VirtualButtonsViewController.o
      -[VirtualButtonsViewController cameraPerformAutoFocus] in VirtualButtonsViewController.o
      -[ObjectRecoViewController resumeAR] in ObjectRecoViewController.o
      -[ObjectRecoViewController onInitARDone:] in ObjectRecoViewController.o
      -[ObjectRecoViewController cameraPerformAutoFocus] in ObjectRecoViewController.o
      -[ObjectRecoViewController menuProcess:value:] in ObjectRecoViewController.o
      ...
  "Vuforia::MarkerResult::getClassType()", referenced from:
      -[FrameMarkersEAGLView renderFrameVuforia] in FrameMarkersEAGLView.o
  "Vuforia::RectangleInt::RectangleInt(int, int, int, int)", referenced from:
      -[TextRecoViewController prepareROI] in TextRecoViewController.o
  "Vuforia::RectangleInt::~RectangleInt()", referenced from:
      -[TextRecoViewController prepareROI] in TextRecoViewController.o
  "Vuforia::MarkerTracker::getClassType()", referenced from:
      -[FrameMarkersViewController doInitTrackers] in FrameMarkersViewController.o
      -[FrameMarkersViewController doStartTrackers] in FrameMarkersViewController.o
      -[FrameMarkersViewController doStopTrackers] in FrameMarkersViewController.o
      -[FrameMarkersViewController doDeinitTrackers] in FrameMarkersViewController.o
  "Vuforia::ObjectTracker::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
      ...
  "Vuforia::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
      ...
  "Vuforia::onSurfaceChanged(int, int)", referenced from:
      -[SampleApplicationSession prepareAR] in SampleApplicationSession.o
  "Vuforia::onSurfaceCreated()", referenced from:
      -[SampleApplicationSession prepareAR] in SampleApplicationSession.o
  "Vuforia::registerCallback(Vuforia::UpdateCallback*)", referenced from:
      -[SampleApplicationSession prepareAR] in SampleApplicationSession.o
  "Vuforia::MultiTargetResult::getClassType()", referenced from:
      -[MultiTargetsEAGLView renderFrameVuforia] in MultiTargetsEAGLView.o
  "Vuforia::setInitParameters(int, char const*)", referenced from:
      -[SampleApplicationSession initVuforiaInBackground] in SampleApplicationSession.o
  "Vuforia::ObjectTargetResult::getClassType()", referenced from:
      -[ObjectRecoEAGLView renderFrameVuforia] in ObjectRecoEAGLView.o
  "Vuforia::Tool::getProjectionGL(Vuforia::CameraCalibration const&, float, float)", referenced from:
      -[SampleApplicationSession startCamera:viewWidth:andHeight:error:] in SampleApplicationSession.o
  "Vuforia::Tool::convertPose2GLMatrix(Vuforia::Matrix34F const&)", referenced from:
      -[FrameMarkersEAGLView renderFrameVuforia] in FrameMarkersEAGLView.o
      -[ObjectRecoEAGLView renderFrameVuforia] in ObjectRecoEAGLView.o
      -[ImageTargetsEAGLView renderFrameVuforia] in ImageTargetsEAGLView.o
      -[MultiTargetsEAGLView renderFrameVuforia] in MultiTargetsEAGLView.o
      -[TextRecoEAGLView renderFrameVuforia] in TextRecoEAGLView.o
      -[VirtualButtonsEAGLView renderFrameVuforia] in VirtualButtonsEAGLView.o
      -[UserDefinedTargetsEAGLView renderFrameVuforia] in UserDefinedTargetsEAGLView.o
      ...
  "Vuforia::init()", referenced from:
      -[SampleApplicationSession initVuforiaInBackground] in SampleApplicationSession.o
  "Vuforia::State::~State()", referenced from:
      -[FrameMarkersEAGLView renderFrameVuforia] in FrameMarkersEAGLView.o
      -[ObjectRecoEAGLView renderFrameVuforia] in ObjectRecoEAGLView.o
      -[ImageTargetsEAGLView renderFrameVuforia] in ImageTargetsEAGLView.o
      -[MultiTargetsEAGLView renderFrameVuforia] in MultiTargetsEAGLView.o
      -[TextRecoEAGLView renderFrameVuforia] in TextRecoEAGLView.o
      -[VirtualButtonsEAGLView renderFrameVuforia] in VirtualButtonsEAGLView.o
      -[UserDefinedTargetsEAGLView renderFrameVuforia] in UserDefinedTargetsEAGLView.o
      ...
  "Vuforia::deinit()", referenced from:
      -[SampleApplicationSession stopAR:] in SampleApplicationSession.o
  "Vuforia::onPause()", referenced from:
      -[SampleApplicationSession pauseAR:] in SampleApplicationSession.o
      -[SampleApplicationSession stopAR:] in SampleApplicationSession.o
  "Vuforia::Renderer::getInstance()", referenced from:
      RefFreeFrame::initGL(int, int) in RefFreeFrame.o
      -[FrameMarkersEAGLView renderFrameVuforia] in FrameMarkersEAGLView.o
      -[ObjectRecoEAGLView renderFrameVuforia] in ObjectRecoEAGLView.o
      -[ImageTargetsEAGLView renderFrameVuforia] in ImageTargetsEAGLView.o
      -[MultiTargetsEAGLView renderFrameVuforia] in MultiTargetsEAGLView.o
      -[SampleApplicationSession configureVideoBackgroundWithViewWidth:andHeight:] in SampleApplicationSession.o
      -[TextRecoEAGLView renderFrameVuforia] in TextRecoEAGLView.o
      ...
  "Vuforia::onResume()", referenced from:
      -[SampleApplicationSession resumeAR:] in SampleApplicationSession.o
  "Vuforia::Rectangle::Rectangle(float, float, float, float)", referenced from:
      -[VirtualButtonsViewController setVirtualButtonState:position:state:imageTarget:] in VirtualButtonsViewController.o
  "Vuforia::Rectangle::~Rectangle()", referenced from:
      -[VirtualButtonsViewController setVirtualButtonState:position:state:imageTarget:] in VirtualButtonsViewController.o
  "Vuforia::Type::isOfType(Vuforia::Type) const", referenced from:
      -[VirtualButtonsViewController onVuforiaUpdate:] in VirtualButtonsViewController.o
  "Vuforia::State::getTrackableResult(int) const", referenced from:
      -[FrameMarkersEAGLView renderFrameVuforia] in FrameMarkersEAGLView.o
      -[ObjectRecoEAGLView renderFrameVuforia] in ObjectRecoEAGLView.o
      -[ImageTargetsEAGLView renderFrameVuforia] in ImageTargetsEAGLView.o
      -[MultiTargetsEAGLView renderFrameVuforia] in MultiTargetsEAGLView.o
      -[TextRecoEAGLView renderFrameVuforia] in TextRecoEAGLView.o
      -[VirtualButtonsEAGLView renderFrameVuforia] in VirtualButtonsEAGLView.o
      -[UserDefinedTargetsEAGLView renderFrameVuforia] in UserDefinedTargetsEAGLView.o
      ...
  "Vuforia::State::getNumTrackableResults() const", referenced from:
      -[FrameMarkersEAGLView renderFrameVuforia] in FrameMarkersEAGLView.o
      -[ObjectRecoEAGLView renderFrameVuforia] in ObjectRecoEAGLView.o
      -[ImageTargetsEAGLView renderFrameVuforia] in ImageTargetsEAGLView.o
      -[MultiTargetsEAGLView renderFrameVuforia] in MultiTargetsEAGLView.o
      -[TextRecoEAGLView renderFrameVuforia] in TextRecoEAGLView.o
      -[VirtualButtonsEAGLView renderFrameVuforia] in VirtualButtonsEAGLView.o
      -[UserDefinedTargetsEAGLView renderFrameVuforia] in UserDefinedTargetsEAGLView.o
      ...
  "Vuforia::Rectangle::getLeftTopX() const", referenced from:
      -[VirtualButtonsEAGLView renderFrameVuforia] in VirtualButtonsEAGLView.o
  "Vuforia::Rectangle::getLeftTopY() const", referenced from:
      -[VirtualButtonsEAGLView renderFrameVuforia] in VirtualButtonsEAGLView.o
  "Vuforia::Rectangle::getRightBottomX() const", referenced from:
      -[VirtualButtonsEAGLView renderFrameVuforia] in VirtualButtonsEAGLView.o
  "Vuforia::Rectangle::getRightBottomY() const", referenced from:
      -[VirtualButtonsEAGLView renderFrameVuforia] in VirtualButtonsEAGLView.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

 

how to solve this  problems

VuforiaSamples not building

July 22, 2016 - 5:37pm #6

Same Problem here.

VuforiaSamples not building

April 18, 2016 - 5:11pm #5

moxi wrote:

Solved. Connecting iPhone/iPad is solving all the problems.

Correct. In Xcode, the device must be selected in the top menu bar. The iOS Simulators are not supported.

VuforiaSamples not building

April 14, 2016 - 5:46pm #4

same issue. Hope someone can help.

VuforiaSamples not building

April 1, 2016 - 1:51am #3

Same here, can't builing the samples. Using the folder structure shown in the faq ending in endless error list. Trying to unpack the Samples direct to the Samples folder, getting the "Vuforia/Vuforia.h" not found error.

Using XCode 7.3 too.

 

With best regards

 

EDIT:

Solved. Connecting iPhone/iPad is solving all the problems.

VuforiaSamples not building

March 30, 2016 - 3:52pm #2

  • Which version of Vuforia?
  • Did you place the VuforiaSamples project in the "samples" folder of the Vuforia SDK?

 

Log in or register to post comments