当前位置:网站首页>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...
边栏推荐
猜你喜欢
【PHPWord】Quick Start of PHPWord in PHPOffice Suite
MongoDB打破了原则引入SQL?
kotlin的by lazy
延时队列优化 (2)
经济新闻:错误# 15:初始化libiomp5md。dll,但发现libiomp5md。已经初始化dll。解决方法
VBA 运行时错误‘-2147217900(80040e14):自动化(Automation)错误
Swiper rotates pictures and plays background music
Basic use of scrapy
好未来单季营收2.24亿美元:同比降84% 张邦鑫持股26.3%
kotlin by lazy
随机推荐
(2022杭电多校四)1001-Link with Bracket Sequence II(区间动态规划)
Graphic LeetCode -- 11. Containers of most water (difficulty: medium)
Chapter 14 Type Information
第14章 类型信息
VBA 运行时错误‘-2147217900(80040e14):自动化(Automation)错误
跨进程启动后台服务
MongoDB打破了原则引入SQL?
DM8: Single database and single instance to build a local data guard service
OneFlow source code analysis: Op, Kernel and interpreter
Pytorch基础--tensorboard使用(一)
微信小程序云开发 | 城市信息管理
LeetCode 练习——关于查找数组元素之和的两道题
【Prometheus】Prometheus联邦的一次优化记录[续]
What kind of framework is friendly to developers?
牛客刷题系列之进阶版(搜索旋转排序数组,链表内指定区间反转)
Two-point answer naked question (plus a little pigeonhole principle)
Hello, my new name is "Bronze Lock/Tongsuo"
【Qt Designer工具的使用】
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
Recommendation | People who are kind to you, don't repay them by inviting them to eat