当前位置:网站首页>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...
边栏推荐
- 尊重客观事实
- 7.30模拟赛总结
- MongoDB打破了原则引入SQL?
- OneFlow source code analysis: Op, Kernel and interpreter
- 【Pointing to Offer】Pointing to Offer 18. Delete the node of the linked list
- 浅聊对比学习(Contrastive Learning)第一弹
- Swiper rotates pictures and plays background music
- The large-scale application of artificial intelligence AI products in industrial-grade mature shipping ports of CIMC World Lianda will create a new generation of high-efficiency smart ports and innova
- Recommendation | People who are kind to you, don't repay them by inviting them to eat
- Deepen school-enterprise cooperation and build an "overpass" for the growth of technical and skilled talents
猜你喜欢
MongoDB打破了原则引入SQL?
你好,我的新名字叫“铜锁/Tongsuo”
The Meta metaverse division lost 2.8 billion in the second quarter!Still want to keep betting?Metaverse development has yet to see a way out!
【剑指 Offe】剑指 Offer 18. 删除链表的节点
【Pointing to Offer】Pointing to Offer 22. The kth node from the bottom in the linked list
Pytorch基础--tensorboard使用(一)
[Prometheus] An optimization record of the Prometheus federation [continued]
沉浸式体验科大讯飞2022消博会“官方指定产品”
golang日志库zerolog使用记录
Recommendation | People who are kind to you, don't repay them by inviting them to eat
随机推荐
Mysql execution principle analysis
线性筛求积性函数
Spark学习:用spark实现ETL
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
在华为云,见证迷你世界的神奇觉醒
还有三天忙完
6块钱1斤,日本公司为何来中国收烟头?
6 yuan per catty, why do Japanese companies come to China to collect cigarette butts?
7.30模拟赛总结
Basic use of scrapy
What is the value of biomedical papers? How to translate the papers into Chinese and English?
AI基础:图解Transformer
Critical Reviews | 南农邹建文组综述全球农田土壤抗生素与耐药基因分布
MYSQL (Basic) - An article takes you into the wonderful world of MYSQL
redis
scrapy基本使用
Codeblocks + Widgets create window code analysis
积性函数
Fixed asset visualization intelligent management system
AWS console