Hi all,

I'm trying to get Fontmatrix built with Podofo support. I can't seem to get
the required JPEG symbols compiled into libpodofo.a:

pd1...@athlux:/usr/local/lib$ nm libpodofo.a |grep jpeg
000024bf T _ZN6PoDoFo15jpeg_memory_srcEP22jpeg_decompress_structPKhj
000023fb t _ZN6PoDoFoL11init_sourceEP22jpeg_decompress_struct
000024ba t _ZN6PoDoFoL11term_sourceEP22jpeg_decompress_struct
0000245d t _ZN6PoDoFoL15skip_input_dataEP22jpeg_decompress_structl
00002400 t _ZN6PoDoFoL17fill_input_bufferEP22jpeg_decompress_struct
         U jpeg_CreateDecompress
         U jpeg_destroy_decompress
         U jpeg_read_header
         U jpeg_read_scanlines
         U jpeg_resync_to_restart
         U jpeg_start_decompress
         U jpeg_std_error
0000154a t _ZN6PoDoFoL13JPegErrorExitEP18jpeg_common_struct
         U jpeg_CreateDecompress
         U jpeg_destroy_decompress
         U jpeg_read_header
         U jpeg_start_decompress
         U jpeg_std_error
         U jpeg_stdio_src


When I try to build Fontmatrix, it predictably gives the following error at
compile time:

/usr/local/lib/libpodofo.a(PdfFiltersPrivate.cpp.o): In function
`PoDoFo::PdfDCTFilter::BeginDecodeImpl(PoDoFo::PdfDictionary const*)':
PdfFiltersPrivate.cpp:(.text+0x1f69): undefined reference to
`jpeg_std_error'
PdfFiltersPrivate.cpp:(.text+0x1f8d): undefined reference to
`jpeg_CreateDecompress'
/usr/local/lib/libpodofo.a(PdfFiltersPrivate.cpp.o): In function
`PoDoFo::PdfDCTFilter::EndDecodeImpl()':
PdfFiltersPrivate.cpp:(.text+0x20a1): undefined reference to
`jpeg_read_header'
PdfFiltersPrivate.cpp:(.text+0x20b8): undefined reference to
`jpeg_destroy_decompress'
PdfFiltersPrivate.cpp:(.text+0x2134): undefined reference to
`jpeg_start_decompress'
PdfFiltersPrivate.cpp:(.text+0x21b3): undefined reference to
`jpeg_read_scanlines'
PdfFiltersPrivate.cpp:(.text+0x23ef): undefined reference to
`jpeg_destroy_decompress'
/usr/local/lib/libpodofo.a(PdfFiltersPrivate.cpp.o): In function
`PoDoFo::jpeg_memory_src(jpeg_decompress_struct*, unsigned char const*,
unsigned int)':
PdfFiltersPrivate.cpp:(.text+0x2524): undefined reference to
`jpeg_resync_to_restart'
collect2: ld returned 1 exit status
make[2]: *** [src/fontmatrix] Error 1
make[1]: *** [src/CMakeFiles/fontmatrix.dir/all] Error 2
make: *** [all] Error 2

I am running Ubuntu Karmic Koala with libjpeg62 (6b-14build1). Would anyone
have a workaround for this?

Cheers,
Paul
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to