Hi Martin,

On 5/8/07, Martin Spott <[EMAIL PROTECTED]> wrote:

Nobody's talking about cross-compiling the whole OSG. I'm talking about
the build system picking the correct libraries for almost _everything_
- just for the GIF and the FreeType plugin it is referring to the wrong
directories.


You need to pick up different libs for 32 bit and 64 bit build, as well as
use different build options, this is cross compiling.


>    mkdir buildOSG_32
>    cd buildOSG_32
>    setenv CXXFLAGS=...
>    setenv CFLAGS=...
>    setenv LDFLAGS=...
>    cmake ../OpenSceneGraph
>    make
>    cd ..

I get the slight idea that you decided to replace the burden of
maintaining the build system with the burden of using it ....  Man,
things were so easy before CMake was made compulsory for building OSG.


No.  The CMake build system is meant to make all our lives easier.

We are still in early days for the new build system, so far its worked very
well over a large number of platfoms, far better than the old build systems
as build breaks were very common under Windows.  Its not perfect, and we are
all still learning about it, improving the build.

The 'original' OSG build system was set up to tell between different
platforms and to apply the respective flags for each of them. I wonder
if there is no such thing in CMake that allows simply to adapt all
these rules accordingly !? This would save us/me from a bunch of
trouble that was introduced with CMake.


There is a huge amount of flexibility with CMake, you just need to be
patient, you are unluckly to have found an edge case that non of those
working on the CMake build system have had access to, so rather than curse
CMake, learn about it and help get our build system working smoothly.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to