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!!!