Linux的味道:Debian的(緊縮邦)「的OpenCV」 被認爲是NOT FOUND
出現問題:當試圖用下面的命令來構建cvblobs
cd ~/cvblob
cmake .
錯誤:
CMake Error at cvBlob/CMakeLists.txt:20 (find_package):
Found package configuration file:
/usr/local/share/OpenCV/OpenCVConfig.cmake
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
NOT FOUND.
-- Configuring incomplete, errors occurred!
可能是因爲安裝的版本太舊,您可以設置相關的路徑。版本決定由項目的配置文件進行搜索。 cvblob是否在find_package調用中請求特定的opencv版本? – languitar