2011-12-10 3 views
1

OpenNI에서 새로 왔습니다. 난 비주얼 스튜디오 2010의 C++와 OpenNI 샘플을하려고 할 때, 나는 이러한 오류 가지고 :Kinect와 OpenNI

1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnContextRegisterForShutdown 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnContextAddRef 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnContextRelease 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnContextUnregisterFromShutdown 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnForceShutdown 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnInit 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnGetStatusString 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnGetRefContextFromNodeHandle 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnProductionNodeAddRef 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnProductionNodeRelease 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnCreateDepthGenerator 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnStartGeneratingAll 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnOSMemSet 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnOSFreeAligned 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnOSWasKeyboardHit 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnWaitOneUpdateAll 
1>kinect_first_try.obj : error LNK2001: unresolved external symbol __imp__xnGetDepthMetaData 

내가 어떤 도움을하시기 바랍니다받을 수 있습니까? 미리 감사드립니다.

답변

5

OpenNI.lib를 링커에 포함시켜야하는 것처럼 들립니다.
프로젝트 속성으로 이동 | 구성 등록 정보 | 링커 | 입력 | 추가 종속성.
OpenNI.lib 추가