0
github에서 Openni2를 다운로드하고 README의 지침에 따라 $ make를 실행하십시오. 이 오류가 있습니다.make를 실행할 때 Openni2 오류
g++ -MD -MP -MT "./../../../Bin/Intermediate/x86-Release/libOpenNI2.jni.so/org_openni_NativeMethods.d ../../../Bin/Intermediate/x86-Release/libOpenNI2.jni.so/org_openni_NativeMethods.o" -c -msse3 -Wall -O2 -DNDEBUG -I. -I../../../Include -I../../../ThirdParty/PSCommon/XnLib/Include -fPIC -fvisibility=hidden -o ../../../Bin/Intermediate/x86-Release/libOpenNI2.jni.so/org_openni_NativeMethods.o org_openni_NativeMethods.cpp
g++ -o ../../../Bin/x86-Release/libOpenNI2.jni.so ./../../../Bin/Intermediate/x86-Release/libOpenNI2.jni.so/OpenNI.jni.o ./../../../Bin/Intermediate/x86-Release/libOpenNI2.jni.so/org_openni_NativeMethods.o -L../../../Bin/x86-Release -lOpenNI2 -Wl,--no-undefined -shared
/usr/lib/i386-linux-gnu/libc_nonshared.a(stack_chk_fail_local.oS): In function `__stack_chk_fail_local':
(.text+0x10): undefined reference to `__stack_chk_fail'
collect2: error: ld returned 1 exit status
make[1]: *** [../../../Bin/x86-Release/libOpenNI2.jni.so] Error 1
make[1]: Leaving directory `/home/smalleyreaserch/OpenNI2/Wrappers/java/OpenNI.jni'
make: *** [Wrappers/java/OpenNI.jni] Error 2
필요한 패키지가 모두 있습니다. 누구든지 나를 도울 수 있습니까? 내 시스템은 우분투 14.04 32 비트이지만 컴퓨터는 64 비트입니다. 그게 왜이 오류를 얻는거야?
코멘트 http://stackoverflow.com/questions/4492799/undefined-reference-to-stack-을 떠나지 않을 경우, 당신의 문제를 해결해야
를 사용 여기서 도움을 청 할까? –
정확히 어떻게 연결하나요? 감사합니다 :) – Waffle555
나는 정확하게 질문을 이해하고 있는지 모르겠다. 링크 된 응답에는 관련성이있는 두 개의 정확한 명령 행 인수가 나열됩니다. –