Osceleton built without problems on my older PC-based system, but now I'm getting the following error during make:
In member function ‘XnStatus xn::PoseDetectionCapability::RegisterToPoseCallbacks(xn::PoseDetectionCapability::PoseDetection, xn::PoseDetectionCapability::PoseDetection, void*, void*&)’,
inlined from ‘int main(int, char**)’ at src/OSCeleton.cpp:696:117:
/usr/include/ni/XnCppWrapper.h:4661:161: warning: call to ‘xnRegisterToPoseCallbacks’ declared with attribute warning: This function is deprecated: Please use PoseDetected and/or OutOfPose callbacks [enabled by default]
nRetVal = xnRegisterToPoseCallbacks(GetHandle(), PoseDetectionStartBundleCallback, PoseDetectionStartEndBundleCallback, pPoseCookie, &pPoseCookie->hCallback);
^
/usr/bin/ld: liblo-0.26-modified/src/.libs/liblo_la-server_thread.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Full build log is attached. My system is a Macbook Pro Retina, running Ubuntu 14.04.1 LTS (Trusty), kernel 3.13.0-32-lowlatency.
Can anyone suggest how to fix this? Maybe a Glib version problem? Osceleton is the only way my C application can talk to the kinect. Thanks in advance!