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
VuforiaSDK needs Objective-C++
This is not true as the core SDK is multiplatform written in portable C++, which is why we have an Android version ;)
The samples use a mixture of Objective C/C++, but the underlying core library is simply a C++ library
I cannot rename all my .m files into .mm , that's for sure
Maybe you cannot, but it may be worth doing a quick test here to see if it could work?
Either way if you cannot get it to work by integrating existing sample code, you may have to try building a sample from scratch in Objective C to see if it could work - which basically means replicating Image Targets into your own app.
N