Log in or register to post comments

XCode Linker Errors / Armv7

November 18, 2012 - 1:04pm #1

I'm using:

XCode 4.5.2

Unity 4

Vuforia 1.5.9

Every time I try and build and run my iOS app to an Iphone 3GS I get 62 "Apple Mach-O Linker Errors" that are associated with Vuforia. All linker errors are related to Vuforia and "Undefined symbols for architecture armv7"

How do I fix this??

XCode Linker Errors / Armv7

July 25, 2013 - 3:05am #10

You may need to add the Security framework.

Failing this you will probably have to upgrade Unity to 3.5.7 and Vuforia to the latest 2.X release because 1.5 is no longer supported.

 

N

XCode Linker Errors / Armv7

July 24, 2013 - 10:37pm #9

NalinS wrote:

Please see my answer to the same question you posted here:

https://ar.qualcomm.at/content/xcode-linker-errors-armv7

N

 

BTW heavy1 please try to avoid double posting in the future, as it simply causes confusion. 

 

 

 

 

Hello NalinS,

 

I am getting the same error in xcode 4.5

unity 3.5.6

with vuforia 1.5.10

 

The  above link is broken .

Can you please post the correct link

Thanks

 

 

XCode Linker Errors / Armv7

November 21, 2012 - 3:17am #8

Thanks for the information.

The Vuforia Team has been working hard on this, so hopefully you will see the results soon.

XCode Linker Errors / Armv7

November 20, 2012 - 10:30am #7

Indeed. Understood. But I'm assuming supporting Unity 4 is on the immediate Vuforia roadmap for the next release.

So, it is with this in mind that I hope this type of information will help assist / expedite that process along so Unity 4 developers can deploy iOS apps.

Thanks - Heavy

XCode Linker Errors / Armv7

November 20, 2012 - 4:29am #6

Like I said, Unity 4 is not currently supported.

N

XCode Linker Errors / Armv7

November 19, 2012 - 10:56am #5

Here is the latest info I can provide to best help you solve issue:

Unity 4

- I have pro version of both Unity and the iOS extension

Vuforia ios 1.5.10 unity extension

XCode 4.5.2

- Architectures and Valid Architectures all set to armv7 under Build Settings (Resolved, Unity-Iphone, Unity-Iphone). However, iOS Default is      grayed out and I cannot change. It is set to Standard (armv7, armv7s)

 - Keep receiving "Apple Mach-O Linker Errors" with regard to Vuforia features

ex: 

Undefined symbols for architecture armv7:

  "_markerGetId", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_qcarSetFrameFormat", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererGetVideoBackgroundCfg", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTrackerDestroyDataSet", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTrackerActivateDataSet", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_cameraDeviceSetFlashTorchMode", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTargetCreateVirtualButton", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_getProjectionGL", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_dataSetGetTrackablesOfType", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_trackerManagerDeinitTracker", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_trackerManagerInitTracker", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererSetVideoBackgroundCfg", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_qcarRequiresAlpha", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_cameraDeviceStartCamera", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererIsVideoBackgroundTextureInfoAvailable", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_dataSetGetNumTrackableType", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_virtualButtonIsEnabled", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_isRendererDirty", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererGetVideoBackgroundTextureInfo", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_updateQCAR", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTrackerCreateDataSet", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_markerSetSize", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_rendererSetVideoBackgroundTextureID", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_imageTargetGetVirtualButtons", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_virtualButtonSetEnabled", referenced from:

      RegisterMonoModules() in RegisterMonoModules.o

  "_qcarGetBufferSize", referenced from:

(there are 62 errors total... Ive only provided some of them)

 

 

XCode Linker Errors / Armv7

November 19, 2012 - 8:31am #4

Many thanks for answer, but not sure why this particular post double posted. Sorry for confusion.

XCode Linker Errors / Armv7

November 19, 2012 - 1:06am #3

Please see my answer to the same question you posted here:

https://ar.qualcomm.at/content/xcode-linker-errors-armv7

N

 

BTW heavy1 please try to avoid double posting in the future, as it simply causes confusion. 

XCode Linker Errors / Armv7

November 18, 2012 - 7:03pm #2

I guess your Error Line is below...

QCARUnityPlayer::getInstance().QCARNotifyCreated((int)surface->w, (int)surface->h);

change this line...

QCARUnityPlayer::getInstance().QCARNotifyCreated((int)surface->targetW, (int)surface->targetH);

And another Error...

QCARUnityPlayer::getInstance().QCARSetOrientation(_curOrientation);

change this line...

QCARUnityPlayer::getInstance().QCARSetOrientation((int)orientation);

I could build my app with these changes.


Log in or register to post comments