From: Alec T. <ale...@gm...> - 2011-10-30 03:11:44
|
Wow, took 4 tries, but finally got it to work. Thanks :] On Sun, Oct 30, 2011 at 8:40 AM, John Bowler <joh...@gm...> wrote: > From: Alec Taylor [mailto:ale...@gm...] >>I've compiled and linked the poppler libraries with C:/kde/lib/libpng14.lib and the /include set to C:/kde/3rdparty/libpng > > If you really want to use the KDE private Windows build of libpng you need to talk to the KDE guys. > >>When I run the binary I get a msg box with this error: "The procedure entry point png_init_io >>could not be located in the dynamic link library <path to binary>", even though it's linked to the exact same library! > > I don't know how a KDE Windows build works, but it sounds like it is built without stdio support in the DLL yet with the corresponding entry points listed in the .lib. If so I think that's a KDE build error, but it's probably pretty easy to do particularly if they use the distributed libpng .def file, which contains all the exports. > >> Please help me get this utility compiled. > > Build libpng 1.4 yourself, or you could use 1.5; poppler 0.18.0 works with that (on UNIX systems). Alternatively you could attempt to patch poppler not to use stdio, but that might be a lot of work. > > John Bowler <jb...@ac...> > > > |