I just installed JUCE and am attempting to run the hello world project generated by PROJUCER using the makefile export. Everything complies fine but I get this error message when it attempts to link.
Linking FirstJucePlugin - App
/usr/bin/ld: build/intermediate/Debug/include_juce_graphics_f817e147.o: undefined reference to symbol ‘png_set_sBIT@@PNG16_0’
//usr/lib/x86_64-linux-gnu/libpng16.so.16: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:92: recipe for target ‘build/FirstJucePlugin’ failed
make: *** [build/FirstJucePlugin] Error 1
Have you tried “make clean” and building again? I had lots of troubles with it giving me random errors until i deleted the previous built. Also had trouble with Linux libraries, even installing the same ones after installing and updating some others, making a clean install fixed it.
Another thing is: clang works wonders in a x86 Linux compiling JUCE stuff, but gives lots of troubles in my Raspberry (I have to use gcc there).