I am trying to control the kuka youbot with the leap motion.
So, what I did is in the src folder of my app, I copied the leap.h leapmath.h and leap.i files. I also included the code form the Makefile of the sample programs provided in the SDK bundle.
I have written a very simple program as of now, whenever a hand is detected, the robot is commanded with a forward velocity for 1 second.
Now, there are two ways of compiling the code. (The PC is embedded in the robot only)
One is the cmake.. cd .. make way as I have successfully created some programs to play around with the bot. But I am getting these errors. (It uses rosbuild, fuerte distro):
error file
The other way is the leap sdk way
g++ -std=c++98 Sample.cpp -I ../include -o ../build/Sample /usr/lib/Leap/libLeap.so
which has issues as I asked in this post