Hey, all...

I've just run into the same problem. The first of the errors is when building 
SiltEffect (the third cpp in the compile) where Visual Studio 2008 complains:


> 1>C:\[....]\OpenSceneGraph-2.8.2\include\osg/State(1729) : error C3767: '<': 
> candidate function(s) not accessible


Followed by a bunch of "could be friend function at" (un)helpful hints:


> 1>        could be the friend function at 
> 'C:\[....]\OpenSceneGraph-2.8.2\include\osg/MixinVector(152)' : '<'  [may be 
> found via argument-dependent lookup]


Also the error:


> 1>C:\[....]\OpenSceneGraph-2.8.2\include\osg/State(1729) : error C2784: 'bool 
> std::operator <(const std::_Tree<_Traits> &,const std::_Tree<_Traits> &)' : 
> could not deduce template argument for 'const std::_Tree<_Traits> &' from 
> 'const std::string'
> 1>        c:\Program Files\Microsoft Visual Studio 9.0\VC\include\xtree(1466) 
> : see declaration of 'std::operator <'


So almost every error I get is related to the use for a sort comparison "<" as 
used by a class that gets put into a STL list of some sort inside OSG itself, 
mainly the State class.

This suggests a Microsoft-only issue, but the errors VS provides are fairly 
useless for tracking down the problem in osgOcean or its configuration.

Here's hoping someone has figured out this problem in the last 6-7 months since 
this thread was active... Because I'm stuck.

 ~ Chris Innanen
 ~ Nonsanity

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=23646#23646





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to