Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Compiling cpp samples on Mac OS X: “Unknown CMake command "ocv_check_dependencies". ”

I try to compile the cpp samples on Mac OS X Snow Leopard (using CMake) and what I get is

CMake Error at c/CMakeLists.txt:10 (ocv_check_dependencies):
    Unknown CMake command "ocv_check_dependencies".

Compiling the library (cmake ., make, sudo make install) worked just fine and I was able to compile and running a tutorial code. What am I missing?