Hi, The output does not give me much information. But it seems like the PDF is almost completely created as PoDoFo is already writing the XREF section of the PDF which is usually one of the last steps.
To really be able to help you, I need some kind of backtrace though.
I am not CMake expert but at a first glance the CMakeList.txt should be fine.
best regards,
Dom
Am Thursday 09 August 2007 schrieb Prashanth Udupa:
> Hi All,
>
> I compiled PoDoFo 0.5 on my Windows Vista box with MSVC2005. I compiled
> freetype 2.3.5 from its sources on my computer, used a standard copy of
> ZLIB (which is working with my other programs). Then I compiled PoDoFo and
> got the DLL and LIB files right. But when I run the example program, I
> notice that it crashes with the following debug messages.
>
> DEBUG: kidsIndex=-1
> DEBUG: New pages count:1
> DEBUG: Writing XRef section: 0 11
>
> I must say that I am using a custom CMakeLists.txt file to compile PoDoFo,
> along with the rest of targets in my project that depend on it.
> ---------------------------------------------------------------------------
>------------------------------------------------------------------------
> PROJECT(PoDoFo)
>
> INCLUDE_DIRECTORIES(BEFORE
> ${PoDoFo_SOURCE_DIR}/dependencies/freetype/include
> ${PoDoFo_SOURCE_DIR}/dependencies/zlib/include
> ${PoDoFo_SOURCE_DIR}/src/
> )
>
> LINK_DIRECTORIES(
> ${PoDoFo_SOURCE_DIR}/dependencies/freetype/objs
> ${PoDoFo_SOURCE_DIR}/dependencies/zlib/objs
> )
>
> # Ws2_32 is for htons and related functions declared in Winsock2.h
> # freetype and zdll are podofo dependencies
> LINK_LIBRARIES(freetype235 zdll Ws2_32)
>
> ADD_DEFINITIONS(-DCOMPILING_SHARED_PODOFO)
>
> ADD_LIBRARY(podofo SHARED
> src/PdfTokenizer.cpp
> src/PdfOutputDevice.cpp
> src/PdfDestination.cpp
> src/PdfPainterMM.cpp
> src/PdfParser.cpp
> src/PdfReference.cpp
> src/PdfDictionary.cpp
> src/PdfPainter.cpp
> src/PdfVariant.cpp
> src/PdfStreamedDocument.cpp
> src/PdfXRef.cpp
> src/PdfInputStream.cpp
> src/PdfObject.cpp
> src/PdfString.cpp
> src/PdfCanvas.cpp
> src/PdfDataType.cpp
> src/PdfPage.cpp
> src/PdfAction.cpp
> src/PdfArray.cpp
> src/PdfPagesTree.cpp
> src/PdfName.cpp
> src/PdfImage.cpp
> src/PdfRefCountedBuffer.cpp
> src/PdfNamesTree.cpp
> src/PdfEncrypt.cpp
> src/PdfElement.cpp
> src/PdfInfo.cpp
> src/PdfXObject.cpp
> src/PdfLocale.cpp
> src/PdfOutputStream.cpp
> src/PdfOutlines.cpp
> src/PdfAcroForm.cpp
> src/PdfData.cpp
> src/PdfDocument.cpp
> src/PdfDate.cpp
> src/PdfImmediateWriter.cpp
> src/PdfHintStream.cpp
> src/PdfXRefStream.cpp
> src/PdfField.cpp
> src/PdfFilter.cpp
> src/PdfFileSpec.cpp
> src/PdfFontMetrics.cpp
> src/PdfContents.cpp
> src/PdfFont.cpp
> src/PdfFiltersPrivate.cpp
> src/PdfExtGState.cpp
> src/PdfAnnotation.cpp
> src/PdfWriter.cpp
> src/PdfInputDevice.cpp
> src/PdfParserObject.cpp
> src/PdfVecObjects.cpp
> src/PdfError.cpp
> src/PdfFontCache.cpp
> src/PdfMemStream.cpp
> src/PdfFileStream.cpp
> src/PdfStream.cpp
> src/PdfRect.cpp
> src/PdfRefCountedInputDevice.cpp
> )
> ---------------------------------------------------------------------------
>------------------------------------------------------------------------
>
>
> Please help.
--
**********************************************************************
Dominik Seichter - [EMAIL PROTECTED]
KRename - http://www.krename.net - Powerful batch renamer for KDE
KBarcode - http://www.kbarcode.net - Barcode and label printing
PoDoFo - http://podofo.sf.net - PDF generation and parsing library
SchafKopf - http://schafkopf.berlios.de - Schafkopf, a card game, for KDE
Alan - http://alan.sf.net - A Turing Machine in Java
**********************************************************************
pgpTrSh2SqOyi.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
