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
RTTI stands for Run Time Type Information, and typeid is an RTTI-feature. So turning off RTTI (-fno-rtti) also disables features like typeid.
typeid
-fno-rtti
See http://en.wikipedia.org/wiki/RTTI for more information about RTTI in C++.