当前位置:网站首页>vs2019编译cryengine失败问题处理
vs2019编译cryengine失败问题处理
2022-07-29 05:08:00 【longlongway2012】
编译原由
cryengine从5.7开始代码采用新的发布方式,重新绑定github账户,觉得麻烦后来在自己电脑重新找到5.6.7代码编译,不想中间出现了许多,再次记录下来,以免人重蹈覆辙。
编译环境
vs2019 + windows sdk:10.0.20348.0
遇到问题
pow 编译出现类型转换,警告视为错误
通过在修改cmakelist文件,添加option,降低错误检测级别add_compile_options(/W4 /WX-)C2102 &要求左值-
找到两种修复方法:1. 修改项目-》c/C++->语言-》符合模式改为: /permissive 或: 2. 通过cmake中关闭 OPTION_MSVC_PERMISSIVE_MINUS 开关c2279 mapi.h 异常规范错误
vs模式编译使用了C++14标准,开启c++17没有此错误,修改方法:set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF)rc 编译失败
发现没有下载szip第三方库,从新下载szip,使用cmake重新编译rc工程
边栏推荐
- Jackson parsing JSON detailed tutorial
- 最新坦克大战2022-全程开发笔记-3
- 传奇服务端如何添加地图
- 6.2 function-parameters
- Qt版的贪食蛇游戏项目
- What if the office prompts that the system configuration cannot run?
- Solution | get the relevant information about the current employees' highest salary in each department |
- 2021-11-02
- Cache penetration, cache breakdown, cache avalanche and Solutions
- Deadlock analysis using jstack, jconsole, and jvisualvm
猜你喜欢

自贸经济中架起的“隐形桥梁”:国货精品与中国AI力量

The representation of time series analysis: is the era of learning coming?

那个准时上下班,从不愿意加班加点的人,在我前面升职了...

Huawei ilearning AI mathematics foundation course notes

2022年SPSSPRO认证杯数学建模B题第二阶段方案及赛后总结

Diagram of odoo development tutorial

【2022新生学习】第三周要点

How to solve the problem of configuring the progress every time Office2010 is opened?

Solution | get the relevant information about the current employees' highest salary in each department |

C语言连连看秒杀辅助
随机推荐
Operator operation list of spark
MySQL sorts the queried result set according to the specified sequence
QT学习:使用JSON/XML等非ts文件实现多语言国际化
6.2 function-parameters
开区网站打开自动播放音乐的添加跟修改教程
Mysql语句中的函数
Qml类型:MouseArea
2022年SPSSPRO认证杯数学建模B题第二阶段方案及赛后总结
Mysql多对多关系,分组拼接把多个数据查询到一条数据上
About the configuration and use of thymeleaf
7.3-function-templates
【2022新生学习】第三周要点
Webrtc audio anti weak network technology (Part 2)
Getting started with arfoundation tutorial 10- plane detection and placement
ODOO开发教程之透视表
[wechat applet -- solve the alignment problem of the last line of display:flex. (discontinuous arrangement will be divided into two sides)]
Force deduction ----- sort odd and even subscripts respectively
Database course design of online assistant teaching platform for high school chemistry
MySQL many to many relationship, grouping and splicing to query multiple data to one data
QT系列---安装