I had a small problem with the String class when linking dynamically (dll) to the juce library. The global operators for the String class lack the __declspec declaration (JUCE_API) and the linker cannot link to the body of the functions. I corrected it and it linked correctly.
This happens on the current release version (1.51). I checked the git tree and I see the same problem.