opencv tag :2.4.6, 2.4.6.1, 2.4.6.2 android 4.2.2_r1.2 ANDROID_NDK="/home/thomas/build/aosp/jb-4.2.2_r1.2/prebuilts/ndk/current" I have refered to http://code.opencv.org/projects/opencv/wiki/Building_OpenCV4Android_from_trunk ,but I got many sincos error. I tried -lm, but failed.
How to build openCV successfully?
Linking CXX executable ../../bin/opencv_perf_imgproc /home/thomas/build/aosp/jb-4.2.2_r1.2/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.gold: ../../lib/armeabi-v7a/libopencv_imgproc.a(imgwarp.cpp.o): in function cv::getRotationMatrix2D(cv::Point_<float>, double, double):imgwarp.cpp(.text._ZN2cv19getRotationMatrix2DENS_6Point_IfEEdd+0x2a): error: undefined reference to 'sincos'