So, I just had to refresh an Arch Lnux dev machine, and although most things seem to work, my app build borks due to the linker not finding pnglib functions in juce_PNGLoader.o.
So, juce_PNGLoader.o did build and is in libjuce_debug.a - no errors there.
JUCE_INCLUDE_PNGLIB is defined to 1 in juce_Config.h
I re-ran runpremake
I cleaned everything.
This CodeBlocks project, using maybe 2 SVNs ago (705 or so) was working before. The juce libray uses the ‘custom makefile’ trick, my app builds with CodeBlocks managing the make (both in the same workspace).
I do have PNGlib on the machine, and it may be newer (or older), so I tried to make sure that it used juce’s version by (for each target):
putting juce first in the Project Build options - Linker settings - Link Libraries,
putting juce path in the Project Build options - Search directories Compiler & Linker tabs
What’s odd is that jucedemo works fine, but of course it uses the amalgam now.
Does this ring a bell with anyone? Can’t tell whether zlib and oggvorbis would problems next, but none are reported.
Bruce