I have add mysql++ library and when I try to link my app I get the following errors:
MainComponent.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: class std::basic_ostream<char,struct std::char_traits > & __thiscall std::basic_ostream<char,struct std::char_traits >::flush(void)” (_imp?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV12@XZ) referenced in function “public: __thiscall std::basic_ostream<char,struct std::char_traits >::sentry::sentry(class std::basic_ostream<char,struct std::char_traits > &)” (??0sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@AAV12@@Z)
MainComponent.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::basic_ostream<char,struct std::char_traits >::_Osfx(void)” (_imp?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEXXZ) referenced in function “public: __thiscall std::basic_ostream<char,struct std::char_traits >::sentry::~sentry(void)” (??1sentry@?$basic_ostream@DU?$char_traits@D@std@@@std@@QAE@XZ)
MainComponent.obj : error LNK2019: unresolved external symbol “__declspec(dllimport) public: void __thiscall std::basic_ios<char,struct std::char_traits >::setstate(int,bool)” (_imp?setstate@?$basic_ios@DU?char_traits@D@std@@@std@@QAEXH_N@Z) referenced in function "class std::basic_ostream<char,struct std::char_traits<char> > & __cdecl std::operator<<<struct std::char_traits<char> >(class std::basic_ostream<char,struct std::char_traits<char> > &,char const *)" (???6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z)
If I comment out the mysql stuff and the mysql++ include then it compiles okay. Any idea what lib I am missing for this stuff?