Skip to content

/lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line #32

@hellocatfood

Description

@hellocatfood

I am trying to install OSCeleton on Ubuntu 13.10. When I run make all is fine until the end of compilation when I get this error:

In function ‘XnStatus xn::Context::ZN2xn7Context17OpenFileRecordingEPKc.isra.15(XnContext, XnBool_, const XnChar_)’,
inlined from ‘int main(int, char__)’ at src/OSCeleton.cpp:564:54:
/usr/include/ni/XnCppWrapper.h:9548:61: warning: call to ‘xnContextOpenFileRecording’ declared with attribute warning: This function is deprecated: Please use xnContextOpenFileRecordingEx() instead [enabled by default]
return xnContextOpenFileRecording(m_pContext, strFileName);
^
In member function ‘XnStatus xn::SkeletonCapability::RegisterCalibrationCallbacks(xn::SkeletonCapability::CalibrationStart, xn::SkeletonCapability::CalibrationEnd, void_, void_&)’,
inlined from ‘int main(int, char__)’ at src/OSCeleton.cpp:695:143:
/usr/include/ni/XnCppWrapper.h:7058:165: warning: call to ‘xnRegisterCalibrationCallbacks’ declared with attribute warning: This function is deprecated: Please use RegisterToCalibrationStart/Complete [enabled by default]
nRetVal = xnRegisterCalibrationCallbacks(GetHandle(), CalibrationStartBundleCallback, CalibrationEndBundleCallback, pSkeletonCookie, &pSkeletonCookie->hCallback);
^
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:7468: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
make: *_* [osceleton] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions