Download the LeapSDK from https://developer.leapmotion.com/documentation/index.html?proglang=current.
Change the path of include and link library of LeapSDK in CMakeLists.txt.
Run catkin_make to build the ROS package in ROS workspace.