#pragma once 保证头文件只被编译一次 #pragma warning(disable:4981)忽略4981错误 #pragma coment(lib,"cv_210d.lib") 为cv_210d.lib添加声明