Hello
It seems that an old problem is coming back :
https://forum.juce.com/t/problem-with-zlib-in-juce-8-0-7/
Now, there is also a problem with libjpeg if the libjpeg is already included in your project.
Hello
It seems that an old problem is coming back :
https://forum.juce.com/t/problem-with-zlib-in-juce-8-0-7/
Now, there is also a problem with libjpeg if the libjpeg is already included in your project.
I think we should probably update the breaking changes doc.
Thanks a lot @t0m
The solution works for ZLIB but for the libjpeg, what is the solution ?
Hello
I think I found the problem.
In juce_graphics_libjpg_1.c, the JUCE_INCLUDE_JPEGLIB_CODE flag does not cover all the code.
The #include “juce_graphics/image_formats/jpglib/jdhuff.c” is not excluded if JUCE_INCLUDE_JPEGLIB_CODE = 0. Thus a link error if your project comes with its own version of libjpeg.
Thus in order to solve my problem, I defined JUCE_INCLUDE_JPEGLIB_CODE = 0 in the Projucer and move the #endif at the end of the file.
Thanks for raising this. We’ve fixed this and flagged the breaking change on the develop branch: