On 23 Oct 2011, at 18:47, Geoff McLane wrote:
> Sorry, what am I doing wrong?
I'm not sure *exactly* what you're doing wrong, but in general I would say
you're over controlling things a little.
I'm not clear why you are installing each component in a subdir of install -
that's making your life complicated. If you simply installed OSG to
/home/geoff/fg/fg16/install
(as CMAKE_INSTALL_PREFIX when configuring OSG)
then assuming you have (from Git)
/home/geoff/fg/fg16/flightgear
/home/geoff/fg/fg16/simgear
you should simply need:
cd /home/geoff/fg/fg16/
mkdir fgbuild
mkdir sgbuild
cd sgbuild
cmake ../simgear -D CMAKE_INSTALL_PREFIX=/home/geoff/fg/fg16/install -D
CMAKE_BUILD_TYPE=Release
make install
cd ../fgbuild
cmake ../flightgear -D CMAKE_INSTALL_PREFIX=/home/geoff/fg/fg16/install
-D CMAKE_BUILD_TYPE=Release
make install
Of course you can set CXXFLAGS or CMAKE_VERBOSE_MAKEFILE is you need, but I
would avoid setting OSG_DIR, SIMGEAR_DIR or SIMGEAR_LIBRARIES unless you need
something very special - just use a common destination prefix and everything
works out easily! (And there's no need for a LIB_POSTFIX, it defaults to empty
for Release builds)
Does that help at all?
James
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel