g++ 编译时出现了这个问题 是因为编译器不支持 所以 加上 -std=c++11 g++ -std=c++11 opencv_tx2.cpp -o opencv_tx2 `pkg-config --cflags --libs opencv`