//随便加个osg头 #include <osg\State> //调用设置osg的打印等级为0,不打印 osg::setNotifyLevel(osg::NotifySeverity::ALWAYS);