当前位置:网站首页>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...
边栏推荐
猜你喜欢
Scrapy framework is introduced
Swiper轮播图片并播放背景音乐
谷歌AlphaFold近日宣称预测出地球上几乎所有蛋白质结构
MySQL data types
SwiftUI iOS 精品开源项目之 完整烘焙食品菜谱App基于SQLite(教程含源码)
CCNA-网络汇总 超网(CIDR) 路由最长掩码匹配
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!
What is the value of biomedical papers? How to translate the papers into Chinese and English?
Meta元宇宙部门第二季度亏损28亿!仍要继续押注?元宇宙发展尚未看到出路!
经济新闻:错误# 15:初始化libiomp5md。dll,但发现libiomp5md。已经初始化dll。解决方法
随机推荐
一文读懂“语言模型”
开心的聚餐
DM8:单库单实例搭建本地数据守护服务
2种手绘风格效果比较,你更喜欢哪一种呢?
【剑指 Offer】剑指 Offer 22. 链表中倒数第k个节点
WEBSOCKETPP使用简介+demo
【PHPWord】Quick Start of PHPWord in PHPOffice Suite
Meta元宇宙部门第二季度亏损28亿!仍要继续押注?元宇宙发展尚未看到出路!
scrapy基本使用
After 23 years of operation, the former "China's largest e-commerce website" has turned yellow...
【网站放大镜效果】两种方式实现
Codeblocks + Widgets create window code analysis
【Qt Designer工具的使用】
MongoDB打破了原则引入SQL?
常见链表题及其 Go 实现
What is the value of biomedical papers? How to translate the papers into Chinese and English?
高精度加法
怎么样的框架对于开发者是友好的?
博纳影通过IPO注册:阿里腾讯是股东 受疫情冲击明显
牛客刷题系列之进阶版(组队竞赛,排序子序列,倒置字符串, 删除公共字符,修理牧场)