[osg-users] Compiling examples using osg.
james.dickson at gmail.com
Wed Sep 12 09:59:36 PDT 2007
I have been trying to compile the examples and found that under vs2005 I get
the following error when I just include osgViewer:
e:\openscenegraph\include\osg\math(199) : error C2668: 'log' : ambiguous
call to overloaded function
c:\program files\microsoft visual studio 8\vc\include\math.h(567):
could be 'long double log(long double)'
c:\program files\microsoft visual studio 8\vc\include\math.h(519):
or 'float log(float)'
c:\program files\microsoft visual studio 8\vc\include\math.h(121):
or 'double log(double)'
while trying to match the argument list '(int)'
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the osg-users