Did you try to build using just mingw or cygwin instead of MS VS?
I've only tried mingw so far as it's integrated with QT Creator. As I understand it there can be big problems trying to link libraries compiled by MS VS to a program being compiled in mingw (I'm not an expert on Windows type stuff, but nobody else seemed to be actively trying...)