[osg-users] Compiling examples using osg.

James Dickson 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)'

-- 
James Dickson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070912/98153d1b/attachment-0002.htm>


More information about the osg-users mailing list