运行:g++ image-classification-prediction.cc
出错:
error:‘output’ does not name a type atuo output =input
'output' was not decleared in this scope
解决办法:运行 g++ -std=c++11 image-classification-prediction.cc
又出错: 对“cv::outputarray::inputarray(cv::Mat)”未定义的引用
解决办法:g++ -std=c++11 image-classification-prediction.cc `pkg-config --cflags --libs opencv` (注意标点符号为键盘上1左边的健)
还出错:对‘MXPredcreat’未定义的引用