当前位置:网站首页>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工程
边栏推荐
- 缓存穿透、缓存击穿、缓存雪崩以及解决方法
- Let you understand several common traffic exposure schemes in kubernetes cluster
- How to make the characters in the photos laugh? HMS core video editing service one click smile function makes people smile more naturally
- 关于thymeleaf的配置与使用
- Scikit learn -- steps and understanding of machine learning application development
- Self join and joint query of MySQL
- 后置通知的流程分析与功能实现有哪些内容你还记得吗?
- 【[第一次写博客]Uda课程中的P控制器实现说明】
- Ros1 dead chicken data is stored in txt and SQLite
- 【2022新生学习】第三周要点
猜你喜欢

The latest tank battle 2022 - Notes on the whole development -2
![[2022 freshmen learning] key points of the third week](/img/21/6a2c4f7e9114260797497d99b75cd6.png)
[2022 freshmen learning] key points of the third week

Unity3D - 物体太远看不见的问题

基于注解的三层项目的改造及添加包扫描的方式

Arfoundation starts from zero 9-ar anchor

Deep learning brush a bunch of tricks of SOTA

Getting started with arfoundation tutorial 10- plane detection and placement

Understand activity workflow

Use annotation test in idea

How does WPS take quick screenshots? WPS quick screenshot method
随机推荐
NumPy基础
关于thymeleaf的配置与使用
Solve the warning prompt of MySQL mapping file
Unity Metaverse(三)、Protobuf & Socket 实现多人在线
时间序列分析的表示学习时代来了?
scikit-learn——机器学习应用开发的步骤和理解
2021-11-02
Use annotation test in idea
Understand activity workflow
[untitled]
[sudden] solve remote: support for password authentication was removed on August 13, 2021. please use a perso
Create a mindscore environment in modelars, install mindvision, and conduct in-depth learning and training (Huawei)
Ros1 dead chicken data is stored in txt and SQLite
[wechat applet -- solve the alignment problem of the last line of display:flex. (discontinuous arrangement will be divided into two sides)]
Unity metaverse (III), protobuf & socket realize multi person online
最新坦克大战2022-全程开发笔记-2
ODOO开发教程之图表
Open source Huizhi creates the future | the openeuler sub forum of 2022 open atom global open source summit was successfully held
7.2-function-overloading
Mysql多对多关系,分组拼接把多个数据查询到一条数据上