I had the same problem, and after very carefully checking all my connections and the library, I decided to go back and touch up my soldering. Once I did that and tried it again, it finally worked. So if the LCD isn't getting initialized, and you're just seeing the black boxes... and I did the soldering... then double check the soldering.