boie
17th October 2010, 02:20
Hello everyone,
I'm trying to build qtwebkit that came packaged with qt (opensource) 4.7.0 on visual studio 2008. after going through several issues which have been resolved, I finally am able to get to the linking step but it is reporting several unresolved externals with the qchar class. This seems like such odd errors that I was hoping maybe someone could provide some insight. I read that it might be visual studio treating wchar_t as a built-in type but when I toggle this flag (-Zc) it doesn't seem to affect anything.
Here are the messages:
1>AuthenticationChallengeBase.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl QChar::toCaseFolded(unsigned int)" (__imp_?toCaseFolded@QChar@@SAII@Z)
1>jscore.lib(JSGlobalObjectFunctions.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static enum QChar::Category __cdecl QChar::category(unsigned int)" (__imp_?category@QChar@@SA?AW4Category@1@I@Z)
1>StringImpl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static enum QChar::Direction __cdecl QChar::direction(unsigned int)" (__imp_?direction@QChar@@SA?AW4Direction@1@I@Z) referenced in function "private: void __thiscall WTF::CrossThreadRefCounted<class WTF::OwnFastMallocPtr<wchar_t const > >::threadSafeDeref(void)" (?threadSafeDeref@?$CrossThreadRefCounted@V?$OwnFa stMallocPtr@$$CB_W@WTF@@@WTF@@AAEXXZ)
Thank You
I'm trying to build qtwebkit that came packaged with qt (opensource) 4.7.0 on visual studio 2008. after going through several issues which have been resolved, I finally am able to get to the linking step but it is reporting several unresolved externals with the qchar class. This seems like such odd errors that I was hoping maybe someone could provide some insight. I read that it might be visual studio treating wchar_t as a built-in type but when I toggle this flag (-Zc) it doesn't seem to affect anything.
Here are the messages:
1>AuthenticationChallengeBase.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static unsigned int __cdecl QChar::toCaseFolded(unsigned int)" (__imp_?toCaseFolded@QChar@@SAII@Z)
1>jscore.lib(JSGlobalObjectFunctions.obj) : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static enum QChar::Category __cdecl QChar::category(unsigned int)" (__imp_?category@QChar@@SA?AW4Category@1@I@Z)
1>StringImpl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static enum QChar::Direction __cdecl QChar::direction(unsigned int)" (__imp_?direction@QChar@@SA?AW4Direction@1@I@Z) referenced in function "private: void __thiscall WTF::CrossThreadRefCounted<class WTF::OwnFastMallocPtr<wchar_t const > >::threadSafeDeref(void)" (?threadSafeDeref@?$CrossThreadRefCounted@V?$OwnFa stMallocPtr@$$CB_W@WTF@@@WTF@@AAEXXZ)
Thank You