BoomingTech / Piccolo

Piccolo (formerly Pilot) – mini game engine for games104
MIT License
5.79k stars 1.8k forks source link

window 编译出错 #365

Closed cjj-1 closed 1 year ago

cjj-1 commented 1 year ago

1>------ 已启动生成: 项目: ZERO_CHECK, 配置: Debug x64 ------ 1>Checking File Globs 2>------ 已启动生成: 项目: PilotPreCompile, 配置: Debug x64 ------ 3>------ 已启动生成: 项目: PilotShaderCompile, 配置: Debug x64 ------ 2>* 2>*** [Precompile] BEGIN 2> 2> 2>Parsing reflection data for target "Pilot" 2>Parsing in D:/LeStoreDownload/Piccolo/engine/source 2>Parsing project file: D:/LeStoreDownload/Piccolo/engine/bin/precompile.json 2>Generating the Source Include file: D:/LeStoreDownload/Piccolo/build/parser_header.h 2>Parsing the whole project... 2>m_source_include_file_name D:/LeStoreDownload/Piccolo/build/parser_header.h 2>Start generate runtime schemas(32)... 2>Completed in 701ms 2>+++ Precompile finished +++ 4>------ 已启动生成: 项目: PilotRuntime, 配置: Debug x64 ------ 4>meta_example.cpp 4>reflection.cpp 4>reflection_register.cpp 4>engine.cpp 4>animation_loader.cpp 4>mesh_component.cpp 4>level.cpp 4>object.cpp 4>world_manager.cpp 4>directional_light.cpp 4>lighting.cpp 4>pick.cpp 4>point_light.cpp 4>postprocess.cpp 4>scene_manager.cpp 4>asset_manager.cpp 4>D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp(151): error C2039: “find_if”: 不是“std”的成员 4>D:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\unordered_set(19): note: 参见“std”的声明 4>D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp(151): error C3861: “find_if”: 找不到标识符 4>D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp(154): error C2679: 二进制“!=”: 没有找到接受“std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>”类型的右操作数的运算符(或没有可接受的转换) 4> with 4> [ 4> _Ty=Pilot::Reflection::FieldAccessor 4> ] 4>D:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\exception(336): note: 可能是“bool std::operator !=(const std::exception_ptr &,const std::exception_ptr &) noexcept”[通过使用参数相关的查找找到] (编译源文件 D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp) 4>D:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\exception(341): note: 或 “bool std::operator !=(std::nullptr_t,const std::exception_ptr &) noexcept”[使用参数相关的查找找到] (编译源文件 D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp) 4>D:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\exception(346): note: 或 “bool std::operator !=(const std::exception_ptr &,std::nullptr_t) noexcept”[使用参数相关的查找找到] (编译源文件 D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp) 4>D:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\system_error(291): note: 或 “bool std::operator !=(const std::error_code &,const std::error_code &) noexcept”[使用参数相关的查找找到] (编译源文件 D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp) 4>D:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\system_error(296): note: 或 “bool std::operator !=(const std::error_code &,const std::error_condition &) noexcept”[使用参数相关的查找找到] (编译源文件 D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp) 4>D:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\system_error(301): note: 或 “bool std::operator !=(const std::error_condition &,const std::error_code &) noexcept”[使用参数相关的查找找到] (编译源文件 D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp) 4>D:\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\system_error(306): note: 或 “bool std::operator !=(const std::error_condition &,const std::error_condition &) noexcept”[使用参数相关的查找找到] (编译源文件 D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp) 4>D:\LeStoreDownload\Piccolo\engine\source\runtime\core\meta\reflection\reflection.cpp(154): note: 尝试匹配参数列表“(const unknown-type, std::_Vector_iterator<std::_Vector_val<std::_Simple_types<_Ty>>>)”时 4> with 4> [ 4> _Ty=Pilot::Reflection::FieldAccessor 4> ] 4>已完成生成项目“PilotRuntime.vcxproj”的操作 - 失败。 5>------ 已启动生成: 项目: PilotEditor, 配置: Debug x64 ------ 5>editor_file_service.cpp 5>editor_ui.cpp 5>LINK : fatal error LNK1104: 无法打开文件“..\runtime\Debug\PilotRuntime.lib” 5>已完成生成项目“PilotEditor.vcxproj”的操作 - 失败。 ========== 生成: 成功 3 个,失败 2 个,最新 6 个,跳过 0 个 ==========

hyv1001 commented 1 year ago

引擎当前不支持vs2017,请升级到vs2019