Building the new OpenCV 2.3.1 in OSX

I am testing with the OpenCV 2.3.1 in OSX. The Homebrew and MacPorts versions do not build with the OpenNI option. To build it myself with CMake and XCode, I came into compilation error with the flann include files: any.h and lsh_index.h. After searching for a while, I found the solution as stated in Hiroaki Sawano’s website and patched the two files.

lsh.index.h

any.h

kinect_maps sample run

One Reply to “Building the new OpenCV 2.3.1 in OSX”

Comments are closed.