把离线包添加到工程中报错
jxliaom 发布于2015-06 浏览:2375 回复:3
0
收藏


Undefined symbols for architecture arm64:

  "std::__throw_length_error(char const*)", referenced from:

      std::vector >::_M_insert_aux(__gnu_cxx::__normal_iterator > >, int const&) in libbdtts.a(Function.o)

  "std::ios_base::Init::Init()", referenced from:

      __GLOBAL__I_a in libbdtts.a(bd_tts.o)

      __GLOBAL__I_a in libbdtts.a(TextLib.o)

      __GLOBAL__I_a in libbdtts.a(TNEngine.o)

      __GLOBAL__I_a in libbdtts.a(TemplRuleTbl.o)

      __GLOBAL__I_a in libbdtts.a(Function.o)

      __GLOBAL__I_a in libbdtts.a(PosTag.o)

      __GLOBAL__I_a in libbdtts.a(RegexTN.o)

      ...

  "std::ios_base::Init::~Init()", referenced from:

      __GLOBAL__I_a in libbdtts.a(bd_tts.o)

      __GLOBAL__I_a in libbdtts.a(TextLib.o)

      __GLOBAL__I_a in libbdtts.a(TNEngine.o)

      __GLOBAL__I_a in libbdtts.a(TemplRuleTbl.o)

      __GLOBAL__I_a in libbdtts.a(Function.o)

      __GLOBAL__I_a in libbdtts.a(PosTag.o)

      __GLOBAL__I_a in libbdtts.a(RegexTN.o)

      ...

ld: symbol(s) not found for architecture arm64

clang: error: linker command failed with exit code 1 (use -v to see invocation)

这是神马情况啊

收藏
点赞
0
个赞
共3条回复 最后由用户已被禁言回复于2022-04
#4luckyToMe2回复于2020-01

看看

0
#3forthekiller88回复于2015-07

so文件拷贝了没

0
#2家里爱吃鱼的猫回复于2015-07

工程需要添加相应的c++ 标准库的framework吧

0
TOP
切换版块