in reply to
Re^4: Audio::TagLib and Strawberry Perl - New Details
in thread Audio::TagLib and Strawberry Perl
Yeah, got it.
I just had to append "/taglib" to the "-IC:/MinGW/msys/1.0/local/include" argument I had supplied in the Makefile.PL.
Unfortunately there's now a write() function in ostream that's getting #define'd to "PerlIO_write" ... which breaks the build.
Have to see if I can undef something somewhere and fix that.
Cheers,
Rob
Update: #undef write (and #undef read), then change a "char**" declaration in iconv_wrap.h to "const char**" get me to:
c:\mingw\bin\../lib/gcc/mingw32/4.5.2/include/c++/streambuf:569:7: err
+or: expected ')' before '*' token
which means what ? ... that the file is being parsed as a C file instead of a C++ file ? ... but afaict there has been no invocation of gcc - only g++ has been invoked.
I'm probably not ready for C++ and (God willing), I hope I never bloody-well am.
When I build taglib, I find that there's also a libtag_c.dll and libtag_c.dll.a produced - which, I assume, are the C versions of the library. It's a pity that Audio::TagLib doesn't build against that C library instead.