树莓派部署caffe模型

1,fatal error: pyconfig.h: No such file or directory

export CPLUS_INCLUDE_PATH=/usr/include/python2.7

2,/usr/bin/ld: cannot find -lopencv_imgcodecs
在Makefile.config里面去掉opencv_imgcodecs

3,cmake -D CMAKE_BUILD_TYPE=RELEASE ..

cmake -D CMAKE_BUILD_TYPE=RELEASE \
-D OpenCV_DIR=/home/kylefan/opencv-2.4.13.4/cmake ..

4,“OpenCV” is considered to be NOT FOUND

你可能感兴趣的:(软件安装)