Thanks for all the suggestions everyone.  Sorry I didn't notice
configure; I'm afraid I stopped looking at the readme a while ago.
Glad to see it's all up to date now.

For anyone who is having similar problems as me, if you build
cmake-2.4.6 yourself, you actually don't get ccmake by default; only
cmake.  This is the first I've heard of ccmake and I currently have no
idea where to get it, but I'll worry about that later since it's
crunch time here at work.  configure is working fine for me.
- Terry


Message: 28
Date: Thu, 7 Jun 2007 08:18:55 +0100
From: "Robert Osfield" <[EMAIL PROTECTED]>
Subject: Re: [osg-users] cmake build - optimized vs. debug
To: "osg users" <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi Terry,

As Jan and Martin suggested, CMake isn't by default choosing the
Release build.  One can go in and enable this via ccmake or just use
the ./configure script that I added, this runs:

   cmake . -DCMAKE_BUILD_TYPE=Release

So the build instructions now read:

   cd OpenSceneGraph
   ./configure
   make
   sudo make install

Robert.


On 6/6/07, Terry Welsh <[EMAIL PROTECTED]> wrote:
> Just got done tracking down a mysterious performance problem I was
> having.  Judging by the filesizes of old and new osg libs, it looks
> like the introduction of cmake at revision 6468 caused all my libs to
> be built as debug.  The default for OSG used to be optimized libs.
>
> After looking through the OSG and cmake webpages, I can't figure out
> how to force an optimized build.  Is this a permanent condition of the
> OSG build system?  Is there a way I can force optimized libs to be
> built?  Is there a good source of information for this sort of thing?
> The cmake FAQs haven't helped so far.....
> - Terry
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/
>
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to