ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: herb on September 27, 2016, 04:15:41 AM

Title: Question to Perl on Windows
Post by: herb on September 27, 2016, 04:15:41 AM
Hello Phil,

I am developing a C++ application on a Win 7 system,  that works with Exiftool via pipes (-stay_open option), and during all tests I always used the windows exiftool.exe file.
Now I started also to test it against the Perl library.

Somewhere on your internet pages it is stated that only Perl 5.004 (or higher) has to be used.
So I installed CitrusPerl 5.16.3 for my tests. (I used this version because a friend had good experiences with it).

But I have seen the following differences: E.g.: Extracting embedded thumbnails of *.jpg images for all files in a directory.
In case of the directory name contains an unicode character
- Exiftool.exe works as expected but
- Perl.exe exiftool.pl gives the following error message: Could not open directory <dir>. 

Because of this, I think that I need an/some additional Perl package(s) to avoid this error message.
Is it ok e.g. to install latest version of ActiveState Perl, because (as far as I know) Exiftool uses it.
Or are also additional packages neccessary?

Thanks for your hints in advance.
Best regards
Herb
Title: Re: Question to Perl on Windows
Post by: Phil Harvey on September 27, 2016, 08:13:11 AM
Hi Herb,

Yes, you must install some optional Perl packages to get this to work.  See the README file for details.

- Phil
Title: Re: Question to Perl on Windows
Post by: herb on September 28, 2016, 05:20:29 AM
Hello Phil,

thanks for your quick reply.
I will try to learn more secrets of Perl.

Best regards
Herb