GithubHelp home page GithubHelp logo

Comments (4)

huiguangjun avatar huiguangjun commented on July 19, 2024

你们的程序,上传的文件大小有多大?

UploadObjectRequest 的参数 都是怎么设置的?

另外,你们的程序会不会 用到 jsoncpp 库?

from aliyun-oss-cpp-sdk.

miaotianlei avatar miaotianlei commented on July 19, 2024

你们的程序,上传的文件大小有多大?
UploadObjectRequest 的参数 都是怎么设置的?
另外,你们的程序会不会 用到 jsoncpp 库?

上面错误堆栈信息后面跟着的就是测试链接文件

以下是调用代码
AlibabaCloud::OSS::OssClient* pClient = (AlibabaCloud::OSS::OssClient*)openOssClient(pobjItem);
AlibabaCloud::OSS::UploadObjectRequest request(pszBucket, pszRemoteName, pszLocalFile, strTmp, 4096000, 5);
AlibabaCloud::OSS::TransferProgress progressCallback = { _uploadProgressCallback, pobjItem };
request.setTransferProgress(progressCallback);
auto outcome = pClient->ResumableUploadObject(request);

from aliyun-oss-cpp-sdk.

huiguangjun avatar huiguangjun commented on July 19, 2024

该问题是由jsoncpp 库冲突引起的。后续的版本 会 对 external 引用的第三方库加名字空间做隔离。

patch 已经提到 dev-1.4.0 分支上。

from aliyun-oss-cpp-sdk.

KingaChou avatar KingaChou commented on July 19, 2024

@huiguangjun 请问oss引入的external的json库的命名空间有做隔离吗?
为什么我看到external/json下的json文件用的还是namespace Json.
这跟jsoncpp原有的命令空间还是一样的,我这边用的master分支编译,项目有用到libjsoncpp,报冲突了。

from aliyun-oss-cpp-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.