|
From: Stephen D. H. <shu...@uw...> - 2008-04-14 02:39:49
|
On 9-Apr-08, at 10:34 PM, Stephen D. Hudson wrote: >> I don't remember any special problems getting display settings >> working, but the sound was simply a matter of linking to the >> openal framework. Plib also provides a sound mechanism - does >> that not work for you either? Sorry I can't help much other than >> ask questions; hopefully other people with Macs will volunteer :) >> >> cheers >> Andrew > > Okay, maybe the problems aren't as bad as they look. It is > possible the display settings problem is due to a misplaced > configuration file, but I thought I had them all in the right > places. I'll post the errors I get with sound, maybe they can be > fixed too. There is a problem with conflicting class names that I > tried to fix. It is possible that I caused the second problem > while trying to fix this one. The second error was basically the > same for the OpenAL sound interface and the plib sound interface. The class SoundSource conflicts with a system framework that plib links against on Mac. I had renamed this to TorcsSoundSource but I didn't change all of the code where the class was instantiated and that was causing the problems. After correcting this, sound works. I can change display settings, but only if the application is launched from the terminal or from within XCode. If it is launched by Finder, it crashes when trying to apply the new settings. Apparently Finder does something funny with argv. Is anyone familiar with this? Steve |