in reply to Re^4: Imager::File::TIFF Dependencies
in thread Imager::File::TIFF Dependencies

Thats hilarious

So are you going to post the log, the debug output, yes or no?

Replies are listed 'Best First'.
Re^6: Imager::File::TIFF Dependencies
by BrentD (Sexton) on May 25, 2017 at 16:09 UTC
    The log file of the ppsimple.pl compile is below. All 13,103 lines of it.

    Another user tested the code I posted and found the problem. We discovered that BOTH pp and ppsimple.pl miss some dependencies required by TIFF.xs.dll. On a system with perl installed, the resulting EXE works because the dependencies can be dynamically loaded from the perl install.

    The missing dependencies are:

    c:\strawberry\c\bin\LIBTIFF-5__.DLL
    c:\strawberry\c\bin\LIBJPEG-9__.DLL
    c:\strawberry\c\bin\LIBLZMA-5__.DLL
    c:\strawberry\c\bin\ZLIB1__.DLL

    There is no indication in the ppsimple.pl output that those files were needed. so the log wouldn't really have been helpful at all. The answer was having Dependency Walker profile the .exe and look for modules loaded at run-time.

    Here's the log generated by the command C:\Source_Repos\TestProg>ppsimple.pl errtest.pl 1> ppsimple.log 2>&1

      The log file of the ppsimple.pl compile is below. All 13,103 lines of it.

      Another user tested the code I posted and found the problem. We discovered that BOTH pp and ppsimple.pl miss some dependencies required by TIFF.xs.dll. On a system with perl installed, the resulting EXE works because the dependencies can be dynamically loaded from the perl install. The missing dependencies are: c:\strawberry\c\bin\LIBTIFF-5__.DLL c:\strawberry\c\bin\LIBJPEG-9__.DLL c:\strawberry\c\bin\LIBLZMA-5__.DLL c:\strawberry\c\bin\ZLIB1__.DLL There is no indication in the ppsimple.pl output that those files were needed. so the log wouldn't really have been helpful at all. The answer was having Dependency Walker profile the .exe and look for modules loaded at run-time.

      Hi,

      The last 500 lines of output from ppsimple have the call to pp and the output of pp.

      I'd be really interested to see libtiff et all missing from there, cause like thats the whole purpose of ppsimple