[osg-users] Please test SVN version of OpenSceneGraph

Robert Osfield robert.osfield at gmail.com
Fri Sep 28 00:32:38 PDT 2007


On 9/27/07, Brian Keener <brianklistacct at alltel.net> wrote:
> I tried the change you suggested but no go.  I think it might be deeper in
> /usr/include/math.h where they do a define on log2 and log2f as follows
> but....
>
> #define log2(x) (log(x) / M_LOG2_E)
> #define log2f(x) (logf(x) / (float) M_LOG2_E)

That looks like it might well be the proplem.  Added a if #ifndef log2
might be what is required around the include/osg/Math definition.

Robert.



More information about the osg-users mailing list