MasteringOpenCV / code

Code for the book "Mastering OpenCV with Practical Computer Vision Projects" by Packt Publishing 2012.
Other
2.71k stars 1.64k forks source link

The problem of compiling chapter 4 #80

Closed LiShuaixin closed 7 years ago

LiShuaixin commented 7 years ago

Hi, I'm trying to compile chapter 4 following what is instructed in README.TXT. Unfortunately, some errors occurred:

CMake Error at CMakeLists.txt:13 (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.

How could I fix this? Please,help!!!

I just fixed it!