当前位置:网站首页>SimpleOSS third-party library libcurl and engine libcurl error solution
SimpleOSS third-party library libcurl and engine libcurl error solution
2022-07-30 19:01:00 【man's house】
SimpleOSS provides a wealth of APIs for accessing OSS object servers, which are also directly adopted by many companies.With the upgrade of UE version, UE integrates many third-party libraries into its own system, such as libcurl library:

The earliest version of SimpleOSS can only support UE4.25 packaging, but UE4.26 and above cannot be packaged, and a packaging error libcur library error will be reported. At this time, the independent program can be packaged, but when the official version of UE5 is reached, the independent program cannot be packaged.Packaging, even compiling, is difficult, and will report libcurl conflict errors.How to solve it?
The solution we use here is to change the library:

It is not to replace the latest library of Alibaba Cloud API, but to replace the conflicting libcurl library with a third-party library of UE5, and this problem can be solved.
This is a third-party library for UE5.

This is the location of the third-party libcurl library for UE5: 
Copy it to the following location, delete the original libcurl.lib and change it to UE5's libcurl_a.lib

Replace the header file with UE5's curl

This is the location of UE5's third-party library libcurl.h. Copy it directly to Alibaba Cloud's third-party library location

Of course it's not over yet. At this time, there is no problem in the compilation of the independent program, but the compilation of the UE5 engine will still report an error:
If you need to go to a third-party library, re-link under build and cs


Of course it's not over yet. At this time, there is no problem with the independent program compilation, but the UE5 engine compilation will still report an error:
We need to open oss_c_sdk and add the following:

This step is very critical, because it involves third-party export:

We have to enable _declspec(dllexport) so that it can be truly exported and perfectly integrated with UE5.
If the configuration is so troublesome, just download the configured content directly:

Thank you for watching...
边栏推荐
- Pytorch foundation -- tensorboard use (1)
- 怎么样的框架对于开发者是友好的?
- [Prometheus] An optimization record of the Prometheus federation [continued]
- MongoDB打破了原则引入SQL?
- 【PHPWord】PHPOffice 套件之PHPWord快速入门
- 生物医学论文有何价值 论文中译英怎样翻译效果好
- LeetCode Exercise - Two Questions About Finding Sum of Array Elements
- LeetCode每日一题(1717. Maximum Score From Removing Substrings)
- 在华为云,见证迷你世界的神奇觉醒
- NC | Tao Liang Group of West Lake University - TMPRSS2 "assists" virus infection and mediates the host invasion of Clostridium sothrix hemorrhagic toxin...
猜你喜欢

防抖和节流有什么区别,分别用于什么场景?

CCNA-子网划分(VLSM)

部分分类网络性能对比

【Swords Offer】Swords Offer 17. Print n digits from 1 to the largest

延时队列优化 (2)

redis

牛客刷题系列之进阶版(组队竞赛,排序子序列,倒置字符串, 删除公共字符,修理牧场)

中集世联达工业级成熟航运港口人工智能AI产品规模化应用,打造新一代高效能智慧港口和创新数字港口,全球港航人工智能能领军者中集飞瞳

基于inquirer封装一个控制台文件选择器

CIMC Shilian Dafeitong is the global industrial artificial intelligence AI leader, the world's top AI core technology, high generalization, high robustness, sparse sample continuous learning, industri
随机推荐
Anaconda Navigator卡在loading applications
Swiper轮播图片并播放背景音乐
WEBSOCKETPP使用简介+demo
实体中增加操作方法
CCNA-ACL(访问控制列表)标准ACL 扩展ACL 命名ACL
【PHPWord】PHPOffice 套件之PHPWord快速入门
Common linked list problems and their Go implementation
VBA 运行时错误‘-2147217900(80040e14):自动化(Automation)错误
跨域问题的解决方法
CCNA-子网划分(VLSM)
博纳影通过IPO注册:阿里腾讯是股东 受疫情冲击明显
Pytorch基础--tensorboard使用(一)
Delay queue optimization (2)
7.29模拟赛总结
6 yuan per catty, why do Japanese companies come to China to collect cigarette butts?
基于inquirer封装一个控制台文件选择器
积性函数
ROS 环境使用第三方动态链接库(.so)文件
MySQL数据类型
The use of terminal split screen tool Terminalx