Error: Cannot use typeid with -fno-rtti
问题 I´m getting this "Cannot use typeid with -fno-rtti" when I´m trying to compile my project, I´m using an opencv framework. I googled the problem but, it seems the errors I found in internet does not have relation with my problem. I don´t know if the problem is related with the includes, the code or the compiler. Xcode is giving me the error a lot of times, but the first error is here: virtual const std::type_info& type() { return typeid(T); } 回答1: It's telling you the error right in the