当前位置:网站首页>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工程
边栏推荐
- "Invisible Bridge" built in the free trade economy: domestic products and Chinese AI power
- Teardown 解除时间限制的方法
- Understand activity workflow
- How does WPS use smart fill to quickly fill data? WPS method of quickly filling data
- 2022年泰迪杯数据挖掘挑战赛C题方案及赛后总结
- 深度学习刷SOTA的一堆trick
- 后置通知的流程分析与功能实现有哪些内容你还记得吗?
- Qml类型:State 状态
- 【[第一次写博客]Uda课程中的P控制器实现说明】
- ODOO开发教程之透视表
猜你喜欢

Use annotation test in idea

Apache POI实现Excel导入读取数据和写入数据并导出

About realizing page Jump of website in Servlet

Open source Huizhi creates the future | the openeuler sub forum of 2022 open atom global open source summit was successfully held

【文件下载】Easyexcel快速上手

What if the computer cannot open excel? The solution of Excel not opening

Young freshmen yearn for more open source | here comes the escape guide from open source to employment!

最新坦克大战2022-全程开发笔记-2

JS (foreach) return cannot end the function solution

Deadlock analysis using jstack, jconsole, and jvisualvm
随机推荐
JS (foreach) return cannot end the function solution
使用Jstack、Jconsole和jvisualvm进行死锁分析
Unity Metaverse(三)、Protobuf & Socket 实现多人在线
VirtualBox has expanded the capacity of virtual hard disk (without modifying the original data)
AttributeError: ‘module‘ object has no attribute ‘create_ connection‘
Qml控件:ComboBox
Unity metaverse (III), protobuf & socket realize multi person online
What if the office prompts that the system configuration cannot run?
自定义Qml控件:ImageButton
The representation of time series analysis: is the era of learning coming?
Use annotation test in idea
Network Security Learning - Intranet Security 1
2021-10-23
How mongodb inserts, deletes and updates documents
Button for QT custom switch effect
Unity3D - 物体太远看不见的问题
Rimworld通过SteamCMD上传创意工坊的方法
This article takes you to understand the implementation of surround notification @around and final notification @after
Functions in MySQL statements
SQL log