i guess this will fix the compile error:
                        osg::TexMat* textMat = new osg::TexMat();
                        textMat->setMatrix(matrix);
                        stateset->setTextureAttribute(unit, textMat);
..or there is something wrong in the CVS system, wrong file checked in... etc.

regards
adegli

2006/8/28, Adrian Egli <[EMAIL PROTECTED] >:
Compiling...
Optimizer.cpp
\DATEN\DEV\OpenSceneGraphCVS\OpenSceneGraph\src\osgUtil\Optimizer.cpp(3831) : error C2664: 'osg::TexMat::TexMat(const osg::TexMat &,const osg::CopyOp &)' : cannot convert parameter 1 from 'osg::Matrix' to 'const osg::TexMat &'
        Reason: cannot convert from 'osg::Matrix' to 'const osg::TexMat'
        No constructor could take the source type, or constructor overload resolution was ambiguous

Build log was saved at " file://c:\Daten\Dev\OpenSceneGraphCVS\OpenSceneGraph\VisualStudio\osgUtil\Win32\Debug\BuildLog.htm"
Core osgUtil - 1 error(s), 0 warning(s)


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to