Yes, there was some discussion a while back about adding the boost dependency.  There should be prebuilt boost packages for most linux distributions.



On Sun, Apr 26, 2009 at 3:51 PM, John Wojnaroski wrote:
I'm asking the same question again. :-(

Started a build of the CVS on an older 32-bit machine and wound up in
the same place

clude -DPKGLIBDIR=\"/usr/local/share/FlightGear\" -g -O2 -D_REENTRANT
-MT fg_os_osgviewer.o -MD -MP -MF ".deps/fg_os_osgviewer.Tpo" -c -o
fg_os_osgviewer.o fg_os_osgviewer.cxx; \
then mv -f ".deps/fg_os_osgviewer.Tpo" ".deps/fg_os_osgviewer.Po"; else
rm -f ".deps/fg_os_osgviewer.Tpo"; exit 1; fi
fg_os_osgviewer.cxx:32:29: error: boost/foreach.hpp: No such file or

It appears that FlightGear > 1.0 has added another dependency requiring
the boost libraries. If that is the case it makes no sense to have a
configure option "--without-boost" to allow a build to proceed or source
that will not honor the option to build without the boost library. seems
we should either modify the source to build without boost or modify the
build to abort when boost is not found and alert the builder.

Or am I missing something or mistaken in my analysis.....

JW wrote:

>OK, that cleared up the path problem.  As for the seg fault, decided to
>step back to 1.9.0 and now I'm starting to regress :-(
>Running centos-5.3 (64-bit version) and the latest boost version there is
>1.33, so tried a build without boost rather that trying an upgrade to 1.34
>Simgear-1.9.0 build and install was okay, but now FlightGear-1.9.0 is
>        then mv -f ".deps/fg_os_osgviewer.Tpo" ".deps/fg_os_osgviewer.Po";
>else rm -f ".deps/fg_os_osgviewer.Tpo"; exit 1; fi
>fg_os_osgviewer.cxx:32:29: error: boost/foreach.hpp: No such file or
>fg_os_osgviewer.cxx: In function ‘void fgOSOpenWindow(bool)’:
>fg_os_osgviewer.cxx:120: error: expected primary-expression before ‘&’ token
>fg_os_osgviewer.cxx:120: error: ‘camera’ was not declared in this scope
>fg_os_osgviewer.cxx:120: error: ‘BOOST_FOREACH’ was not declared in this
>fg_os_osgviewer.cxx:120: error: expected `;' before ‘{’ token
>fg_os_osgviewer.cxx:250: error: expected `}' at end of input
>fg_os_osgviewer.cxx:250: error: expected `}' at end of input
>make[2]: *** [fg_os_osgviewer.o] Error 1
>make[2]: Leaving directory `/usr/local/src/FlightGear-1.9.0/src/Main'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/usr/local/src/FlightGear-1.9.0/src'
>make: *** [all-recursive] Error 1
>Commenting out the "offending" code produces a build, but I suspect that
>might be the cause of the segfault.
>As this is something that was added between 1.0 and 1.9.0; i.e. the boost
>dependency, it appears that NOT using it for 1.9.0 or later was fully
>recognized.  would that be a correct assumption?  can it be fixed without
>some major "ifdef" stuff?
>Stay on top of everything new and different, both inside and
>around Java (TM) technology - register by April 22, and save
>$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
>300 plus technical and hands-on sessions. Register today.
>Use priority code J9JMT32.
>Flightgear-devel mailing list

Crystal Reports &#45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty&#45;free distribution of the report engine for externally facing
server and web deployment.
Flightgear-devel mailing list

Curtis Olson: