Andrew Sumner | 10 Apr 2008 04:12
Picon
Favicon

Re: Updating the Mac OS X Port

Hi Steve,

I'm very glad you've taken this further - I was afraid after my
Mac died that the work we'd done was lost.

> I would like to know if it is worth trying to put together a fully 
> functional 1.3.0 package or if the focus should be on the CVS code 
> and a future release.

I believe, and the TORCS devs can correct me if I'm wrong, that
a new version will be released in the next few months, so perhaps
it'd be best to aim at a concurrent MacOSX release?  Also I agree
100% that the MacOSX code should be in CVS.

> I was able to build version 1.3.0 using only XCode.  It has some 
> problems: display settings can't be changed and sound doesn't work, 
> but at least I could drive around a track...

> I don't know how to tackle these problems, so it would be nice to 
> share the xcode project so other people can try to build it and take 
> a look.

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

-------------------------------------------------------------------------
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
Torcs-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/torcs-devel
Stephen D. Hudson | 10 Apr 2008 04:34
Picon

Re: Updating the Mac OS X Port

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. 

Quick question: Are people compiling Torcs on linux with gcc 4?

Cheers,

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
Torcs-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/torcs-devel
Stephen D. Hudson | 14 Apr 2008 04:39
Picon

Re: Updating the Mac OS X Port


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
Torcs-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/torcs-devel
Mart Kelder | 10 Apr 2008 08:33
Picon

Re: Updating the Mac OS X Port

Hi Steve (and others),

Op Thursday 10 April 2008 04:34:23 schreef Stephen D. Hudson:
> Quick question: Are people compiling Torcs on linux with gcc 4?

Yes, I use gcc-4.1.2.

Regards,

Mart

-------------------------------------------------------------------------
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
Annick et Jean-Philippe | 12 Apr 2008 22:49
Picon
Favicon

Re: Updating the Mac OS X Port

Hi Steve, and all.

> Quick question: Are people compiling Torcs on linux with gcc 4?

Yes, I use gcc 4.2.2 20070909 (prerelease) (on Mandriva 2008.0)

Regards,

Jean-Philippe

-------------------------------------------------------------------------
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

Gmane