BoomingTech/Piccolo

Bug Report | MSVC下的编译失败问题与可行修改措施

Opened this issue · 0 comments

Describe the bug | Bug描述

  1. tinyobjloadercmake_minimum_required 过低导致 cmake -B build 失败
  2. Jolt\Core\JobSystemThreadPool.cpp 使用了时间字面量 us 但是未导入 chrono 库,导致编译失败
  3. (可选)engine/source/editor/CMakeLists.txt:44 缺少 POST_BUILD 标记

可行修复措施

参考 #503

Steps to reproduce | 如何复现
Steps to reproduce the behavior:

  1. 拉取最新提交
  2. 使用 build_windows.bat

Screenshots/Logs | 截图/日志

  1. tinyobjloader 的 cmake 版本过低截图:
Image
  1. Jolt
Image
  1. add_custom_command
Image

Desktop | 桌面环境

  • OS: Windows
  • Version Win11
  • Compiler MSVC 2022
  • CMake Version: 4.0.0