Hi J-S,
We've never tried multiple platforms with the same in-source tree,
and I wouldn't expect that it should work. However, I would expect that
we'd be able to build debug and release versions for a single platform
in the same in-source tree. Has this been working reliably for you?
We've been trying to set up all builds as out of source with exceptions
for Windows (because of our network more than any other reason), and now
Mac OS X. These platforms each have their own source trees.
Thanks again for your help and experience with this. On your advice I'll
stick with out-for-source for 32 and 64 bit Linux.
-Don
Jean-Sébastien Guay wrote:
Hi Don,
Because of way our network is set up we build Windows on a seperate
drive,
so it's always been built in-source. We have several flavors of Linux,
Mac, and maybe even Solaris (if we get around to it) that I've been
trying
to build off the same source directory.
Well, building multiple platforms in-source in the same source tree (or
in the same build/ directory, or installing to the same directory) isn't
a good idea in general. Apart from the fact that the Config file (for
both OpenThreads and OSG) will be (and must be) different on different
platforms, it can introduce subtle problems, especially for similar
platform like unices (which will typically use the same filenames for
shared objects, for example).
I think you may be making things difficult for yourself :-)
My advice: build out-of-source, and use the install target. I find it's
easier to have control over what you get that way.
J-S
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org