zoukankan      html  css  js  c++  java
  • 模拟器运行报错:ld: symbol(s) not found for architecture x86_64

    模拟器运行报错:

    报错信息如下:

    Undefined symbols for architecture x86_64:
      "_x264_encoder_open_142", referenced from:
          H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o)
          H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o)
      "_x264_encoder_headers", referenced from:
          H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o)
          H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o)
      "_x264_param_default", referenced from:
          H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o)
          H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o)
      "_x264_param_apply_profile", referenced from:
          H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o)
          H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o)
      "_x264_encoder_encode", referenced from:
          H264_EncodeFrame_uni(H264_Context*, unsigned char*, unsigned int, unsigned char**, unsigned int*) in libPlayerSDKLib.a(ffcodec_uni.o)
          H264_EncodeFrame(H264_Context*, unsigned char*, unsigned int, unsigned char**, unsigned int*) in RtSDK(ffcodec.o)
      "_x264_encoder_close", referenced from:
          H264_Open_uni(int, int, int, int, int) in libPlayerSDKLib.a(ffcodec_uni.o)
          H264_Close_uni(H264_Context*) in libPlayerSDKLib.a(ffcodec_uni.o)
          H264_Open(int, int, int, int, int) in RtSDK(ffcodec.o)
          H264_Close(H264_Context*) in RtSDK(ffcodec.o)
    ld: symbol(s) not found for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    libPlayerSDKLib这个库有问题

    这个库包含在ffmpeg的库里面,

    把整个ffmpeg库替换就好了。

  • 相关阅读:
    VSTO开发指南(VB2013版) 第四章 Excel编程
    VSTO开发指南(VB2013版) 第三章 Excel编程
    VSTO开发指南(VB2013版) 第二章 Office解决方案介绍
    VSTO开发指南(VB2013版) 第一章 Office对象模型
    打印预览
    打印
    工具函数
    开始使用
    模版对应信息
    解决PLSQL或者sqlplus连接oracle慢的方法
  • 原文地址:https://www.cnblogs.com/tufei7/p/10252381.html
Copyright © 2011-2022 走看看