Hi,

I always pack everything inside FlightGear.app folder.
The OSG in Mac binary package includes frameworks (same as DLL or so) and 
plugins.
The GUI launcher calls a script (fgfs.sh) that sets DYLD_LIBRARY_PATH (same as 
LD_LIBRARY_PATH in linux) to specify plugin folders
before invoking fgfs.

The script look like:

#!/bin/bash
DYLD_LIBRARY_PATH=$PWD/plugins exec fgfs $*

If OSG detects plugins inside application folder, this script is not needed.
OSG does have such code but it doesn't seem working properly at this moment. 
maybe I need to write a patch for that.

Hope it helps.

On Nov 17, 2008, at 3:25 AM, Frederic Bouvier wrote:

> Tim Moore a écrit :
>> I'm happy to punt Windows and Mac issues to people who are knowledgeable 
>> about 
>> that. For Linux, should we try to build a binary release to an LSB standard?
>> http://ldn.linuxfoundation.org/lsb
>>
>
> For Windows users, I already provide builds that includes the complete
> collection of OpenSceneGraph DLLs and executable ( examples excluded ).
> The next step would be to update the Inno-setup script to install all
> that binaries in the bin folder.
>
> -Fred
>
> -- 
> Frédéric Bouvier
> http://my.fotolia.com/frfoto/   Photo gallery
> http://fgsd.sourceforge.net/    FlightGear Scenery Designer
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to