Topic locked

Changing deployment target causes Linker Errors

August 26, 2014 - 3:15pm #1

Hi all,

 

I've been attempting to integrate Vuforia with my iOS app. However, I am stuck on armv7s Apple Mach-O linker errors.

 

Since there are no in depth guides by Qualcomm for this I followed the answer given here: http://stackoverflow.com/questions/19771169/how-use-vuforia (answer by Maury Markowitz).

After following this tutorial I kept getting linker errors in my application. So I played around with the project settings, with no luck.

Many frustrating tries later I found a problem with the deployment target. When I change the deployment target of the Vuforia sample (default set to 4.3) to anything >=7.0 I get the linker error.

I am not sure why this is caused as the sample runs just fine on iOS 7.1 and iOS 8 (beta 5) iPhones when targeting 4.3.

Any suggestions (also, any plans to support Swift in greater depth/create a guide to integration)?

 

Config:

XCode 6 beta 6

Phones: iPhone 5s on iOS 7.1 and iPhone 5 on iOS 8 (beta 5)

Usage: All features in sample work fine. I want to integrate Cloud Reco.

OS: OSX 10.9.4 (Mavericks)

 

Cheers

Indigo

Changing deployment target causes Linker Errors

January 27, 2015 - 12:08pm #5

Glad to hear it ;-)

Changing deployment target causes Linker Errors

January 27, 2015 - 9:59am #4

Hi Alessandro !

Thank you for that hint, I went to this issue and following your advices my project builds !

It works definitely =)

Changing deployment target causes Linker Errors

October 23, 2014 - 7:54am #3

Hi,

1. Have you tried following the guide here ?

https://developer.vuforia.com/forum/ios/ios-8-xcode-6-and-vuforia-30-compatibility

 

2. and in addition, you may also want to check the following build settings:

Under the Build Settings tab:
  • go to the Apple LLVM 6 - Language - C++ subcategory
  • change the "C++ Standard Library" property to one of: 
    • libsdtc++ (LLVM C++ standard library)  OR
    • Compiler Default
  • NOTE: it is also possible to leave the "C++ Standard Library" value set to the "libc++ Standard Library for C++ 11"; however, if you need to link such library, then:
    • under "Other Linker Flags" put the path of the libstdc++ library.  
    • For example on iOS SDK 7.1 this would be something like: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk/usr/lib/libstdc++.dylib

Using the checklist above, we were able to build Vuforia wioth iOS 7 and iOS 8.0 / 8.1, using Xcode 6.0 as well as Xcode 6.1 GM 2 (the latest); so, hopefully you should be able to build Vuforia as well...

 

Changing deployment target causes Linker Errors

October 23, 2014 - 1:59am #2

encounter the same problem, how to solve this? link error happens when I change deployment target to 7.0

Topic locked