Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

how to include libjpeg in OpenCV 3.1 Android

$
0
0
with openCV 2.4.X I had no problem using turbo-libjpeg I've used the library as shared library: Android.mk includes- LOCAL_C_INCLUDES += ../../libjpeg-turbo and include $(BUILD_SHARED_LIBRARY) when I upgrade to openCV 3.1 I get compilation error below after runing NDK-BUILD. from openCV 3.1 Android.mk file I can see that libjpeg is not included. the static lib can be found under native->libs, how can I set libjpeg to be include with openCV? error: undefined reference to 'jpeg_CreateDecompress' error: undefined reference to 'jpeg_stdio_src' error: undefined reference to 'jpeg_read_header' error: undefined reference to 'jpeg_start_decompress' error: undefined reference to 'jpeg_read_scanlines' error: undefined reference to 'jpeg_finish_decompress' error: undefined reference to 'jpeg_destroy_decompress' error: undefined reference to 'jpeg_std_error' error: undefined reference to 'jpeg_CreateDecompress' error: undefined reference to 'TIFFOpen' error: undefined reference to 'TIFFWriteEncodedStrip'

Viewing all articles
Browse latest Browse all 19555

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>