I ran across a bug in the Introjucer. (Or I did something wrong - I'm new to JUCE.) In the GUI editor, in the Graphics tab, you can add images to the background of your custom component.
So what I did was add a PNG file to the component as a resource, and then I added an image to the component's background in the Graphics tab. For the image source, I chose the PNG resource I had added.
So far, so good. It builds and runs. Now I add a second image to the background, and I set the image source to be the same PNG resource. Now it no longer builds. Introjucer adds the following line twice to the header file:
(My PNG resource was called bigonion.png.)
So unless I'm doing something wrong, it seems that Introjucer is using the image's name as a basis for the variable name, and there doesn't seem to be a way to override the variable name for background images.
Is this a bug, or did I do something wrong?