Hi,
I would like to use the Cgs so i have downloaded osgNV. To run my program i
wrote the following headers:
#include <osgNVCg/Context>
#include <osgNVCg/Program>
#include <osgNV/Version>
#include <osgNV/VectorParameterValue>
#include <osgNV/StateMatrixParameterValue>
And just by writing the first include (even without any code), i have an error
when compiling. It says:
"error C2440: 'return': impossible to convert from 'int' to
'osg::StateAttribute::Type'"
That error is in the osgNVCg class at the following line:
"virtual Type getType() const { return PROGRAM +
static_cast<int>(getProfile()); }"
Does someone know the problem? And do you know how to resolve that problem?
Thanks a lot!
Bye
Créez votre adresse électronique [EMAIL PROTECTED]
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/