Re: Updating the Mac OS X Port

"Stephen D. Hudson" <[email protected]>
Newsgroups gmane.games.torcs.devel
Message-ID <[email protected]>
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

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

_______________________________________________
Torcs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/torcs-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.