Closed wongdu closed 4 years ago
报错" error LNK2019: 无法解析的外部符号 "public: class AlibabaCloud::OSS::Outcome<class AlibabaCloud::OSS::OssError,class AlibabaCloud::OSS::GetObjectResult> cdecl AlibabaCloud::OSS::OssClient::GetObjectW(class AlibabaCloud::OSS::GetObjectRequest const &)const " (?GetObjectW@OssClient@OSS@AlibabaCloud@@QEBA?AV?$Outcome@VOssError@OSS@AlibabaCloud@@VGetObjectResult@23@@23@AEBVGetObjectRequest@23@@Z),该符号在函数 "int cdecl AliYunOssDownLoadFile(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::basic_string<char,struct std::char_traits,class std::allocator > &)" (?AliYunOssDownLoadFile@@YAHAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@@Z) 中被引用",请问怎么解决
哥们,怎么解决的?我一直没有解决
参考:https://blog.csdn.net/yangchuangbao/article/details/80829966
报错" error LNK2019: 无法解析的外部符号 "public: class AlibabaCloud::OSS::Outcome<class AlibabaCloud::OSS::OssError,class AlibabaCloud::OSS::GetObjectResult> cdecl AlibabaCloud::OSS::OssClient::GetObjectW(class AlibabaCloud::OSS::GetObjectRequest const &)const " (?GetObjectW@OssClient@OSS@AlibabaCloud@@QEBA?AV?$Outcome@VOssError@OSS@AlibabaCloud@@VGetObjectResult@23@@23@AEBVGetObjectRequest@23@@Z),该符号在函数 "int cdecl AliYunOssDownLoadFile(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::basic_string<char,struct std::char_traits,class std::allocator > &)" (?AliYunOssDownLoadFile@@YAHAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEAV12@@Z) 中被引用",请问怎么解决