编译参考实现使用QT或gtk安装OpenCV这两个网址应该会有所帮助。也可以使用OpenCV网站上的文档从源代码安装icpc -xhost -openmp -O3 harris.cpp -L /usr/local/lib/ -lopencv_imgproc -lopencv_core -lopencv_highgui -o harris -DANALYZE -DSHOQ -DNRUNS=5 g++ -openmp -O3 harris.cpp -L /usr/local/lib/ -lopencv_imgproc -lopencv_core -lopencv_highgui -o harris -DANALYZE -DSHOW -DNRUNS=5 ./harris.out path_to_image_file运行python演示安装Python、Nu