RpiにDebian OSをインストールしました。opencv のインストール中に、「/home/pi/Opencv-2.4.3/release/lib」に「opencv.pc」ファイルを作成します。次に、次の 2 つのコマンドを入力しました。
- sudo gedit /etc/bash.bashrc
「 bash.bashrc」ファイルに次の 2 行を追加してファイルを保存します。
次に、これらのコマンドを入力した後、次のエラーが発生しました。
chmod +x build_all.sh
/build_all.sh
解決策は何ですか?
エラーは..
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found
contours.c:1:39: fatal error: opencv2/imgproc/imgproc_c.h: No such file or directory
compilation terminated.
compiling convert_cascade.c
Package opencv was not found in the pkg-config search path.
Perhaps you should add the directory containing `opencv.pc'
to the PKG_CONFIG_PATH environment variable
No package 'opencv' found..etc..