Camera projector calibration

Could you help me to make camera-projector calibration on VS2015. (Like on this video: I found a lot of codes but all of them didn’t work. )
I find a lot of codes for OS Mac (for xCode), but i could compileit and create new project on Windows for Visual Studio 2017.
Please help me.