I'm on a mac 10.7.5 trying to work with the OpenCV library in XCode 4.6.2. I'm following this tutorial http://sadeepj.blogspot.co.uk/2012/03/installing-and-configuring-opencv-to.html
So I've downloaded cmake and OpenCV2.3.1 I have written in terminal :
tar xvf OpenCV-2.3.1a.tar.bz2
cd OpenCV-2.3.1
mkdir build
cd build
cmake -G "Unix Makefiles" ..
It all works except at the Unix Makefiles
command, where it says CMake Error: Could not create named generator Unix Makefiles..
Anyone know why this is happening or maybe there is another method of getting OpenCV running smoothly in Xcode?