2007/6/8, Craig Ringer <[EMAIL PROTECTED]>:
> externals/required_libpodofo contains a version of PoDoFo that has been
> tested against the particular revision of podofobrowser you are using,
> and will work. I try to keep this in sync with podofo HEAD, but since we
> are regularly breaking source compatibility in PoDoFo as part of an
> effort to produce a cleaner, safer & more usable API podofobrowser won't
> always work against podofo HEAD.

Ah, I hadn't read that. Sorry. But
required_podofo doesn't compile:
> cmake -G "Unix Makefiles" -DCMAKE_INSTALL_PREFIX="/usr/local" 
> -DPODOFO_USE_VISIBILITY=1 ../podofobrowser/externals/required_libpodofo/
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
Both PODOFO_BUILD_SHARED and PODOFO_BUILD_STATIC set
  so disabling static library generation (CMake version < 2.5)
Using gcc specific compiler options
Found zlib headers in /usr/include, library at /usr/lib/libz.so
Found libjpeg headers in /usr/include, library at /usr/lib/libjpeg.so
Found ft2build.h in /usr/include
Found freetype.h in /usr/include
Found freetype library at /usr/lib/libfreetype.so
Found freetype library at /usr/lib/libfreetype.so
Found STLPort headers in LIBSTLPORT_HEADERS-NOTFOUND
Found STLPort library in LIBSTLPORT_LIB-NOTFOUND
Found fontconfig.h at /usr/include/fontconfig/fontconfig.h
Found fontconfig library at /usr/lib/libfontconfig.so
Building shared PoDoFo library
PDEBUG: USING_SHARED_PODOFO: TRUE
PDEBUG: PODOFO_DEPEND_TARGET: podofo_shared
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ms/tex/pdftex/podofo/podofo-build
...
[ 12%] Building CXX object src/CMakeFiles/podofo_shared.dir/PdfDestination.o
/usr/bin/c++   -Dpodofo_shared_EXPORTS   -fPIC
-I/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src
-I/usr/include/fontconfig   -std=c++98 -Wall -Woverloaded-virtual
-Wswitch-enum -Wfloat-equal -Wcast-qual -Wwrite-strings
-Wredundant-decls -Wreorder -Wold-style-cast -W
-DHAVE_GCC_SYMBOL_VISIBILITY -fvisibility=hidden
-DPODOFO_HAVE_JPEG_LIB -DHAVE_FONTCONFIG -o
src/CMakeFiles/podofo_shared.dir/PdfDestination.o -c
/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src/PdfDestination.cpp
In file included from
/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src/PdfFontCache.h:26,
                 from
/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src/PdfDocument.h:25,
                 from
/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src/PdfDestination.cpp:25:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h:
Datei oder Verzeichnis nicht gefunden
In file included from
/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src/PdfDocument.h:25,
                 from
/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src/PdfDestination.cpp:25:
/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src/PdfFontCache.h:27:10:
error: #include expects "FILENAME" or <FILENAME>
/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src/PdfFontCache.h:90:
error: expected ';' before '(' token
/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src/PdfFontCache.h:117:
error: 'FT_Library' does not name a type
/home/ms/tex/pdftex/podofo/podofobrowser/externals/required_libpodofo/src/PdfDocument.h:211:
error: expected ';' before '(' token
make[2]: *** [src/CMakeFiles/podofo_shared.dir/PdfDestination.o] Error 1
make[2]: Leaving directory `/home/ms/tex/pdftex/podofo/podofo-build'
make[1]: *** [src/CMakeFiles/podofo_shared.dir/all] Error 2
make[1]: Leaving directory `/home/ms/tex/pdftex/podofo/podofo-build'
make: *** [all] Error 2

Best
   Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to