QT paddleOCRdemo编译报错
11:37:57: 为项目paddleOCRDemo执行步骤 ...
11:37:57: 配置没有改变, 跳过 qmake 步骤。
11:37:57: 正在启动 "D:\Qt\Qt5.14.2\Tools\QtCreator\bin\jom\jom.exe"
D:\Qt\Qt5.14.2\Tools\QtCreator\bin\jom\jom.exe -f Makefile.Release
xcopy /s /q /y /i D:\QT_Project\paddleOCR\inference D:\QT_Project\build-paddleOCRDemo-Desktop_Qt_5_14_2_MSVC2017_64bit-Release\inference && copy /y D:\QT_Project\paddleOCR\config.txt D:\QT_Project\build-paddleOCRDemo-Desktop_Qt_5_14_2_MSVC2017_64bit-Release\config.txt && copy /y D:\QT_Project\paddleOCR\ppocr_keys_v1.txt D:\QT_Project\build-paddleOCRDemo-Desktop_Qt_5_14_2_MSVC2017_64bit-Release\ppocr_keys_v1.txt
复制了 6 个文件
已复制 1 个文件。
已复制 1 个文件。
link /NOLOGO /DYNAMICBASE /NXCOMPAT /OPT:REF /INCREMENTAL:NO /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='*' processorArchitecture='*'" /MANIFEST:embed /OUT:.\paddleOCRDemo.exe @C:\Users\TANGXI~1\AppData\Local\Temp\paddleOCRDemo.exe.20196.16.jom
LINK : warning LNK4044: 无法识别的选项“/paddle_inference”;已忽略
release\main.obj : warning LNK4042: 对象被多次指定;已忽略多余的指定
release\mainwindow.obj : warning LNK4042: 对象被多次指定;已忽略多余的指定
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle_infer::Tensor::Reshape(class std::vector<int,class std::allocator<int> > const &)" (__imp_?Reshape@Tensor@paddle_infer@@QEAAXAEBV?$vector@HV?$allocator@H@std@@@std@@@Z),函数 "public: class cv::Mat __cdecl PaddleOCR::Classifier::Run(class cv::Mat &)" (?Run@Classifier@PaddleOCR@@QEAA?AVMat@cv@@AEAV34@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle_infer::Tensor::Reshape(class std::vector<int,class std::allocator<int> > const &)" (__imp_?Reshape@Tensor@paddle_infer@@QEAAXAEBV?$vector@HV?$allocator@H@std@@@std@@@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle_infer::Tensor::Reshape(class std::vector<int,class std::allocator<int> > const &)" (__imp_?Reshape@Tensor@paddle_infer@@QEAAXAEBV?$vector@HV?$allocator@H@std@@@std@@@Z)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::vector<int,class std::allocator<int> > __cdecl paddle_infer::Tensor::shape(void)const " (__imp_?shape@Tensor@paddle_infer@@QEBA?AV?$vector@HV?$allocator@H@std@@@std@@XZ),函数 "public: class cv::Mat __cdecl PaddleOCR::Classifier::Run(class cv::Mat &)" (?Run@Classifier@PaddleOCR@@QEAA?AVMat@cv@@AEAV34@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::vector<int,class std::allocator<int> > __cdecl paddle_infer::Tensor::shape(void)const " (__imp_?shape@Tensor@paddle_infer@@QEBA?AV?$vector@HV?$allocator@H@std@@@std@@XZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::vector<int,class std::allocator<int> > __cdecl paddle_infer::Tensor::shape(void)const " (__imp_?shape@Tensor@paddle_infer@@QEBA?AV?$vector@HV?$allocator@H@std@@@std@@XZ)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __cdecl paddle_infer::Tensor::~Tensor(void)" (__imp_??1Tensor@paddle_infer@@QEAA@XZ),函数 "public: __cdecl std::unique_ptr<class paddle_infer::Tensor,struct std::default_delete<class paddle_infer::Tensor> >::~unique_ptr<class paddle_infer::Tensor,struct std::default_delete<class paddle_infer::Tensor> >(void)" (??1?$unique_ptr@VTensor@paddle_infer@@U?$default_delete@VTensor@paddle_infer@@@std@@@std@@QEAA@XZ) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __cdecl paddle_infer::Tensor::~Tensor(void)" (__imp_??1Tensor@paddle_infer@@QEAA@XZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __cdecl paddle_infer::Tensor::~Tensor(void)" (__imp_??1Tensor@paddle_infer@@QEAA@XZ)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __cdecl paddle::AnalysisConfig::AnalysisConfig(void)" (__imp_??0AnalysisConfig@paddle@@QEAA@XZ),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __cdecl paddle::AnalysisConfig::AnalysisConfig(void)" (__imp_??0AnalysisConfig@paddle@@QEAA@XZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __cdecl paddle::AnalysisConfig::AnalysisConfig(void)" (__imp_??0AnalysisConfig@paddle@@QEAA@XZ)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::SetModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?SetModel@AnalysisConfig@paddle@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::SetModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?SetModel@AnalysisConfig@paddle@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::SetModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?SetModel@AnalysisConfig@paddle@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@0@Z)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableUseGpu(unsigned __int64,int)" (__imp_?EnableUseGpu@AnalysisConfig@paddle@@QEAAX_KH@Z),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableUseGpu(unsigned __int64,int)" (__imp_?EnableUseGpu@AnalysisConfig@paddle@@QEAAX_KH@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableUseGpu(unsigned __int64,int)" (__imp_?EnableUseGpu@AnalysisConfig@paddle@@QEAAX_KH@Z)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::DisableGpu(void)" (__imp_?DisableGpu@AnalysisConfig@paddle@@QEAAXXZ),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::DisableGpu(void)" (__imp_?DisableGpu@AnalysisConfig@paddle@@QEAAXXZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::DisableGpu(void)" (__imp_?DisableGpu@AnalysisConfig@paddle@@QEAAXXZ)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableTensorRtEngine(int,int,int,enum paddle::AnalysisConfig::Precision,bool,bool)" (__imp_?EnableTensorRtEngine@AnalysisConfig@paddle@@QEAAXHHHW4Precision@12@_N1@Z),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableTensorRtEngine(int,int,int,enum paddle::AnalysisConfig::Precision,bool,bool)" (__imp_?EnableTensorRtEngine@AnalysisConfig@paddle@@QEAAXHHHW4Precision@12@_N1@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableTensorRtEngine(int,int,int,enum paddle::AnalysisConfig::Precision,bool,bool)" (__imp_?EnableTensorRtEngine@AnalysisConfig@paddle@@QEAAXHHHW4Precision@12@_N1@Z)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableMKLDNN(void)" (__imp_?EnableMKLDNN@AnalysisConfig@paddle@@QEAAXXZ),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableMKLDNN(void)" (__imp_?EnableMKLDNN@AnalysisConfig@paddle@@QEAAXXZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableMKLDNN(void)" (__imp_?EnableMKLDNN@AnalysisConfig@paddle@@QEAAXXZ)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::SetCpuMathLibraryNumThreads(int)" (__imp_?SetCpuMathLibraryNumThreads@AnalysisConfig@paddle@@QEAAXH@Z),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::SetCpuMathLibraryNumThreads(int)" (__imp_?SetCpuMathLibraryNumThreads@AnalysisConfig@paddle@@QEAAXH@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::SetCpuMathLibraryNumThreads(int)" (__imp_?SetCpuMathLibraryNumThreads@AnalysisConfig@paddle@@QEAAXH@Z)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableMemoryOptim(bool)" (__imp_?EnableMemoryOptim@AnalysisConfig@paddle@@QEAAX_N@Z),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableMemoryOptim(bool)" (__imp_?EnableMemoryOptim@AnalysisConfig@paddle@@QEAAX_N@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::EnableMemoryOptim(bool)" (__imp_?EnableMemoryOptim@AnalysisConfig@paddle@@QEAAX_N@Z)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::DisableGlogInfo(void)" (__imp_?DisableGlogInfo@AnalysisConfig@paddle@@QEAAXXZ),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::DisableGlogInfo(void)" (__imp_?DisableGlogInfo@AnalysisConfig@paddle@@QEAAXXZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::DisableGlogInfo(void)" (__imp_?DisableGlogInfo@AnalysisConfig@paddle@@QEAAXXZ)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: __cdecl paddle::AnalysisConfig::~AnalysisConfig(void)" (__imp_??1AnalysisConfig@paddle@@QEAA@XZ),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __cdecl paddle::AnalysisConfig::~AnalysisConfig(void)" (__imp_??1AnalysisConfig@paddle@@QEAA@XZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: __cdecl paddle::AnalysisConfig::~AnalysisConfig(void)" (__imp_??1AnalysisConfig@paddle@@QEAA@XZ)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __cdecl paddle_infer::Predictor::GetInputNames(void)" (__imp_?GetInputNames@Predictor@paddle_infer@@QEAA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@XZ),函数 "public: class cv::Mat __cdecl PaddleOCR::Classifier::Run(class cv::Mat &)" (?Run@Classifier@PaddleOCR@@QEAA?AVMat@cv@@AEAV34@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __cdecl paddle_infer::Predictor::GetInputNames(void)" (__imp_?GetInputNames@Predictor@paddle_infer@@QEAA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@XZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __cdecl paddle_infer::Predictor::GetInputNames(void)" (__imp_?GetInputNames@Predictor@paddle_infer@@QEAA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@XZ)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::unique_ptr<class paddle_infer::Tensor,struct std::default_delete<class paddle_infer::Tensor> > __cdecl paddle_infer::Predictor::GetInputHandle(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?GetInputHandle@Predictor@paddle_infer@@QEAA?AV?$unique_ptr@VTensor@paddle_infer@@U?$default_delete@VTensor@paddle_infer@@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z),函数 "public: class cv::Mat __cdecl PaddleOCR::Classifier::Run(class cv::Mat &)" (?Run@Classifier@PaddleOCR@@QEAA?AVMat@cv@@AEAV34@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::unique_ptr<class paddle_infer::Tensor,struct std::default_delete<class paddle_infer::Tensor> > __cdecl paddle_infer::Predictor::GetInputHandle(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?GetInputHandle@Predictor@paddle_infer@@QEAA?AV?$unique_ptr@VTensor@paddle_infer@@U?$default_delete@VTensor@paddle_infer@@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::unique_ptr<class paddle_infer::Tensor,struct std::default_delete<class paddle_infer::Tensor> > __cdecl paddle_infer::Predictor::GetInputHandle(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?GetInputHandle@Predictor@paddle_infer@@QEAA?AV?$unique_ptr@VTensor@paddle_infer@@U?$default_delete@VTensor@paddle_infer@@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: bool __cdecl paddle_infer::Predictor::Run(void)" (__imp_?Run@Predictor@paddle_infer@@QEAA_NXZ),函数 "public: class cv::Mat __cdecl PaddleOCR::Classifier::Run(class cv::Mat &)" (?Run@Classifier@PaddleOCR@@QEAA?AVMat@cv@@AEAV34@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: bool __cdecl paddle_infer::Predictor::Run(void)" (__imp_?Run@Predictor@paddle_infer@@QEAA_NXZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: bool __cdecl paddle_infer::Predictor::Run(void)" (__imp_?Run@Predictor@paddle_infer@@QEAA_NXZ)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __cdecl paddle_infer::Predictor::GetOutputNames(void)" (__imp_?GetOutputNames@Predictor@paddle_infer@@QEAA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@XZ),函数 "public: class cv::Mat __cdecl PaddleOCR::Classifier::Run(class cv::Mat &)" (?Run@Classifier@PaddleOCR@@QEAA?AVMat@cv@@AEAV34@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __cdecl paddle_infer::Predictor::GetOutputNames(void)" (__imp_?GetOutputNames@Predictor@paddle_infer@@QEAA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@XZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > __cdecl paddle_infer::Predictor::GetOutputNames(void)" (__imp_?GetOutputNames@Predictor@paddle_infer@@QEAA?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@XZ)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class std::unique_ptr<class paddle_infer::Tensor,struct std::default_delete<class paddle_infer::Tensor> > __cdecl paddle_infer::Predictor::GetOutputHandle(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?GetOutputHandle@Predictor@paddle_infer@@QEAA?AV?$unique_ptr@VTensor@paddle_infer@@U?$default_delete@VTensor@paddle_infer@@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z),函数 "public: class cv::Mat __cdecl PaddleOCR::Classifier::Run(class cv::Mat &)" (?Run@Classifier@PaddleOCR@@QEAA?AVMat@cv@@AEAV34@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::unique_ptr<class paddle_infer::Tensor,struct std::default_delete<class paddle_infer::Tensor> > __cdecl paddle_infer::Predictor::GetOutputHandle(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?GetOutputHandle@Predictor@paddle_infer@@QEAA?AV?$unique_ptr@VTensor@paddle_infer@@U?$default_delete@VTensor@paddle_infer@@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class std::unique_ptr<class paddle_infer::Tensor,struct std::default_delete<class paddle_infer::Tensor> > __cdecl paddle_infer::Predictor::GetOutputHandle(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (__imp_?GetOutputHandle@Predictor@paddle_infer@@QEAA?AV?$unique_ptr@VTensor@paddle_infer@@U?$default_delete@VTensor@paddle_infer@@@std@@@std@@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) class std::shared_ptr<class paddle_infer::Predictor> __cdecl paddle_infer::CreatePredictor(struct paddle::AnalysisConfig const &)" (__imp_?CreatePredictor@paddle_infer@@YA?AV?$shared_ptr@VPredictor@paddle_infer@@@std@@AEBUAnalysisConfig@paddle@@@Z),函数 "public: void __cdecl PaddleOCR::Classifier::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@Classifier@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::shared_ptr<class paddle_infer::Predictor> __cdecl paddle_infer::CreatePredictor(struct paddle::AnalysisConfig const &)" (__imp_?CreatePredictor@paddle_infer@@YA?AV?$shared_ptr@VPredictor@paddle_infer@@@std@@AEBUAnalysisConfig@paddle@@@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) class std::shared_ptr<class paddle_infer::Predictor> __cdecl paddle_infer::CreatePredictor(struct paddle::AnalysisConfig const &)" (__imp_?CreatePredictor@paddle_infer@@YA?AV?$shared_ptr@VPredictor@paddle_infer@@@std@@AEBUAnalysisConfig@paddle@@@Z)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl paddle_infer::Tensor::CopyFromCpu<float>(float const *)" (??$CopyFromCpu@M@Tensor@paddle_infer@@QEAAXPEBM@Z),函数 "public: class cv::Mat __cdecl PaddleOCR::Classifier::Run(class cv::Mat &)" (?Run@Classifier@PaddleOCR@@QEAA?AVMat@cv@@AEAV34@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "public: void __cdecl paddle_infer::Tensor::CopyFromCpu<float>(float const *)" (??$CopyFromCpu@M@Tensor@paddle_infer@@QEAAXPEBM@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "public: void __cdecl paddle_infer::Tensor::CopyFromCpu<float>(float const *)" (??$CopyFromCpu@M@Tensor@paddle_infer@@QEAAXPEBM@Z)
ocr_cls.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl paddle_infer::Tensor::CopyToCpu<float>(float *)const " (??$CopyToCpu@M@Tensor@paddle_infer@@QEBAXPEAM@Z),函数 "public: class cv::Mat __cdecl PaddleOCR::Classifier::Run(class cv::Mat &)" (?Run@Classifier@PaddleOCR@@QEAA?AVMat@cv@@AEAV34@@Z) 中引用了该符号
ocr_det.obj : error LNK2001: 无法解析的外部符号 "public: void __cdecl paddle_infer::Tensor::CopyToCpu<float>(float *)const " (??$CopyToCpu@M@Tensor@paddle_infer@@QEBAXPEAM@Z)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "public: void __cdecl paddle_infer::Tensor::CopyToCpu<float>(float *)const " (??$CopyToCpu@M@Tensor@paddle_infer@@QEBAXPEAM@Z)
ocr_cls.obj : error LNK2001: 无法解析的外部符号 "public: __cdecl paddle::AnalysisConfig::~AnalysisConfig(void)" (??1AnalysisConfig@paddle@@QEAA@XZ)
ocr_det.obj : error LNK2001: 无法解析的外部符号 "public: __cdecl paddle::AnalysisConfig::~AnalysisConfig(void)" (??1AnalysisConfig@paddle@@QEAA@XZ)
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "public: __cdecl paddle::AnalysisConfig::~AnalysisConfig(void)" (??1AnalysisConfig@paddle@@QEAA@XZ)
ocr_det.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::SetMkldnnCacheCapacity(int)" (__imp_?SetMkldnnCacheCapacity@AnalysisConfig@paddle@@QEAAXH@Z),函数 "public: void __cdecl PaddleOCR::DBDetector::LoadModel(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?LoadModel@DBDetector@PaddleOCR@@QEAAXAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z) 中引用了该符号
ocr_rec.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: void __cdecl paddle::AnalysisConfig::SetMkldnnCacheCapacity(int)" (__imp_?SetMkldnnCacheCapacity@AnalysisConfig@paddle@@QEAAXH@Z)
.\paddleOCRDemo.exe : fatal error LNK1120: 23 个无法解析的外部命令
jom: D:\QT_Project\build-paddleOCRDemo-Desktop_Qt_5_14_2_MSVC2017_64bit-Release\Makefile.Release [.\paddleOCRDemo.exe] Error 1120
jom: D:\QT_Project\build-paddleOCRDemo-Desktop_Qt_5_14_2_MSVC2017_64bit-Release\Makefile [release] Error 2
11:37:57: 进程"D:\Qt\Qt5.14.2\Tools\QtCreator\bin\jom\jom.exe"退出,退出代码 2 。
Error while building/deploying project paddleOCRDemo (kit: Desktop Qt 5.14.2 MSVC2017 64bit)
When executing step "Make"
11:37:58: Elapsed time: 00:01.