// CLoadPictureApp 消息处理程序
using namespace cv;
int main(int argc, char* argv[])
{
Mat img = imread("lena.jpg");
if(!img.data)
return -1;
NameWindow("lovelena", CV_WINDOW_AUTOSIZE);
imshow("lovelena", img);
waitKey();
return 0;
}
question:error C3861: “NameWindow”: 找不到标识符