LeapMotion (not working!)

Hi Everybody!
I’m trying to work with LeapMotion on win and vs2017 but got a lot of problems and errors. I tried different ways to get the result but it failed, I replace lastest LeapMotion SDK’s lib with ofxLeapMotion2’s lib, but yet it doesn’t work and I encountered other errors :

could someone help me?!

I can’t get either ofxLeapMotion or ofxLeapMotion2 to work either. They are both throwing “symbol not found errors.” Maybe it doesn’t like the latest version of the LeapMotion sdk?