title: Compiling OpenCV 2.3 with OpenNI and Qt
body: <p>for a project that uses the Microsoft Kinect I currently would like to compile OpenCV with the OpenNI framework.</p>
  
  <p>I already have OpenNI, NITE and the Kinect drivers installed but I am having problems compiling OpenCV so that I can develop using OpenNI.</p>
  
  <p>For this I started cmake, took the OpenCV (2.3 release) sources, selected Visual Studio 2008 makefiles, linked all necessary paths, checked <code>"WITH_QT"</code> and <code>"WITH_OPENNI"</code>, set the paths to Qt files and the OpenNI include and lib folders as well as the PrimeSense folders and generated MakeFiles, which worked without errors.</p>
  
  <p>I then started the <code>OpenCV.sln</code> solution that had been created by CMake, set it to Release and tried to build the whole package. Unfortunately it gives me an error:</p>
  
  <p><a href="http://pastebin.com/6L7wCx4r" rel="nofollow">http://pastebin.com/6L7wCx4r</a></p>
  
  <p>I pasted it there since it's quite long. You can see the errors at about line 420.</p>
  
  <p>Does anybody have an idea what is going wrong there and how I can fix it? Would be great if anybody could have a look at it.</p>
  
  <p>Thank you!</p>