Hello,

today I tried to build recent svn version of podofo on Mandriva linux
(updated to the latest 64bit cooker version) and gcc (4.4.1) produced errors
because of missing "#include <cstdio>" in following files:

podofo/test/ContentParser/main.cpp
podofo/test/CreationTest/CreationTest.cpp
podofo/test/FilterTest/FilterTest.cpp
podofo/test/FormTest/FormTest.cpp
podofo/test/LargeTest/LargeTest.cpp
podofo/test/VariantTest/VariantTest.cpp
podofo/test/WatermarkTest/WatermarkTest.cpp
podofo/tools/podofoimgextract/ImageExtractor.cpp
podofo/tools/podofomerge/podofomerge.cpp
podofo/tools/podofopages/podofopages.cpp
podofo/tools/podofopdfinfo/podofopdfinfo.cpp
podofo/tools/podofotxt2pdf/podofotxt2pdf.cpp
podofo/tools/podofouncompress/podofouncompress.cpp
podofo/tools/podofoimpose/impositionplan.h

Error produced by gcc was like this:
[ 64%] Built target
podofo_static

Scanning dependencies of target
ContentParser

[ 65%] Building CXX object
test/ContentParser/CMakeFiles/ContentParser.dir/main.cpp.o

/opt2/svn/podofo/test/ContentParser/main.cpp: In function ‘void
usage()’:

/opt2/svn/podofo/test/ContentParser/main.cpp:92: error: ‘printf’ was not
declared in this scope
make[2]: *** [test/ContentParser/CMakeFiles/ContentParser.dir/main.cpp.o]
Error 1
make[1]: *** [test/ContentParser/CMakeFiles/ContentParser.dir/all] Error
2
make: *** [all] Error
2

[ 64%] Built target
podofo_static

[ 65%] Building CXX object
test/ContentParser/CMakeFiles/ContentParser.dir/main.cpp.o

/opt2/svn/podofo/test/ContentParser/main.cpp: In function ‘void
usage()’:

/opt2/svn/podofo/test/ContentParser/main.cpp:92: error: ‘printf’ was not
declared in this scope
make[2]: *** [test/ContentParser/CMakeFiles/ContentParser.dir/main.cpp.o]
Error 1
make[1]: *** [test/ContentParser/CMakeFiles/ContentParser.dir/all] Error
2
make: *** [all] Error 2

After adapting about mentioned files I sucesfully build podofo with gcc
4.4.1
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Podofo-users mailing list
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to