2017-11-28 62 views
0

専門家、Yocto使用してOpenCVの

私はOpenCVのを使用しているアプリケーションを持っているLinuxイメージを構築しています。私は解決できないというエラーを受け取ります。 システム変数を設定する必要があるようです。しかし、どのパスを使用するのですか?

By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has 
asked CMake to find a package configuration file provided by "OpenCV", but 
CMake did not find one. 

Could not find a package configuration file provided by "OpenCV" with any 
of the following names: 

    OpenCVConfig.cmake 
    opencv-config.cmake 

    Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set 
    "OpenCV_DIR" to a directory containing one of the above files. If "OpenCV" 
    provides a separate development package or SDK, be sure it has been 
    installed. 


-- Configuring incomplete, errors occurred! 
+0

yoctoのバージョンとopencvから取得したレイヤについて、アプリケーションレシピをご紹介してください。 – jku

+0

フィードバックに感謝します。私は簡単な解決策になると期待していました。行方不明のenv。変数。 – Maeglin

答えて

1

問題を解決しました。私はyoctoレシピに以下を追加していませんでした: DEPENDS = "opencv"

関連する問題