Camera projector calibration

Hello!
Could you help me to make camera-projector calibration on VS2015. (Like on this video: https://www.youtube.com/watch?v=pCq7u2TvlxU).( 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.