[Qt-interest] Linkage error, library using Botan
Thomas Ehrnhoefer
thomas.ehrnhoefer at tasktop.com
Mon Jul 25 18:20:49 CEST 2011
Hi List
I want to compile a plugin (QtSDKProjects,
https://projects.developer.nokia.com/qtsdkprojectsplugin) on Windows7 with
qtc 2.2.1, but am running into issues with the linker (see end of the
email).
I am assuming it comes down to some issue with Botan not being
found/available.
Qt Creator compiled by itself just fine, I got all the Botan stuff in the
right places as far as I know.
I tried various things, amongst them adding
"include(../../libs/3rdparty/botan/botan.pri)" to the .pro file, or using
QtC's "Add library" feature, which adds a bunch of lines to link to the
botan.lib.
However I am always getting the same error. Being a novice when it comes to
the Qt build system, I am hoping somebody can give me some pointers. Already
tried qt-creator list and created a bug on the qtsdkproject itself, but so
far no luck there.
Thanks
Thomas
Linker errors:
link /LIBPATH:"c:\work\Qt\qt-everywhere-opensource-src-4.7.3\lib" /NOLOGO
/INCREMENTAL:NO /DLL /MANIFEST
/MANIFESTFILE:"release\TracPlugin.intermediate.manifest"
/OUT:..\..\..\lib\qtcreator\plugins\Nokia\TracPlugin.dll
@C:\Users\TEHRNH~1\AppData\Local\Temp\nmF50A.tmp
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 at Pipe@Botan@@2IB) referenced in function "public:
bool__thiscall PasswordHelper::decrypt(class QString &,class QString *)"
(?decrypt at PasswordHelper@@QAE_NAAVQString@@PAV2@@Z)
..\..\..\lib\qtcreator\plugins\Nokia\TracPlugin.dll : fatal error LNK1120: 1
unresolved externals
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\BIN\link.EXE"' : return code '0x460'
--
Thomas Ehrnhoefer
Software Developer, http://tasktop.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110725/adabdc49/attachment.html
More information about the Qt-interest-old
mailing list