Dominik, I just had a thought. When I'm building podofo, I'm doing it on a linux box that does NOT already have it installed. "/usr/local/include" lacks any podofo headers. Maybe its working on your server because g++ is finding your installed headers and not failing to (mis)find the shipped ones.
?? On Sun, Mar 6, 2011 at 6:27 PM, dennis jenkins <[email protected]> wrote: > [ 31%] Building CXX object > src/CMakeFiles/podofo_static.dir/base/PdfXRefStreamParserObject.cpp.o > cd /home/djenkins/code/podofo/src && /usr/bin/c++ > -I/home/djenkins/code/podofo -I/home/djenkins/code/podofo/src > -I/usr/include/freetype2 -std=c++98 -Wall -Woverloaded-virtual > -Wswitch-enum -Wcast-qual -Wwrite-strings -Wredundant-decls -Wreorder > -Wold-style-cast -W -DBUILDING_PODOFO -o > CMakeFiles/podofo_static.dir/base/PdfXRefStreamParserObject.cpp.o -c > /home/djenkins/code/podofo/src/base/PdfXRefStreamParserObject.cpp > /usr/bin/cmake -E cmake_progress_report /home/djenkins/code/podofo/CMakeFiles > [ 31%] Building CXX object > src/CMakeFiles/podofo_static.dir/doc/PdfAcroForm.cpp.o > cd /home/djenkins/code/podofo/src && /usr/bin/c++ > -I/home/djenkins/code/podofo -I/home/djenkins/code/podofo/src > -I/usr/include/freetype2 -std=c++98 -Wall -Woverloaded-virtual > -Wswitch-enum -Wcast-qual -Wwrite-strings -Wredundant-decls -Wreorder > -Wold-style-cast -W -DBUILDING_PODOFO -o > CMakeFiles/podofo_static.dir/doc/PdfAcroForm.cpp.o -c > /home/djenkins/code/podofo/src/doc/PdfAcroForm.cpp > In file included from /home/djenkins/code/podofo/src/doc/PdfAcroForm.cpp:21: > /home/djenkins/code/podofo/src/doc/PdfAcroForm.h:24:36: error: > podofo/base/PdfDefines.h: No such file or directory > In file included from /home/djenkins/code/podofo/src/doc/PdfAcroForm.h:25, > from /home/djenkins/code/podofo/src/doc/PdfAcroForm.cpp:21: > /home/djenkins/code/podofo/src/doc/PdfElement.h:25:35: error: > podofo/base/PdfObject.h: No such file or directory > In file included from /home/djenkins/code/podofo/src/doc/PdfAcroForm.cpp:27: > /home/djenkins/code/podofo/src/doc/PdfDocument.h:27:35: error: > podofo/base/PdfParser.h: No such file or directory > /home/djenkins/code/podofo/src/doc/PdfDocument.h:28:35: error: > podofo/base/PdfWriter.h: No such file or directory > In file included from /home/djenkins/code/podofo/src/doc/PdfDocument.h:31, > from /home/djenkins/code/podofo/src/doc/PdfAcroForm.cpp:27: > > > (many more errors omitted). > > Some research: > djenkins@ostara ~/code/podofo $ find . -name "PdfDefines.h" > ./src/base/PdfDefines.h > > Its looking in "podofo/base", but the header is really in "src/base". > > > > > > On Sun, Mar 6, 2011 at 3:44 PM, Dominik Seichter <[email protected]> wrote: >> Hi Dennis, >> >> Hmm, it compiles for me. >> >> Can you please send the output of "VERBOSE=1 make" ? >> Seems like I messed up something with the include directories ... >> >> Thanks, >> Dominik >> >> On Sunday, March 06, 2011 09:58:27 pm dennis jenkins wrote: >>> Hello Dominik, >>> >>> On my up-to-date Gentoo dev box, I am unable to compile the latest >>> SVN checkout of podofo (svn v 1427). I can reproduce as follows: >>> >>> $ rm -rf podofo >>> $ svn co https://podofo.svn.sourceforge.net/svnroot/podofo/podofo/trunk >>> podofo $ cd podofo >>> $ svn info . # shows version 1427 >>> $ cmake -G "Unix Makefiles" >>> $ make >>> >>> The compile dies here: >>> >>> In file included from >>> /home/djenkins/code/podofo/src/doc/PdfAcroForm.cpp:21: >>> /home/djenkins/code/podofo/src/doc/PdfAcroForm.h:24:36: error: >>> podofo/base/PdfDefines.h: No such file or directory >>> >>> >>> (lots more errors omitted). Hopefully this is enough info for you to >>> reproduce, or tell me what I've done incorrectly. Thank you for your >>> time. >>> >>> On Sun, Mar 6, 2011 at 12:11 PM, Dominik Seichter <[email protected]> >> wrote: >>> > Hi, >>> > >>> > I changed the build system so that only one library is build again. This >>> > reverts the previous change where PoDoFo was split into two libraries >>> > podofo- base and podofo-doc. Now, there is only one library libpodofo or >>> > podofo.dll. >>> > >>> > I reverted the change because of major linkage problems, which caused for >>> > example crashes in PdfMemDocument. This and other reasons kept many >>> > people from switching to trunk and to the latest version of PoDoFo. >>> > These problem should all be gone and if you refused to upgrade, it should >>> > be safe now. >>> > >>> > This is the basis for the upcoming PoDoFo 0.9.0 release, which I intend >>> > to release next week. >>> > >>> > Please report any probles you encounter due to this change! >>> > >>> > Regards, >>> > Dom >>> > >>> > -- >>> > Dominik Seichter - [email protected] - http://domseichter.blogspot.com >>> > 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 >>> > >>> > ------------------------------------------------------------------------- >>> > ----- What You Don't Know About Data Connectivity CAN Hurt You >>> > This paper provides an overview of data connectivity, details >>> > its effect on application quality, and explores various alternative >>> > solutions. http://p.sf.net/sfu/progress-d2d >>> > _______________________________________________ >>> > Podofo-users mailing list >>> > [email protected] >>> > https://lists.sourceforge.net/lists/listinfo/podofo-users >>> >>> --------------------------------------------------------------------------- >>> --- What You Don't Know About Data Connectivity CAN Hurt You >>> This paper provides an overview of data connectivity, details >>> its effect on application quality, and explores various alternative >>> solutions. http://p.sf.net/sfu/progress-d2d >>> _______________________________________________ >>> Podofo-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/podofo-users >> > ------------------------------------------------------------------------------ What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d _______________________________________________ Podofo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/podofo-users
