|P is for Practical|
Re^5: Audio::TagLib and Strawberry Perl - New Detailsby syphilis (Chancellor)
|on Aug 21, 2012 at 06:41 UTC||Need Help??|
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.
Update: #undef write (and #undef read), then change a "char**" declaration in iconv_wrap.h to "const char**" get me to:
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.