Hello monks,

I'd like to know if anyone has successfully built Audio::Audiere under Win32. If so, how did you manage to do that?

When I try to nmake it, it compiles alright, but then I get tons of linker errors, like these:
Audiere_perl.obj : error LNK2019: unresolved external symbol "__declsp +ec(dllimport) public: void __thiscall std::_Mutex::_Unlock(void)" (__ +imp_?_Unlock@_Mutex@std@@QAEXXZ) referenced in function "public: __th +iscall std::basic_istream<unsigned short,struct std::char_traits<unsi +gned short> >::_Sentry_base::~_Sentry_base(void)" (??1_Sentry_base@?$ +basic_istream@GU?$char_traits@G@std@@@std@@QAE@XZ) Audiere_perl.obj : error LNK2019: unresolved external symbol "__declsp +ec(dllimport) public: void __thiscall std::_Mutex::_Lock(void)" (__im +p_?_Lock@_Mutex@std@@QAEXXZ) referenced in function "public: __thisca +ll std::basic_ostream<unsigned short,struct std::char_traits<unsigned + short> >::_Sentry_base::_Sentry_base(class std::basic_ostream<unsign +ed short,struct std::char_traits<unsigned short> > &)" (??0_Sentry_ba +se@?$basic_ostream@GU?$char_traits@G@std@@@std@@QAE@AAV12@@Z) Audiere_perl.obj : error LNK2019: unresolved external symbol "__declsp +ec(dllimport) public: void __thiscall std::locale::facet::_Register(v +oid)" (__imp_?_Register@facet@locale@std@@QAEXXZ) referenced in funct +ion "class std::ctype<char> const & __cdecl std::use_facet<class std: +:ctype<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@s +td@@@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z) Audiere_perl.obj : error LNK2019: unresolved external symbol "__declsp +ec(dllimport) public: void __thiscall std::locale::facet::_Incref(voi +d)" (__imp_?_Incref@facet@locale@std@@QAEXXZ) referenced in function +"class std::ctype<char> const & __cdecl std::use_facet<class std::cty +pe<char> >(class std::locale const &)" (??$use_facet@V?$ctype@D@std@@ +@std@@YAABV?$ctype@D@0@ABVlocale@0@@Z) Audiere_perl.obj : error LNK2019: unresolved external symbol "__declsp +ec(dllimport) public: static unsigned int __cdecl std::ctype<char>::_ +Getcat(class std::locale::facet const * *)" (__imp_?_Getcat@?$ctype@D +@std@@SAIPAPBVfacet@locale@2@@Z) referenced in function "class std::c +type<char> const & __cdecl std::use_facet<class std::ctype<char> >(cl +ass std::locale const &)" (??$use_facet@V?$ctype@D@std@@@std@@YAABV?$ +ctype@D@0@ABVlocale@0@@Z)

I'm not the most experienced "module builder" (although yesterday I managed to build Audio::Mad under Win32) so any help would be appreciated.

Alternatively, if there's really no way to build it, I could some suggest me any other audio playing modules which works under Win32 (note that Win32::Sound doesn't suit my needs) or, preferably, works under Win32 and Linux.

Thanks in advance.


acid06
perl -e "print pack('h*', 16369646), scalar reverse $="

In reply to Audio::Audiere on Win32 by acid06

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.