Re: [Podofo-users] Linking error while compiling PoDoFo under Windows
A PDF parsing, modification and creation library.
Brought to you by:
domseichter
|
From: Jacob H. <jac...@gm...> - 2008-08-21 10:10:57
|
I downloaded the SVN trunk, built the Visual Studio solution again using the
trunk source. When I compile I get 57 Errors, most link errors. The project
has automatically included the libs and the include directories necessary..
My errors:
Error 11 error LNK2001: unresolved external symbol "public: virtual unsigned
short __thiscall PoDoFo::PdfSimpleEncoding::GetCharCode(int)const "
(?GetCharCode@PdfSimpleEncoding@PoDoFo@@UBEGH@Z) PdfDifferenceEncoding.obj
Error 12 error LNK2001: unresolved external symbol "public: virtual unsigned
short __thiscall PoDoFo::PdfSimpleEncoding::GetCharCode(int)const "
(?GetCharCode@PdfSimpleEncoding@PoDoFo@@UBEGH@Z) PdfEncodingFactory.obj
Error 13 error LNK2001: unresolved external symbol "protected: virtual
unsigned short const * __thiscall
PoDoFo::PdfDocEncoding::GetToUnicodeTable(void)const "
(?GetToUnicodeTable@PdfDocEncoding@PoDoFo@@MBEPBGXZ)
PdfDifferenceEncoding.obj
Error 14 error LNK2001: unresolved external symbol "protected: virtual
unsigned short const * __thiscall
PoDoFo::PdfDocEncoding::GetToUnicodeTable(void)const "
(?GetToUnicodeTable@PdfDocEncoding@PoDoFo@@MBEPBGXZ) PdfEncodingFactory.obj
Error 15 error LNK2001: unresolved external symbol "public: virtual unsigned
short __thiscall PoDoFo::PdfIdentityEncoding::GetCharCode(int)const "
(?GetCharCode@PdfIdentityEncoding@PoDoFo@@UBEGH@Z) PdfDifferenceEncoding.obj
Error 16 error LNK2001: unresolved external symbol "public: virtual unsigned
short __thiscall PoDoFo::PdfIdentityEncoding::GetCharCode(int)const "
(?GetCharCode@PdfIdentityEncoding@PoDoFo@@UBEGH@Z) PdfEncodingFactory.obj
Error 17 error LNK2019: unresolved external symbol "public: double
__thiscall PoDoFo::PdfFontMetrics::StringWidth(unsigned short const
*,unsigned int)const " (?StringWidth@PdfFontMetrics@PoDoFo@@QBENPBGI@Z)
referenced in function "public: double __thiscall
PoDoFo::PdfFontMetrics::StringWidth(class PoDoFo::PdfString const &)const "
(?StringWidth@PdfFontMetrics@PoDoFo@@QBENABVPdfString@2@@Z)
PdfDifferenceEncoding.obj
Error 18 error LNK2001: unresolved external symbol "public: double
__thiscall PoDoFo::PdfFontMetrics::StringWidth(unsigned short const
*,unsigned int)const " (?StringWidth@PdfFontMetrics@PoDoFo@@QBENPBGI@Z)
PdfEncodingFactory.obj
Error 19 error LNK2001: unresolved external symbol "public: double
__thiscall PoDoFo::PdfFontMetrics::StringWidth(unsigned short const
*,unsigned int)const " (?StringWidth@PdfFontMetrics@PoDoFo@@QBENPBGI@Z)
PdfFontTTFSubset.obj
Error 20 error LNK2019: unresolved external symbol "public: __thiscall
PoDoFo::PdfString::PdfString(unsigned short const *,long)"
(??0PdfString@PoDoFo@@QAE@PBGJ@Z) referenced in function "public: virtual
class PoDoFo::PdfString __thiscall
PoDoFo::PdfDifferenceEncoding::ConvertToUnicode(class PoDoFo::PdfString
const &,class PoDoFo::PdfFont const *)const "
(?ConvertToUnicode@PdfDifferenceEncoding@PoDoFo@@UBE?AVPdfString@2
@ABV32@PBVPdfFont@2@@Z) PdfDifferenceEncoding.obj
Error 21 fatal error LNK1120: 5 unresolved externals
C:\PDF\src\Debug\podofo.dll 1
Error 22 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall PoDoFo::PdfString::PdfString(char const *,class
PoDoFo::PdfEncoding const * const)" (__imp_??0PdfString@PoDoFo
@@QAE@PBDQBVPdfEncoding@1@@Z) referenced in function "void __cdecl
HelloWorld(char const *)" (?HelloWorld@@YAXPBD@Z) helloworld.obj
Error 23 fatal error LNK1120: 1 unresolved externals
C:\PDF\examples\helloworld\Debug\helloworld.exe
Error 24 error C2065: 'uint' : undeclared identifier
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 98
Error 25 error C2146: syntax error : missing ';' before identifier 'i'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 98
Error 26 error C3861: 'i': identifier not found
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 98
Error 27 error C2143: syntax error : missing ')' before '++'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 98
Error 28 error C2059: syntax error : ';'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 98
Error 29 error C2059: syntax error : ')'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 98
Error 30 error C2143: syntax error : missing ';' before 'std::cerr'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 99
Error 33 error C2146: syntax error : missing ';' before identifier 'vi'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 186
Error 34 error C3861: 'vi': identifier not found
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 186
Error 35 error C2143: syntax error : missing ')' before '++'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 186
Error 36 error C2059: syntax error : ';'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 186
Error 37 error C2059: syntax error : ')'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 186
Error 38 error C2143: syntax error : missing ';' before '{'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 187
Error 39 error C2228: left of '.c_str' must have class/struct/union
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 224
Error 40 error C2146: syntax error : missing ';' before identifier 'vi'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 231
Error 41 error C3861: 'vi': identifier not found
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 231
Error 42 error C2143: syntax error : missing ')' before '++'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 231
Error 43 error C2059: syntax error : ';'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 231
Error 44 error C2059: syntax error : ')'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 231
Error 45 error C2143: syntax error : missing ';' before '{'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 232
Error 46 error C2146: syntax error : missing ';' before identifier 'numline'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 588
Error 47 error C3861: 'numline': identifier not found
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 588
Error 48 error C2143: syntax error : missing ')' before '++'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 588
Error 49 error C2059: syntax error : ';'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 588
Error 50 error C2059: syntax error : ')'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 588
Error 51 error C2143: syntax error : missing ';' before '{'
c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 589
Error 52 fatal error C1903: unable to recover from previous error(s);
stopping compilation c:\PDF\trunk\tools\podofoimpose\pdftranslator.cpp 667
Error 53 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall PoDoFo::PdfString::PdfString(char const *,class
PoDoFo::PdfEncoding const * const)" (__imp_??0PdfString@PoDoFo
@@QAE@PBDQBVPdfEncoding@1@@Z) referenced in function "void __cdecl draw(char
*,class PoDoFo::PdfDocument *)" (?draw@@YAXPADPAVPdfDocument@PoDoFo@@@Z)
podofotxt2pdf.obj
Error 54 fatal error LNK1120: 1 unresolved externals
C:\PDF\tools\podofotxt2pdf\Debug\podofotxt2pdf.exe
Error 55 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: class PoDoFo::PdfFont * __thiscall
PoDoFo::PdfMemDocument::GetFont(class PoDoFo::PdfObject *)"
(__imp_?GetFont@PdfMemDocument@PoDoFo@@QAEPAVPdfFont@2@PAVPdfObject@2@@Z)
referenced in function "private: void __thiscall
TextExtractor::ExtractText(class PoDoFo::PdfMemDocument *,class
PoDoFo::PdfPage *)" (?ExtractText@TextExtractor
@@AAEXPAVPdfMemDocument@PoDoFo@@PAVPdfPage@3@@Z) TextExtractor.obj
Error 56 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: class PoDoFo::PdfObject * __thiscall
PoDoFo::PdfPage::GetFromResources(class PoDoFo::PdfName const &,class
PoDoFo::PdfName const &)" (__imp_?GetFromResources@PdfPage@PoDoFo@
@QAEPAVPdfObject@2@ABVPdfName@2@0@Z) referenced in function "private: void
__thiscall TextExtractor::ExtractText(class PoDoFo::PdfMemDocument *,class
PoDoFo::PdfPage *)" (?ExtractText@TextExtractor
@@AAEXPAVPdfMemDocument@PoDoFo@@PAVPdfPage@3@@Z) TextExtractor.obj
Error 57 fatal error LNK1120: 2 unresolved externals
C:\PDF\tools\podofotxtextract\Debug\podofotxtextract.exe
Error 58 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall PoDoFo::PdfString::PdfString(char const *,long,bool,class
PoDoFo::PdfEncoding const * const)" (__imp_??0PdfString@PoDoFo
@@QAE@PBDJ_NQBVPdfEncoding@1@@Z) referenced in function "void __cdecl
testUnicode(void)" (?testUnicode@@YAXXZ) PdfString_Test.obj
Error 59 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall PoDoFo::PdfString::PdfString(char const *,class
PoDoFo::PdfEncoding const * const)" (__imp_??0PdfString@PoDoFo
@@QAE@PBDQBVPdfEncoding@1@@Z) referenced in function "void __cdecl
testUnicode(void)" (?testUnicode@@YAXXZ) PdfString_Test.obj
Error 60 fatal error LNK1120: 2 unresolved externals
C:\PDF\test\Debug\PdfString_Test.exe
Error 83 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall PoDoFo::PdfString::PdfString(char const *,class
PoDoFo::PdfEncoding const * const)" (__imp_??0PdfString@PoDoFo
@@QAE@PBDQBVPdfEncoding@1@@Z) referenced in function "void __cdecl
CreateComplexForm(class PoDoFo::PdfPage *,class PoDoFo::PdfStreamedDocument
*)" (?CreateComplexForm@@YAXPAVPdfPage@PoDoFo@@PAVPdfStreamedDocument@2@@Z)
FormTest.obj
Error 84 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall PoDoFo::PdfString::PdfString(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class PoDoFo::PdfEncoding const * const)"
(__imp_??0PdfString@PoDoFo@@QAE@ABV?$basic_string@DU?$char_traits@D@std@
@V?$allocator@D@2@@std@@QBVPdfEncoding@1@@Z) referenced in function "void
__cdecl FillTextField(class PoDoFo::PdfTextField &)" (?FillTextField@
@YAXAAVPdfTextField@PoDoFo@@@Z) FormTest.obj
Error 85 fatal error LNK1120: 2 unresolved externals
C:\PDF\test\FormTest\Debug\FormTest.exe
Error 86 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall PoDoFo::PdfString::PdfString(char const *,class
PoDoFo::PdfEncoding const * const)" (__imp_??0PdfString@PoDoFo
@@QAE@PBDQBVPdfEncoding@1@@Z) referenced in function "void __cdecl
LineTest(class PoDoFo::PdfPainter *,class PoDoFo::PdfPage *,class
PoDoFo::PdfDocument *)" (?LineTest@@YAXPAVPdfPainter@PoDoFo@@PAVPdfPage@2
@PAVPdfDocument@2@@Z) CreationTest.obj
Error 87 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall PoDoFo::PdfString::PdfString(wchar_t const *)"
(__imp_??0PdfString@PoDoFo@@QAE@PB_W@Z) referenced in function "void __cdecl
LineTest(class PoDoFo::PdfPainter *,class PoDoFo::PdfPage *,class
PoDoFo::PdfDocument *)" (?LineTest@@YAXPAVPdfPainter@PoDoFo@@PAVPdfPage@2
@PAVPdfDocument@2@@Z) CreationTest.obj
Error 88 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: double __thiscall PoDoFo::PdfFontMetrics::StringWidth(wchar_t const
*,unsigned int)const " (__imp_?StringWidth@PdfFontMetrics@PoDoFo@
@QBENPB_WI@Z) referenced in function "void __cdecl LineTest(class
PoDoFo::PdfPainter *,class PoDoFo::PdfPage *,class PoDoFo::PdfDocument *)"
(?LineTest@@YAXPAVPdfPainter@PoDoFo@@PAVPdfPage@2@PAVPdfDocument@2@@Z)
CreationTest.obj
Error 89 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: class PoDoFo::PdfFont * __thiscall
PoDoFo::PdfDocument::CreateFontSubset(char const *,bool,bool,class
PoDoFo::PdfEncoding const * const,char const *)"
(__imp_?CreateFontSubset@PdfDocument@PoDoFo@@QAEPAVPdfFont@2
@PBD_N1QBVPdfEncoding@2@0@Z) referenced in function "void __cdecl
LineTest(class PoDoFo::PdfPainter *,class PoDoFo::PdfPage *,class
PoDoFo::PdfDocument *)" (?LineTest@@YAXPAVPdfPainter@PoDoFo@@PAVPdfPage@2
@PAVPdfDocument@2@@Z) CreationTest.obj
Error 90 error LNK2019: unresolved external symbol "__declspec(dllimport)
public: __thiscall PoDoFo::PdfString::PdfString(class
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> > const &,class PoDoFo::PdfEncoding const * const)"
(__imp_??0PdfString@PoDoFo@@QAE@ABV?$basic_string@DU?$char_traits@D@std@
@V?$allocator@D@2@@std@@QBVPdfEncoding@1@@Z) referenced in function "void
__cdecl TableTest(class PoDoFo::PdfPainter *,class PoDoFo::PdfPage *,class
PoDoFo::PdfDocument *)" (?TableTest@@YAXPAVPdfPainter@PoDoFo@@PAVPdfPage@2
@PAVPdfDocument@2@@Z) CreationTest.obj
Error 91 fatal error LNK1120: 5 unresolved externals
C:\PDF\test\CreationTest\Debug\CreationTest.exe
|