|
From: Jin.Chengde <jin...@gm...> - 2011-04-06 14:19:20
|
On 04/05/2011 09:15 PM, Roland Häder wrote: > I use a prefix and out-of-source tree builds to install plib/osg/sg and > fgfs itself. > > Here is plib configuration: > ---------------------------- > ../../plib/configure --prefix=/opt > ---------------------------- > > Here is how I configured sg: > ---------------------------- > ../../simgear/configure --with-jpeg-factory --prefix=/opt > --with-osg=/opt > ---------------------------- > > And finally fgfs: > ---------------------------- > ../../fgfs-base/flightgear/configure --with-osg=/opt --with-eventinput \ > --with-logging --enable-osgviewer --enable-sp-fdms --prefix=/opt \ > --datarootdir=/opt/fgdata > ---------------------------- > > This assumes that OSG is installed with same prefix "/opt". > > You should really do out-of-source tree builds to keep your "working > copy" (there where you checked out the code from repository) clean from > modifications done by configure. > > This can be really easy archived by creating a separate "build" > directory which is outside of the source code tree. > > Regards, > Roland > > On Tue, 2011-04-05 at 21:58 +0800, Jin.Chengde wrote: >> I put the simgear folder in the path of >> /home/kent/FlightGear/simgear/include and make it >> then configure the FlightGear source code >> ./configure --with-simgear=/home/kent/FlightGear/simgear >> then make > > > ------------------------------------------------------------------------------ > Xperia(TM) PLAY > It's a major breakthrough. An authentic gaming > smartphone on the nation's most reliable network. > And it wants your games. > http://p.sf.net/sfu/verizon-sfdev > > > _______________________________________________ > Flightgear-devel mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flightgear-devel Thanks, Roland Häder: but you use ../../fgfs-base/flightgear/configure --with-osg=/opt --with-eventinput \ --with-logging --enable-osgviewer --enable-sp-fdms --prefix=/opt \ --datarootdir=/opt/fgdata to configure your flightgear last, but where is your simgear? do you special your simgear folder or just make install it in default folder(/opt)? |