On 5 May 2010, at 13:36, HB-GRAL wrote:

> James Turner schrieb:
>> - grab ALUT.framework from here:
>>      http://files.goneabitbursar.com/fg/alut-osx-universal.zip
>>      (temporary location)
> 
> I have a own freealut 1.1.0 compiled/installed for i386. Do I have to 
> replace this one with your framework/universal?

Yes, probably - we're trying to get away from the situation where each Mac 
developer needs to come up with their own solution to this problem. The code in 
the framework I mentioned should be exactly the same code as your freealut 
1.1.0, just packaged as a framework.

>> - put the framework somewhere sensible, probably /Library/Frameworks is 
>> easiest
> 
> I have tried this and SimGear/SoundManager compiles without problems. 
> Also with my own freealut/alut.h.
> 
>> 
>> - If you are using autoconf/automake, you will need to add -framework ALUT 
>> to someplace; I haven't made the autoconf changes yet since I wanted to get 
>> some feedback on the code parts of the change before we completely commit to 
>> this new approach (if you use Tat's XCode projects, you will need to adjust 
>> things too, but I assume that is obvious)
> 
> I do not use XCode and I found the link to a new needed precompiled 
> framework in your CVS log message by accident ;-)

Well, that's why the message is there :)

Unfortunately these kind of changes are hard to make 'smooth', especially when 
everybody has made their own work-around for the past problems. Also part of 
the excitement of using CVS!

> 
> Now my FG CVS is broken at the moment and does not compile anymore. But 
> I will give it another try with your hints.

Just to be clear, are the compile problems are caused by my changes, or 
something else? If you have an *unmodified* Simgear from latest CVS (a problem 
right now, since the CVS server is broken) I would expect it to compile with 
just some simple changes to configure.ac:

add '-framework ALUT' to libs:

        LIBS="$LIBS -framework IOKit -framework OpenAL -framework ALUT"   

The check below for --with-openal-framework needs to be fixed, since it should 
probably be renamed to --with-alut-framework, now that people can hopefully 
always use the official Apple OpenAL.

Hope that all makes sense, let me know if you need more help.

Regards,
James


------------------------------------------------------------------------------
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to