Well, never mind.  I just did a 100% fresh checkout of podofo (v1640), and
it builds fine.  So "make clean" does not make it as clean as I expected.

Code from my project (which simply uses podofo) now fails to compile.  I am
in the middle of other development work, so I am going to revert to podofo
svn rev 1600, and port my code to the new podofo later.  However, I suspect
that others will grumble about the API breakage...

There are four errors listed below.  The first indicates to me that the
method "PdfDocument::CreateFont(specific args)" is declared in the header
file, but not implemented.  I have not verified this hypothesis.  The other
three build errors are attempts to call methods that were declared in the
rev 1600 podofo API, but have since disappeared.


/home/djenkins/code/capybara/t1/tools/pdf-dump.cpp:100: undefined reference
to `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
collect2: error: ld returned 1 exit status
make: *** [output/pdf-dump] Error 1


lib/report/ReportBaseClass-pdf.cpp:58:15: error: 'const class
PoDoFo::PdfError' has no member named 'what'
    ._txt (err.what());
               ^

lib/report/state/Generic-SUTA-pdf.cpp: In member function 'double
Report_Generic_SUTA::_pdf_rpt_header(PoDoFo::PdfMemDocument*,
PoDoFo::PdfPainter&, double) const':
lib/report/state/Generic-SUTA-pdf.cpp:182:7: error: 'class
PoDoFo::PdfPainter' has no member named 'DrawRect'
  pntr.DrawRect (x1, y, w1, h1, r1, r1);
       ^

lib/pdf/pdf-tools.cpp: In function 'void
pdf_setAppearanceStreamCheckBox(PoDoFo::PdfCheckBox*)':
lib/pdf/pdf-tools.cpp:113:10: error: 'class PoDoFo::PdfPainter' has no
member named 'FillRect'
  painter.FillRect (0, xObjOff.GetPageSize().GetHeight(),
xObjOff.GetPageSize().GetWidth(), xObjOff.GetPageSize().GetHeight());
          ^




On Sun, Jun 15, 2014 at 9:44 PM, Dennis Jenkins <dennis.jenkins...@gmail.com
> wrote:

> SVN rev 1640 fails to build on my 64-bit Gentoo Linux system (building
> from SVN src, not from Gentoo portage).
>
> Until this evening, I was using SVN rev 1600.  When 1640 failed to build
> for me, I began a binary search to narrow down when the build first
> failed.  SVN rev 1612 builds for me, but with lots of warnings.  Rev 1613
> fails with some errors, but not like the errors, nor the amount of errors,
> as seen in the 1640 rev build.
>
> Please let me know if I can help you further.
>
> My testing methodology:
>
> djenkins@ostara ~/src/podofo/podofo-head $ svn info . | grep ^URL
> URL: http://svn.code.sf.net/p/podofo/code/podofo/trunk
>
> djenkins@ostara ~/src/podofo/podofo-head $ svn up -r 1613
>
> djenkins@ostara ~/src/podofo/podofo-head $ make clean && cmake . && make
> -j4 all test
>
>
>
> SVN REV 1640 build log:
>
> Linking CXX executable CreationTest
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
> `CreateUnicodeAnnotationFreeText(PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
> CreationTest.cpp:(.text+0x409): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
> const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
> `LineTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
> CreationTest.cpp:(.text+0xc76): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, bool, bool,
> PoDoFo::PdfEncoding const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool,
> char const*)'
> CreationTest.cpp:(.text+0xd33): undefined reference to
> `PoDoFo::PdfString::PdfString(wchar_t const*, long)'
> CreationTest.cpp:(.text+0xda6): undefined reference to
> `PoDoFo::PdfString::PdfString(wchar_t const*, long)'
> CreationTest.cpp:(.text+0xe95): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0xffa): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, bool, bool,
> PoDoFo::PdfEncoding const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool,
> char const*)'
> CreationTest.cpp:(.text+0x127a): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, bool, bool,
> PoDoFo::PdfEncoding const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool,
> char const*)'
> CreationTest.cpp:(.text+0x1510): undefined reference to
> `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
> bool, double, bool)'
> CreationTest.cpp:(.text+0x15af): undefined reference to
> `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
> bool, double, bool)'
> CreationTest.cpp:(.text+0x164e): undefined reference to
> `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
> bool, double, bool)'
> CreationTest.cpp:(.text+0x16ed): undefined reference to
> `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
> bool, double, bool)'
> CreationTest.cpp:(.text+0x178c): undefined reference to
> `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
> bool, double, bool)'
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o:CreationTest.cpp:(.text+0x182b):
> more undefined references to
> `PoDoFo::PdfPainter::SetStrokeStyle(PoDoFo::EPdfStrokeStyle, char const*,
> bool, double, bool)' follow
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
> `RectTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
> CreationTest.cpp:(.text+0x1ac9): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
> const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
> CreationTest.cpp:(.text+0x1c7e): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x1dff): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x1efb): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x1fe9): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x2100): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x2114): undefined reference to
> `PoDoFo::PdfPainter::FillAndStroke(bool)'
> CreationTest.cpp:(.text+0x2224): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x2238): undefined reference to
> `PoDoFo::PdfPainter::FillAndStroke(bool)'
> CreationTest.cpp:(.text+0x23d4): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
> `TextTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
> CreationTest.cpp:(.text+0x2614): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
> const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
> CreationTest.cpp:(.text+0x2900): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
> const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
> `ImageTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
> CreationTest.cpp:(.text+0x38cb): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
> const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
> CreationTest.cpp:(.text+0x39f4): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x3a08): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CreationTest.cpp:(.text+0x3a89): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x3c6b): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x3c7f): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
> `EllipseTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
> CreationTest.cpp:(.text+0x42e7): undefined reference to
> `PoDoFo::PdfPainter::Ellipse(double, double, double, double)'
> CreationTest.cpp:(.text+0x438f): undefined reference to
> `PoDoFo::PdfPainter::Ellipse(double, double, double, double)'
> CreationTest.cpp:(.text+0x43a3): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CreationTest.cpp:(.text+0x43cc): undefined reference to
> `PoDoFo::PdfFileSpec::PdfFileSpec(char const*, bool, PoDoFo::PdfDocument*,
> bool)'
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
> `XObjectTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
> CreationTest.cpp:(.text+0x463c): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x4650): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CreationTest.cpp:(.text+0x4781): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x4795): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CreationTest.cpp:(.text+0x48e3): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x48f7): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CreationTest.cpp:(.text+0x4927): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
> const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
> CreationTest.cpp:(.text+0x4a79): undefined reference to
> `PoDoFo::PdfPainter::Rectangle(double, double, double, double, double,
> double)'
> CreationTest.cpp:(.text+0x4a8d): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CreationTest.cpp:(.text+0x4abd): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
> const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
> `MMTest(PoDoFo::PdfPainterMM*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
> CreationTest.cpp:(.text+0x4f2d): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CreationTest.cpp:(.text+0x4fbe): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CreationTest.cpp:(.text+0x5011): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CreationTest.cpp:(.text+0x506b): undefined reference to
> `PoDoFo::PdfPainter::Fill(bool)'
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
> `TableTest(PoDoFo::PdfPainter*, PoDoFo::PdfPage*, PoDoFo::PdfDocument*)':
> CreationTest.cpp:(.text+0x5145): undefined reference to
> `PoDoFo::PdfDocument::CreateFont(char const*, bool, PoDoFo::PdfEncoding
> const*, PoDoFo::PdfFontCache::EFontCreationFlags, bool)'
> CMakeFiles/CreationTest.dir/CreationTest.cpp.o: In function
> `PoDoFo::PdfPainterMM::EllipseMM(long, long, long, long)':
> CreationTest.cpp:(.text._ZN6PoDoFo12PdfPainterMM9EllipseMMEllll[_ZN6PoDoFo12PdfPainterMM9EllipseMMEllll]+0x74):
> undefined reference to `PoDoFo::PdfPainter::Ellipse(double, double, double,
> double)'
> collect2: error: ld returned 1 exit status
> make[2]: *** [test/CreationTest/CreationTest] Error 1
> make[1]: *** [test/CreationTest/CMakeFiles/CreationTest.dir/all] Error 2
> make: *** [all] Error 2
>
>
>
>
> On Sun, Jun 15, 2014 at 12:20 PM, zyx <z...@litepdf.cz> wrote:
>
>> On Thu, 2014-06-05 at 17:17 +0200, zyx wrote:
>> > I'd like to include it in the next release. The merge will take some
>> > time, though. I'll announce when it's done (I'll be working on it
>> > mostly
>>  during weekends).
>>
>>
>>         Hi,
>> the changes from zyx_integration branch are committed to trunk now, it
>> ends at revision 1639. The zyx_integration branch is dead now.
>>
>> I'll give the trunk some testing during the next week, then I'd guess
>> it'll be ready for the 0.9.3 release. Any pre-release testing of the
>> svn trunk [1] will be appreciated.
>>         Bye,
>>         zyx
>>
>> [1] A svn command to get latest trunk code of PoDoFo is:
>>     $ svn co https://svn.code.sf.net/p/podofo/code/podofo/trunk
>> podofo-trunk
>>
>>
>> --
>> http://www.litePDF.cz                                 i...@litepdf.cz
>>
>>
>>
>> ------------------------------------------------------------------------------
>> HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
>> Find What Matters Most in Your Big Data with HPCC Systems
>> Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
>> Leverages Graph Analysis for Fast Processing & Easy Data Exploration
>> http://p.sf.net/sfu/hpccsystems
>> _______________________________________________
>> Podofo-users mailing list
>> Podofo-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/podofo-users
>>
>
>
------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to