From: Bjoern H. <der...@gm...> - 2011-10-29 21:25:10
|
* Alec Taylor wrote: >I've compiled and linked the poppler libraries with >C:/kde/lib/libpng14.lib and the /include set to C:/kde/3rdparty/libpng > >File+directory tree of C:/kde/lib = http://pastebin.com/axEvy1Ke >File+directory tree of C:/kde/3rdparty/libpng = http://pastebin.com/NW8XLdPp > >(in case I'm using the wrong include dir) >File+directory tree of C:/kde: >File+directory tree of C:/usr: http://pastebin.com/iwDPHtbm > >I have created a project using the libpng libraries entry point within >the poppler libraries. > >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 would use http://technet.microsoft.com/en-us/sysinternals/bb896645 to see if the executable actually attempts to load the right library and if it succeeds in doing so, and e.g. the `dumpbin` utility that comes with Visual Studio to see if the library actually exports the symbol. I note that you use forward slashes here, while Windows uses backslashes. That could be the problem; procmon should tell you that aswell, but it's easy to miss if you are not looking for it. -- Björn Höhrmann · mailto:bj...@ho... · http://bjoern.hoehrmann.de Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de 25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ |