Skip to content

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

Description

@Mysvac

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions