Edit meta/messages.txt and meta/services.txt if you need to include more ROS messages/services. You need to specify the full message/service type, i.e. geometry_msgs/Twist rather than Twist.
Edit set(ENV{VREP_ROOT} ~/V-REP_PRO_EDU_V3_5_0_Linux) in CMakeLists.txt to the path of V-REP installation, and comment link_directories("/opt/ros/lunar/lib") if using older versions
Clone XR1_vrep_ros, return to work space and build using catkin build (catkin make may cause issues)
$ catkin build
IMPORTANT! After compiling, copy libv_repExtRosInterface.so from WORKSPACE/devel/lib/ to V-REP root folder, and do so whenever the meta/messages.txt or meta/services.txt files have been modified
Dependencies
For catkin build to work, some packages may need to be installed via apt-get, which include: