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