Ask Your Question

lvjing's profile - activity

2013-12-17 00:00:31 -0600 answered a question Compiling cpp samples on Mac OS X: “Unknown CMake command "ocv_check_dependencies". ”

yes, I think you can just compiler with the build_all.sh in the same directory with these examples. use linux command: ./build_all.sh if you are under linux. I have build these examples by this way. hope it will help you!

2013-12-14 21:19:22 -0600 received badge  Editor (source)
2013-12-14 21:17:56 -0600 answered a question Make failed on Linux Mint 15: filtering.cpp reference opencl_kernels.hpp
this is a very interesting problem, I met this totally same with your. but after my checking

the directory tree of opencv_dir I found the key of it.

Originally I wanted to install my opencv in directory "Program files", but it came with the

bove problem same with your. So i go and check my directory tree occasionally and find a strange directory named "Program\ files" created when making opencv, so i click in, and i find the missing files "opencl_kernels.hpp" and anothor file also, so I move them to .../opencv- 2.4.7/modules/ocl/src/ , and then make again ,finally the error gone.

So I am sure the problem of you is something with your directory path, and I see your path have

a directory named "OpenCV Software", this is the problem. So please make sure the path to opencv installed do not contain any blank char, you can change "OpenCV Software" to "OpenCV_Software" and so on.

Another way to slove tht problem is just like the way I deal with my problem, find the files

and move them to the required path, but this is not recommended, because when make again it will still turn out several time for opencv make other modules..