"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

VuforiaSDK integration in existing project

Hi,

 

I already have a project and I try to integrate VuforiaSDK in it, but I got stuck in an error "-[EAGLView myVal]: unrecognized selector sent to instance". I think is a matter of combining Objective-C with Objective-C++ but I cannot figure out how to solve this. I cannot rename all my .m files into .mm , that's for sure. I have tried to set the compiler to Objectve-C++ for all sources but I get errors in existing sources...

If you have any idea how to solve this, please help! It's realy urgent. Thanks!

 

Regards,

Bogdan P

[EAGLView myVal]: unrecognized selector sent to instance

..means that while your code may have compiled, the runtime is trying to find the "myVal" method in your EAGLView, which it cannot - hence the error.

So check that this function exists.

perianubogdan

Mon, 05/13/2013 - 11:13

That is a string property added only for test reason. The XCode sees that property but the compilator doesn't. Actually, none of EAGLView class properties or methods are visible at runtime... I have made a new project with Vuforia from scratch and works just fine, but not with my project.