C++11 未定义对`(std::u cxx11::basic_string<;char,std::char\u traits<;char>;,std::allocator<;char>;)和&x27;使用tensorflow_cc.so时 我正在研究将TysFrase2共享库(*.so)文件链接到我的C++程序中。libtensorflow_cc和libtensorflow_framework.so使用bazel-3.7.2和gcc7.3,并链接到另一个库,我有“libmyproj.so”。我想把这个libmyproj.so链接到我的主程序,它是用相同的gcc7.3构建的。我曾尝试使用-D_GLIBCXX_USE_cx11_ABI=0标志来实现ABI兼容性(从和),但没有成功。我遇到了以下错误:

C++11 未定义对`(std::u cxx11::basic_string<;char,std::char\u traits<;char>;,std::allocator<;char>;)和&x27;使用tensorflow_cc.so时 我正在研究将TysFrase2共享库(*.so)文件链接到我的C++程序中。libtensorflow_cc和libtensorflow_framework.so使用bazel-3.7.2和gcc7.3,并链接到另一个库,我有“libmyproj.so”。我想把这个libmyproj.so链接到我的主程序,它是用相同的gcc7.3构建的。我曾尝试使用-D_GLIBCXX_USE_cx11_ABI=0标志来实现ABI兼容性(从和),但没有成功。我遇到了以下错误:,c++11,gcc,tensorflow2.0,C++11,Gcc,Tensorflow2.0,对ml_模型的未定义引用::ml_模型(std:u cxx11::basic_string)对ml_模型的未定义引用::预处理数据(std:u cxx11::basic_string,std::vector,int&,int&,std::vector&')对ml_模型的未定义引用::获取_预测(std:u cxx11::basic_string,std::vector&)

对ml_模型的未定义引用::ml_模型(std:u cxx11::basic_string)
对ml_模型的未定义引用::预处理数据(std:u cxx11::basic_string,std::vector,int&,int&,std::vector&')
对ml_模型的未定义引用::获取_预测(std:u cxx11::basic_string,std::vector&)