Ask Your Question

About OpenCV 2.4.2 built failed with Android NDK r8b

asked 2012-09-19 17:18:53 -0500

OpenCVFan gravatar image

Anyone has successfully built the latest released OpenCV 2.4.2 under Windows and uses the required Android NDK r8b? I am trying to build Android folder but got cxx file compiled error"

"ttf_stream.cxx": cannot find stream:.....

The system uses g++ to compile the source file but it seems that it cannot find the header files resident in Android NDK folders.

I am using the following command under opencv\android folder:


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2012-09-19 18:00:10 -0500

Andrey Kamaev gravatar image

OpenCV 2.4.2 was released before NDK r8b. So there is no surprise that it does not compile.

You either can build OpenCV 2.4.2 with NDK r8 or fetch OpenCV master from repository and continue with NDK r8b.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2012-09-19 17:18:53 -0500

Seen: 283 times

Last updated: Sep 19 '12