How to build OpenCV 3.0.0 with libjpeg turbo?
Hi,
I'm trying to build OpenCV 3.0.0 with libjpeg turbo 1.4.1. The only relevant information I can find is a post from Stack Overflow : http://stackoverflow.com/questions/10...
I try to follow this and did the following in cmake-gui: 1) uncheck : BUILD_JPEG, 2) add entry(PATH) : JPEG_INCLUDE_DIR=C:/libjepeg-turbo64/include/, 3) add entry(STRING) : JPEG_LIBRARY=C:/libjpeg-turbo64/lib/libjpeg.a C:/OpenCV-3.0.0
When I hit generate in cmakge-gui, the log reads : "Found JPEG: C:/libjpeg-turbo64/lib/libjpeg.a C:/opencv-3.0.0_turbo" But when I build the solution in openCV, a great majority of the projects failed, showing fatal link error.
I have two questions here: 1) What does "JPEG_LIBRARY=C:/libjpeg-turbo64/lib/libjpeg.a C:/OpenCV-3.0.0" really mean? I just copy the line and make some changes that I understand but it doesn't quite make sense to me. I can't find any file named libjpeg in the lib folder, but there is a jpeg.lib.
2) What should I do if I want to build OpenCV 3.0.0 with libjpeg-turbo?
Thanks