acid06 has asked for the wisdom of the Perl Monks concerning the following question:

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 $="

Replies are listed 'Best First'.
Re: Audio::Audiere on Win32
by holli (Abbot) on Mar 26, 2005 at 15:26 UTC
      Thanks.
      Lately I've been so frustrated with PPM that I forgot to try it.

      However, if anyone knows what I should've done in order to compile it, I'll still be glad to hear it (maybe this can be useful to me (or someone else who happens to find this node) in the future).

      Update: typo


      acid06
      perl -e "print pack('h*', 16369646), scalar reverse $="
Re: Audio::Audiere on Win32
by Joost (Canon) on Mar 26, 2005 at 14:56 UTC
Re: Audio::Audiere on Win32
by Anonymous Monk on Mar 27, 2005 at 00:41 UTC
    When I try to nmake it, it compiles alright, but then I get tons of linker errors, like these
    You need to provide everything printed to the screen from perl Makefile.PL up until the point it fails. Don't forget to make realclean first.