Suggestion: Use -Wl,--no-undefined to catch missing symbols in shared libs

I've seen some plugins building correctly but then failing to load because they were missing symbols.

This can be "fixed" by adding:

-Wl,--no-undefined

in the linker arguments.

It works for both apps and shared libs (although for apps it's not needed).

 

Good tip, thanks!

Jules, could you try this on the Pi, please (most of the other demo apps build except audo plugin demo)?

This really saved me time and I recommend everyone to put this flags into your build script.

The introjucer will add it automatically now, for plugins.