title: OpenNI 2.2 + OpenCV 2.4.6 + VS 2010
body: <p>Can anyone tell me how to compile OpenNI 2.2 with OpenCV 2.4.6 in Visual Studio 2010? Previously I compiled OpenNI 1.5 with OpenCV 2.4.5 with the help of this link:</p>
  
  <p><a href="http://seevisionc.blogspot.co.uk/2012/07/compiling-opencv-with-openni-for.html" rel="nofollow">http://seevisionc.blogspot.co.uk/2012/07/compiling-opencv-with-openni-for.html</a></p>
  
  <p>But now the latest version of OpenNI 2.2 doesn't need Primesense driver. So, the Cmake couldn't find the OpenNI. </p>
  
  <p>Please Reply ASAP.</p>