one problem with adding osvr plugins into an unreal engine4.12 project

Hi,
Thank you for watching my problem.
I had a problem with adding osvr plugins into an unreal engine4.12 project.
Just as the says, there are two ways to add an osvr plugins into an unreal project: one is directly choosing it in the plugins section, and the other is adding some plugins source.
It works well by directly choosing. However, when I add the source into the project plugins and rebuild the vs project in the other way, it lose the VR characteristics.I follow this:
Could you help me with this problem?
Thank you very much!