Mathias Fröhlich schrieb:
> Hi,
>
> On Saturday 19 May 2007, gh.robin wrote:
>   
>> I try to understand the big FPS differences i get when i build FG
>> first with an old OSG library 10 april 2007,
>> second with a recent OSG library  1.9.4 version
>>     
> I believe that you built osg without optimization.
> When building without optimization you get what you ask for. Unoptimized code 
> that takes hours for the cpu intensive jobs like culling. That is also what 
> the stats show ...
>
> Configure osg with ist's new build system as a Release version. Or provide 
> CMAKE_CXX_FLAGS and CMAKE_C_FLAGS on the command line of cmake.
> I run cmake with something like
>
> cmake -D CMAKE_CXX_FLAGS="-O3 <and some more>" \
>         -D CMAKE_C_FLAGS="-O3 <and some more>" \
>         -D CMAKE_VERBOSE_MAKEFILE=TRUE .....
>
> Please try ...
>
>     Greetings
>
>            Mathias
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Flightgear-devel mailing list
> Flightgear-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flightgear-devel
>
>   

Hi Mathias,

Gerard is only *one* of many who are using OSG for a long time but
suddenly getting very, very bad framerates with the latest CVS OSG versions.
Do I understand it right that I get the "optimization" when I just call
cmake (for OSG only, not for OpenThreads or Producer) in that way:

cmake -D CMAKE_CXX_FLAGS="-O3" \ 
      -D CMAKE_C_FLAGS="-O3" \
      -D CMAKE_VERBOSE_MAKEFILE=TRUE

(I deleted <and some more>).

But strange enough, this was not necessary for a long time and I got suffizient 
framerates though.

Thank you!
Regards
Georg EDDW




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to