Re: [Flightgear-devel] Linking 'fgfs' on FreeBSD

2006-11-07 Thread Norman Vine
Andy Ross writes: > > Martin Spott wrote: > > Think of some application that needs - just as a stupid > example - > only functions from libosgText but none from libosgSim ? > > Actually, here's a better explanation: let's call that > application "FlightGear" and say that it requires functions

Re: [Flightgear-devel] Linking 'fgfs' on FreeBSD

2006-11-07 Thread Andy Ross
Martin Spott wrote: > Think of some application that needs - just as a stupid example - > only functions from libosgText but none from libosgSim ? Actually, here's a better explanation: let's call that application "FlightGear" and say that it requires functions from osgUtil, osgSim and osgDB, bu

Re: [Flightgear-devel] Linking 'fgfs' on FreeBSD

2006-11-07 Thread Andy Ross
Martin Spott wrote: > I guess the intention is to allow developers to link only the libraries > whose functions they actually call. Think of some application that > needs - just as a stupid example - only functions from libosgText but > none from libosgSim ? What would be the benefit of that i

Re: [Flightgear-devel] Linking 'fgfs' on FreeBSD

2006-11-07 Thread Martin Spott
Andy Ross wrote: > Martin Spott wrote: > > I had to make the following change in order to get the 'fgfs' binary > > linked on FreeBSD. 'libosgSim' apparently references some functions > > like "osgText::readFontFile" which areimplemented in 'libosgText' > Which begs the question: why on earth d

Re: [Flightgear-devel] Linking 'fgfs' on FreeBSD

2006-11-07 Thread Martin Spott
Martin Spott wrote: > I had to make the following change in order to get the 'fgfs' binary > linked on FreeBSD. 'libosgSim' apparently references some functions > like "osgText::readFontFile" which areimplemented in 'libosgText' - so > put the latter into the linker command as well: Did I tell you

Re: [Flightgear-devel] Linking 'fgfs' on FreeBSD

2006-11-07 Thread Andy Ross
Martin Spott wrote: > I had to make the following change in order to get the 'fgfs' binary > linked on FreeBSD. 'libosgSim' apparently references some functions > like "osgText::readFontFile" which areimplemented in 'libosgText' Which begs the question: why on earth does OSG insist on installin

[Flightgear-devel] Linking 'fgfs' on FreeBSD

2006-11-07 Thread Martin Spott
I had to make the following change in order to get the 'fgfs' binary linked on FreeBSD. 'libosgSim' apparently references some functions like "osgText::readFontFile" which areimplemented in 'libosgText' - so put the latter into the linker command as well: --- src/Main/Makefile.am~ Tue Nov 7