If you are going to work with Microsoft’s Kinect v2 in the visual area you don’t need to use the official SDK and driver. Instead of that you should work with libfreenect2 to get platform and IDE independency. There is only one thing you have to do before you can use it: you have to build it (not difficult but time consuming – in my case). To avoid the same problems that I had, follow the guide below.
Download and install all applications. Extract the source files to your favorite projects’ directory.
Start building of all sources by using cmake, but the last project you should build is libfreenect2. Follow the rules on the libfreenect2 homepage.