Undefined symbols for architecture arm64:
"CX264Encoder::SetParam(int, int, int, int)", referenced from:
TXRtmpH264Enc::CallMethod(int, unsigned char*, int*) in TXRTMPSDK(H264Enc.o)
CTXRtmpX264Enc::CallMethod(int, unsigned char*, int*) in TXRTMPSDK(H264Enc.o)
"CX264Encoder::ResetRCBuffer()", referenced from:
TXRtmpH264Enc::CallMethod(int, unsigned char*, int*) in TXRTMPSDK(H264Enc.o)
CTXRtmpX264Enc::CallMethod(int, unsigned char*, int*) in TXRTMPSDK(H264Enc.o)
"CX264Encoder::SetPeriod(int, int, int)", referenced from:
TXRtmpH264Enc::CallMethod(int, unsigned char*, int*) in TXRTMPSDK(H264Enc.o)
CTXRtmpX264Enc::CallMethod(int, unsigned char*, int*) in TXRTMPSDK(H264Enc.o)
"CX264Encoder::GetFrameAvgQP(float*)", referenced from:
TXRtmpH264Enc::DoCodec(unsigned char*, int, int, void*) in TXRTMPSDK(H264Enc.o)
"CX264Encoder::UnInit()", referenced from:
TXRtmpH264Enc::~TXRtmpH264Enc() in TXRTMPSDK(H264Enc.o)
TXRtmpH264Enc::UnInit() in TXRTMPSDK(H264Enc.o)
TXRtmpH264Enc::CallMethod(int, unsigned char*, int*) in TXRTMPSDK(H264Enc.o)
CTXRtmpX264Enc::~CTXRtmpX264Enc() in TXRTMPSDK(H264Enc.o)
CTXRtmpX264Enc::UnInit() in TXRTMPSDK(H264Enc.o)
"_tch264_decode", referenced from:
TXRtmpH264Dec::DoCodec(unsigned char*, int, int, void*) in TXRTMPSDK(H264Dec.o)
CTXRtmpH264Dec::DoCodec(unsigned char*, int, unsigned char**, int*) in TXRTMPSDK(H264Dec.o)
"CX264Encoder::~CX264Encoder()", referenced from:
TXRtmpH264Enc::~TXRtmpH264Enc() in TXRTMPSDK(H264Enc.o)
CTXRtmpX264Enc::~CTXRtmpX264Enc() in TXRTMPSDK(H264Enc.o)
"CX264Encoder::CX264Encoder()", referenced from:
TXRtmpH264Enc::TXRtmpH264Enc() in TXRTMPSDK(H264Enc.o)
CTXRtmpX264Enc::CTXRtmpX264Enc() in TXRTMPSDK(H264Enc.o)
"CX264Encoder::ResetEncoder(int, int)", referenced from:
TXRtmpH264Enc::CallMethod(int, unsigned char*, int*) in TXRTMPSDK(H264Enc.o)
"CX264Encoder::Encode(unsigned char*, int, unsigned char**, int*, EmFrameType)", referenced from:
TXRtmpH264Enc::DoCodec(unsigned char*, int, int, void*) in TXRTMPSDK(H264Enc.o)
CTXRtmpX264Enc::DoCodec(unsigned char*, int, unsigned char**, int*) in TXRTMPSDK(H264Enc.o)
"_tch264_create_decoder", referenced from:
TXRtmpH264Dec::Init(tagEncParam) in TXRTMPSDK(H264Dec.o)
CTXRtmpH264Dec::Init(tagVideoCodecInfo) in TXRTMPSDK(H264Dec.o)
"CX264Encoder::Init(tagx264EncParam)", referenced from:
TXRtmpH264Enc::Init(tagEncParam) in TXRTMPSDK(H264Enc.o)
TXRtmpH264Enc::CallMethod(int, unsigned char*, int*) in TXRTMPSDK(H264Enc.o)
CTXRtmpX264Enc::Init(tagVideoCodecInfo) in TXRTMPSDK(H264Enc.o)
"_tch264_release_decoder", referenced from:
TXRtmpH264Dec::Init(tagEncParam) in TXRTMPSDK(H264Dec.o)
TXRtmpH264Dec::UnInit() in TXRTMPSDK(H264Dec.o)
CTXRtmpH264Dec::Init(tagVideoCodecInfo) in TXRTMPSDK(H264Dec.o)
CTXRtmpH264Dec::UnInit() in TXRTMPSDK(H264Dec.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
相似问题