Quantcast
Channel: Adobe Community: Message List - XMP SDK
Viewing all articles
Browse latest Browse all 801

Static library XMPFilesStatic throws LNK2001 errors

$
0
0

Hi there,

 

I am currently trying to get an older QT project running on a windows machine (it was developed for Mac OS X) and am stuck with some linker-errors (see below). I am using Visual Studio 2010 Ultimate and used its compiler for the XMP SDK. Working on an old project and also not beeing that familiar with C/C++, I am not quite sure if there is a problem between the project and the XMP-lib or if something went wrong while compiling the lib-file. I definitely used the right Options (Release, Win32, static) and had no errors or warnings. There are also no errors concerning the Core-lib, just the for Files-lib.

 

Any ideas?

 

Greetings,

Simon

 

1>  XMPCoreStaticRelease.lib(WXMPMeta.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /LTCG to the link command line to improve linker performance

1>     Creating library release\\XmpImporter.lib and object release\\XmpImporter.exp

1>XMPFilesStaticRelease.lib(XMPFiles.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl TXMPUtils<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::ApplyTemplate(class TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > *,class TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > const &,unsigned long)" (?ApplyTemplate@?$TXMPUtils@V?$basic_string@DU?$char_traits@D@std@@V? $allocator@D@2@@std@@@@SAXPAV?$TXMPMeta@V?$basic_string@DU?$char_trait s@D@std@@V?$allocator@D@2@@std@@@@ABV2@K@Z)

1>XMPFilesStaticRelease.lib(XMPFiles.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetErrorCallback(bool (__cdecl*)(void *,unsigned char,long,char const *),void *,unsigned long)" (?SetErrorCallback@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@@QAEXP6A_NPAXEJPBD@Z0K@Z)

1>XMPFilesStaticRelease.lib(XMPFiles.obj) : error LNK2001: unresolved external symbol "public: class TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::Clone(unsigned long)const " (?Clone@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V?$allocato r@D@2@@std@@@@QBE?AV1@K@Z)

1>XMPFilesStaticRelease.lib(XMPFiles.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SerializeToBuffer(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *,unsigned long,unsigned long)const " (?SerializeToBuffer@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@ @V?$allocator@D@2@@std@@@@QBEXPAV?$basic_string@DU?$char_traits@D@std@ @V?$allocator@D@2@@std@@KK@Z)

1>XMPFilesStaticRelease.lib(XMPFiles.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::ParseFromBuffer(char const *,unsigned long,unsigned long)" (?ParseFromBuffer@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V ?$allocator@D@2@@std@@@@QAEXPBDKK@Z)

1>XMPFilesStaticRelease.lib(XMPFiles_Impl.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl TXMPUtils<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::RemoveProperties(class TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > *,char const *,char const *,unsigned long)" (?RemoveProperties@?$TXMPUtils@V?$basic_string@DU?$char_traits@D@std@ @V?$allocator@D@2@@std@@@@SAXPAV?$TXMPMeta@V?$basic_string@DU?$char_tr aits@D@std@@V?$allocator@D@2@@std@@@@PBD1K@Z)

1>XMPFilesStaticRelease.lib(ID3_Support.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetLocalizedText(char const *,char const *,char const *,char const *,char const *,unsigned long)" (?SetLocalizedText@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@@QAEXPBD0000K@Z)

1>XMPFilesStaticRelease.lib(ID3_Support.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetLocalizedText(char const *,char const *,char const *,char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *,unsigned long *)const " (?GetLocalizedText@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@@QBE_NPBD000PAV?$basic_string@DU?$char_traits@ D@std@@V?$allocator@D@2@@std@@1PAK@Z)

1>XMPFilesStaticRelease.lib(ID3_Support.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetProperty_Int(char const *,char const *,long,unsigned long)" (?SetProperty_Int@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V ?$allocator@D@2@@std@@@@QAEXPBD0JK@Z)

1>XMPFilesStaticRelease.lib(ID3_Support.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetProperty(char const *,char const *,char const *,unsigned long)" (?SetProperty@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V?$al locator@D@2@@std@@@@QAEXPBD00K@Z)

1>XMPFilesStaticRelease.lib(ID3_Support.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetProperty(char const *,char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *,unsigned long *)const " (?GetProperty@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V?$al locator@D@2@@std@@@@QBE_NPBD0PAV?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@PAK@Z)

1>XMPFilesStaticRelease.lib(Scanner_Handler.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetProperty_Date(char const *,char const *,struct XMP_DateTime *,unsigned long *)const " (?GetProperty_Date@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@@QBE_NPBD0PAUXMP_DateTime@@PAK@Z)

1>XMPFilesStaticRelease.lib(FileHandlerInstance.obj) : error LNK2001: unresolved external symbol "public: __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >(char const *,unsigned long)" (??0?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@ 2@@std@@@@QAE@PBDK@Z)

1>XMPFilesStaticRelease.lib(P2_Handler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetProperty_Bool(char const *,char const *,bool,unsigned long)" (?SetProperty_Bool@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@@QAEXPBD0_NK@Z)

1>XMPFilesStaticRelease.lib(P2_Handler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetStructField(char const *,char const *,char const *,char const *,char const *,unsigned long)" (?SetStructField@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V? $allocator@D@2@@std@@@@QAEXPBD0000K@Z)

1>XMPFilesStaticRelease.lib(P2_Handler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetStructField(char const *,char const *,char const *,char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long)" (?SetStructField@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V? $allocator@D@2@@std@@@@QAEXPBD000ABV?$basic_string@DU?$char_traits@D@s td@@V?$allocator@D@2@@std@@K@Z)

1>XMPFilesStaticRelease.lib(P2_Handler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::AppendArrayItem(char const *,char const *,unsigned long,char const *,unsigned long)" (?AppendArrayItem@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V ?$allocator@D@2@@std@@@@QAEXPBD0K0K@Z)

1>XMPFilesStaticRelease.lib(P2_Handler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::AppendArrayItem(char const *,char const *,unsigned long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long)" (?AppendArrayItem@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V ?$allocator@D@2@@std@@@@QAEXPBD0KABV?$basic_string@DU?$char_traits@D@s td@@V?$allocator@D@2@@std@@K@Z)

1>XMPFilesStaticRelease.lib(P2_Handler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetProperty(char const *,char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long)" (?SetProperty@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V?$al locator@D@2@@std@@@@QAEXPBD0ABV?$basic_string@DU?$char_traits@D@std@@V ?$allocator@D@2@@std@@K@Z)

1>XMPFilesStaticRelease.lib(P2_Handler.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetStructField(char const *,char const *,char const *,char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *,unsigned long *)const " (?GetStructField@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V? $allocator@D@2@@std@@@@QBE_NPBD000PAV?$basic_string@DU?$char_traits@D@ std@@V?$allocator@D@2@@std@@PAK@Z)

1>XMPFilesStaticRelease.lib(P2_Handler.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetArrayItem(char const *,char const *,long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *,unsigned long *)const " (?GetArrayItem@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V?$a llocator@D@2@@std@@@@QBE_NPBD0JPAV?$basic_string@DU?$char_traits@D@std @@V?$allocator@D@2@@std@@PAK@Z)

1>XMPFilesStaticRelease.lib(MP3_Handler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetLocalizedText(char const *,char const *,char const *,char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,unsigned long)" (?SetLocalizedText@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@@QAEXPBD000ABV?$basic_string@DU?$char_traits@D @std@@V?$allocator@D@2@@std@@K@Z)

1>XMPFilesStaticRelease.lib(MP3_Handler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetProperty_Date(char const *,char const *,struct XMP_DateTime const &,unsigned long)" (?SetProperty_Date@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@@QAEXPBD0ABUXMP_DateTime@@K@Z)

1>XMPFilesStaticRelease.lib(MPEG4_Handler.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl TXMPUtils<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::ComposeArrayItemPath(char const *,char const *,long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?ComposeArrayItemPath@?$TXMPUtils@V?$basic_string@DU?$char_traits@D@ std@@V?$allocator@D@2@@std@@@@SAXPBD0JPAV?$basic_string@DU?$char_trait s@D@std@@V?$allocator@D@2@@std@@@Z)

1>XMPFilesStaticRelease.lib(MPEG4_Handler.obj) : error LNK2001: unresolved external symbol "public: long __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::CountArrayItems(char const *,char const *)const " (?CountArrayItems@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V ?$allocator@D@2@@std@@@@QBEJPBD0@Z)

1>XMPFilesStaticRelease.lib(MPEG4_Handler.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetProperty_Int64(char const *,char const *,__int64,unsigned long)" (?SetProperty_Int64@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@ @V?$allocator@D@2@@std@@@@QAEXPBD0_JK@Z)

1>XMPFilesStaticRelease.lib(MPEG4_Handler.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetProperty_Int64(char const *,char const *,__int64 *,unsigned long *)const " (?GetProperty_Int64@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@ @V?$allocator@D@2@@std@@@@QBE_NPBD0PA_JPAK@Z)

1>XMPFilesStaticRelease.lib(MPEG4_Handler.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetQualifier(char const *,char const *,char const *,char const *,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *,unsigned long *)const " (?GetQualifier@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V?$a llocator@D@2@@std@@@@QBE_NPBD000PAV?$basic_string@DU?$char_traits@D@st d@@V?$allocator@D@2@@std@@PAK@Z)

1>XMPFilesStaticRelease.lib(WAVEReconcile.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl TXMPUtils<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SeparateArrayItems(class TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > *,char const *,char const *,unsigned long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?SeparateArrayItems@?$TXMPUtils@V?$basic_string@DU?$char_traits@D@st d@@V?$allocator@D@2@@std@@@@SAXPAV?$TXMPMeta@V?$basic_string@DU?$char_ traits@D@std@@V?$allocator@D@2@@std@@@@PBD1KABV?$basic_string@DU?$char _traits@D@std@@V?$allocator@D@2@@std@@@Z)

1>XMPFilesStaticRelease.lib(WAVEReconcile.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl TXMPUtils<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::CatenateArrayItems(class TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > const &,char const *,char const *,char const *,char const *,unsigned long,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > *)" (?CatenateArrayItems@?$TXMPUtils@V?$basic_string@DU?$char_traits@D@st d@@V?$allocator@D@2@@std@@@@SAXABV?$TXMPMeta@V?$basic_string@DU?$char_ traits@D@std@@V?$allocator@D@2@@std@@@@PBD111KPAV?$basic_string@DU?$ch ar_traits@D@std@@V?$allocator@D@2@@std@@@Z)

1>XMPFilesStaticRelease.lib(ReconcileLegacy.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl TXMPUtils<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::DuplicateSubtree(class TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > const &,class TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > *,char const *,char const *,char const *,char const *,unsigned long)" (?DuplicateSubtree@?$TXMPUtils@V?$basic_string@DU?$char_traits@D@std@ @V?$allocator@D@2@@std@@@@SAXABV?$TXMPMeta@V?$basic_string@DU?$char_tr aits@D@std@@V?$allocator@D@2@@std@@@@PAV2@PBD222K@Z)

1>XMPFilesStaticRelease.lib(RIFF_Support.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::DoesArrayItemExist(char const *,char const *,long)const " (?DoesArrayItemExist@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std @@V?$allocator@D@2@@std@@@@QBE_NPBD0J@Z)

1>XMPFilesStaticRelease.lib(ASF_Support.obj) : error LNK2001: unresolved external symbol "public: static void __cdecl TXMPUtils<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SeparateArrayItems(class TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > *,char const *,char const *,unsigned long,char const *)" (?SeparateArrayItems@?$TXMPUtils@V?$basic_string@DU?$char_traits@D@st d@@V?$allocator@D@2@@std@@@@SAXPAV?$TXMPMeta@V?$basic_string@DU?$char_ traits@D@std@@V?$allocator@D@2@@std@@@@PBD1K1@Z)

1>XMPFilesStaticRelease.lib(ReconcileTIFF.obj) : error LNK2001: unresolved external symbol "public: void __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::SetProperty_Float(char const *,char const *,double,unsigned long)" (?SetProperty_Float@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@ @V?$allocator@D@2@@std@@@@QAEXPBD0NK@Z)

1>XMPFilesStaticRelease.lib(ReconcileTIFF.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetProperty_Int(char const *,char const *,long *,unsigned long *)const " (?GetProperty_Int@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@V ?$allocator@D@2@@std@@@@QBE_NPBD0PAJPAK@Z)

1>XMPFilesStaticRelease.lib(ReconcileTIFF.obj) : error LNK2001: unresolved external symbol "public: bool __thiscall TXMPMeta<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::GetProperty_Bool(char const *,char const *,bool *,unsigned long *)const " (?GetProperty_Bool@?$TXMPMeta@V?$basic_string@DU?$char_traits@D@std@@ V?$allocator@D@2@@std@@@@QBE_NPBD0PA_NPAK@Z)


Viewing all articles
Browse latest Browse all 801

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>