Is HAVE_CANBERRA defined as 1 in config.h? If not, configure doesn't find libcanberra. If it is, can you send me your modified sound.c. If that looks right, I guess you have to setup libcanberra in some way, libcanberra is mainly tested for linux.
Christian. On Fri, Jan 15, 2010 at 11:50 AM, Louis Zulli <zul...@lafayette.edu> wrote: > I'd like to build a 64-bit gnubg on OS X 10.6.2 Snow Leopard. So I can't use > the QuickTime framework, which isn't 64-bit. I've built all the gnubg > dependencies as 64-bit, including libcanberra (used MacPorts). > What modifications to the gnubg source are needed to use libcanberra instead > of QuickTime? I modified sound.c in what seemed the obvious ways, but I get > no sound at all. Probably missing something easy. > Thanks, > Louis > By the way, this came up before, but I don't know what became of it. From > Mike Petch, I think: > > Okay, I have had caffeine and here is the answer to our question (it was in > a > macports thread): > > "Quicktime/mov file support is removed due to Carbon QuickTime framework > being 32 bit only. As far as I can gather the only way to fix this without > forcing a 32 bit compile of the library (which would be useless for linking > other 64 bit ports against) would be to re-write the Mac OS specific parts > of the library to use the Cocoa x64 framework equivalents (if possible)." > > It makes me wonder if we could build libcanberra with OS/X macports and use > that to play sounds, allowing us to remove all the Apple OS/X > specific sound > code. The other option is the check for 64 Bit OS/X and put ifdefs in for > the Cocoa x64 format. Maybe for the time being just turn sound off? > > Clearly this is Snow Leopard and x64 related. > > _______________________________________________ > Bug-gnubg mailing list > Bug-gnubg@gnu.org > http://lists.gnu.org/mailman/listinfo/bug-gnubg > > _______________________________________________ Bug-gnubg mailing list Bug-gnubg@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnubg