Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

OpenCV-android linker error: undefined reference to 'typeinfo'

Building an ndk-based project for android and I get a bunch of linker errors such as

OpenCV- cvflann::anyimpl::typed_base_any_policy<double>::type(): error: undefined reference to 'typeinfo for double'

All the errors are of the same type and within flann. I'm using ndk r9b with gcc-4.8. Also, I don't have this problem with 2.4.7. What changed in that might cause this?