- Native SDK
- MacOS version number 10.8.2
- Xcode version number 4.5, Apple LLVM 4.1(GCC 4.2 would raise more awkward errors)
- iOS 6.0
I have checked with the technicial gurus here to find the best way forward for you
Vuforia is a C++ API, so there is no way to call it from C or Objective C. Instead you need to use C++ or Objective C++.
The recommendation here is that you could write a single Objective C++ file that contains all your calls to Vuforia so that this file acts as an interface. However you will need to use "extern C" to ensure that you don't get the C++ name mangling applied.
You may be in for quite a bit of work here, because the wrapper class cannot take as parameters or return any of the QCAR:: objects. The other option you have here is to make this wrapper class completely self-contained, and only communicate your main app directly i.e. not using QCAR objects. This way, you can encapsulate your app’s interaction with Vuforia into one source file.
More info here:
Are you sure you want to delete this message?
Are you sure you want to delete this conversation?