当前位置:网站首页>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工程
边栏推荐
猜你喜欢

Learn the first program of database

Modification of annotation based three-tier project and the way of adding package scanning

传奇开区网站如何添加流量统计代码

使用Jstack、Jconsole和jvisualvm进行死锁分析

Functions in MySQL statements

The method and detailed code of automatically pop-up and QQ group when players visit the website

The song of the virtual idol was originally generated in this way!

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

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

Self join and joint query of MySQL
随机推荐
AttributeError: ‘module‘ object has no attribute ‘create_ connection‘
Force deduction ----- sort odd and even subscripts respectively
VirtualBox has expanded the capacity of virtual hard disk (without modifying the original data)
The latest tank battle 2022 - Notes on the whole development -2
Deadlock analysis using jstack, jconsole, and jvisualvm
How to make the characters in the photos laugh? HMS core video editing service one click smile function makes people smile more naturally
JS (foreach) return cannot end the function solution
What if the office prompts that the system configuration cannot run?
7.2-function-overloading
JS (in ES6) sync & await understanding
Adb常用命令列表
Solve the warning prompt of MySQL mapping file
How does WPS use smart fill to quickly fill data? WPS method of quickly filling data
Visual Basic .Net 如何获取命令参数
[wechat applet -- solve the alignment problem of the last line of display:flex. (discontinuous arrangement will be divided into two sides)]
Cache penetration, cache breakdown, cache avalanche and Solutions
Northeast University Data Science Foundation (matlab) - Notes
Teardown 解除时间限制的方法
Arfoundation starts from scratch 8-geospatial API (geospatial) development
SQL log