Many thanks Christian, The code was actually calling read_all_as_string() on a pipe, so the DEFAULT_MESSAGE was added as default parameter. replacing that with your suggestion work
Sweet :) On Fri, Jul 29, 2011 at 12:32 AM, Christian Kandeler < [email protected]> wrote: > On Wed, 2011-07-20 at 11:23 -0700, ext Thomas Ehrnhoefer wrote: > > I am trying to compile the "QtSDKProject" aka tracplugin on Qt Creator > > 2.2.1. > [ ... ] > > Creating library ..\..\..\lib\qtcreator\plugins\Nokia > > \TracPlugin.lib and object ..\.\..\lib\qtcreator\plugins\Nokia > > \TracPlugin.exp > > > > passwordhelper.obj : error LNK2019: unresolved external symbol > > "public: static unsigned int const > > Botan::Pipe::DEFAULT_MESSAGE" (?DEFAULT_MESSAGE@Pipe@Botan@@2IB) > referenced in function "public: bool thiscall PasswordHel > > per::decrypt(class QString &,class QString > > *)" (?decrypt@PasswordHelper@@QAE_NAAVQString@@PAV2@@Z) > > AFAIK, VC++ has problems dealing with static class members across > libraries. The problematic symbol ("DEFAULT_MESSAGE") can be replaced by > a call to message_count()-1 on the respective object, which should make > the error go away. > > > Christian > > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-creator > -- Thomas Ehrnhoefer Software Developer, http://tasktop.com
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
