Wasted one months, looked up a lot of information, and then various use of Ubuntu compiled, the final result or not, try to finally, finally found a thing, is realsense_grabber, but not the PCL inside the self, is independent. With this, I can finally get the point cloud data.
Next I'll talk about the things I need and the steps:
First we need the software has: Pcl1.8.0-all-in-one, the specific version of their own choice, mine is the Vs2015-win64 version. Then there is RSSDK, the official SDK of RealSense. This is necessary, so even if the PCL has grabber in Ubuntu or not to obtain point cloud data, and finally is a separate grabber that is rs-master, these things I will upload together, we download directly. http://download.csdn.net/detail/wi162yyxq/9832321
On the PCL and RSSDK installation methods, I have written in front of the blog, not much to say.
The most important is this rs-master, its installation is very simple, the first need to download a cmake, to the official website under the latest version is good.
Then, like regular CMake, create a new build folder under the source folder/
Then configure then generate, and finally to build inside find Rs.sln, in release and debug under the separate project is good.
Note that before you finally add a property, you first copy the file from src in the source folder to the include.
Then we open the VS project, join the include in the Rs-master source folder, and then add the Lib in the Debug folder under the Build folder.
In order to prevent compilation failure, we put the DLL file in the PCL Bin folder into the project folder, and finally we compile re-master/src under the real_sense_viewer.cpp can see the effect.