pdflib seems to have done the trick indeed! For those looking to do the same on OS X, I had to build pdflib off MacPorts, then run "configure;make", and then cd into the 'src' folder and execute 'make gfx2gfx' there to glue the binary together. It can then be used to convert SWF files to PDF with: "gfx2gfx 123.swf -o 123.pdf".
Thanks guys! D On 2011-01-21, at 12:12 PM, Ricardo Pedroso wrote: > On Fri, Jan 21, 2011 at 4:54 PM, Dmitry Kichenko > <[email protected]> wrote: >> Thanks to you and Matthias for the help! Currently, it looks like I'm >> stumbling on the same stone trying to follow either advice. In both cases, >> when compiling gfx2gfx and pdf2pdf, I get an undefined symbol >> "gfxdevice_pdf_init", which is defined just fine in lib/devices/pdf.h and >> included in both gfx2gfx.c and pdf2pdf.c. Just to check, I tried copying the >> function header right in the body of gfx2gfx but it still complains it >> doesn't know about it. >> >> I'm certain it's something stupid.. :/ >> > > I think pdflib is missing in your system. > > This one works for me: > http://www.pdflib.com/download/pdflib-family/pdflib-lite-7/ > > After installing I think you need to do: > ./configure > make > > Ricardo
