"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Integrate SDK into existing project - linking errors

Hi team! I have an existing project that I want to add an AR component to. I will be loading a new view controller modally, and from there I want to be able to press a button to launch the camera view and see the teapot (for now) over a reference image. I've tried pulling the imageTargets sample project to bits and adding the .h/.m/.mm/.a/.cpp/.fsh/.vsh/.dat etc files to my existing project. I turned off ARC in those files to clear most of the compiler issues and am now left with: duplicate symbol _OBJC_CLASS_$_ARViewController in..... Any idea why this would happen? Could anybody suggest a better way to implement the imageTargets functionality from a view controller in my existing app...? I'm in Xcode 4.2 and iOS 5.0.1. Thanks in advance!!!

watsoncarl

Mon, 02/27/2012 - 20:54

Hi there, Thanks for your quick reply! Your message helped me solve the problem. I had been focussing on the SDK as the problem source but the project I'm modifying (I wrote a few months back) actually includes a VC called ARViewController that I created. Hence the obvious error. Thanks!