I've gotten fairly close to building this, even using the Clang compiler. You'll want to get my fork of the 'cppintrospection' library, which is just a name-change of osgIntrospection with some updates. https://github.com/rpavlik/cppintrospection
There were a number of changes to the config needed, and I made a number of other fixes in the wrapper generator, as well as the library itself. This improved version also includes a single-step generate and build of wrappers, and also reduces the size of the wrapper libraries by reducing the number of reflection template instantiations required. I've used it successfully with the 2.8 branch and the Clang compiler on Linux - haven't tested it on other platforms yet but I've been careful to keep it cross-platform. Ryan On Mon, Aug 1, 2011 at 8:46 AM, Carsten Scharfe <[email protected]> wrote: > Hi All, > > I’m trying to compile osgIntrospection with OSG 3.0.0 in Visual Studio > 2010. > While osgIntrospection compiles, the osgWrappers (e.g. Wrapper osg) do not. > It seem to be that VS2010 has severe Problems with finding operator-methods > of classes such > as string or map. Maybe this is a template instatiation issue. > The error messages I’ll get from VS2010: > > “1>E:\OpenSceneGraph-3.0.0\include\osg/State(2477): error C2784: 'bool > std::operator <(const std::move_iterator<_RanIt> &,const > std::move_iterator<_RanIt2> &)' : could not deduce template argument for > 'const std::move_iterator<_RanIt> &' from 'const std::string' > 1> D:\development\visual studio 2010\VC\include\iterator(371) : > see declaration of 'std::operator <'“ > > or > > “1>E:\OpenSceneGraph-3.0.0\osgIntrospection\include\osgIntrospection/ReaderWriter(217): > error C2678: binary '>>' : no operator found which takes a left-hand operand > of type 'std::istream' (or there is no acceptable conversion) > > 1. D:\development\visual studio 2010\VC\include\istream(1053): could > be 'std::basic_istream<_Elem,_Traits> &std::operator > >><std::char_traits<char>>(std::basic_istream<_Elem,_Traits> &&,signed char > *)' [found using argument-dependent lookup]” > > > > In need some hints or help to sort this out. I’m definitely stuck. > Can somebody help me please? > > Any advice is welcome, > Cheers > > Carsten > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > -- Ryan Pavlik HCI Graduate Student Virtual Reality Applications Center Iowa State University [email protected] http://academic.cleardefinition.com
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

