Skip to content

Conversation

@Mysvac
Copy link

@Mysvac Mysvac commented Jul 16, 2025

修复 issue #502

调整内容如下:

  1. 修改tinyobjloader/CMakeLists.txt, 最低版本改为 3.20 。(否则高版本 CMake 无法使用)

  2. JobSystemThreadPool.h 开头导入 <chrono> ,修复 us 字面量不可用的错误。

  3. JoltPhysics/Build/CMakeLists.txt 添加 /Wv:18 标记位,避免缺少默认 = 生成导致的编译失败。

  4. 修改Jolt.cmake ,禁用预编译头

  5. 调整 editor/CMakeLists.txtadd_custom_command 命令,加上 POST_BUILD 标准,消除一处警告。

  6. lua_component.cpp 错误分支抛出异常,消除无返回值的警告

  7. debug_draw_font.cpp 正常抛出异常。

  8. 项目根目录的 CMake 添加 CMAKE_EXPORT_COMPILE_COMMANDS 命令

@Mysvac Mysvac changed the title 修复 2 个编译失败问题 修复多个编译失败与警告问题 Aug 13, 2025
@Suceru

This comment was marked as resolved.

@Suceru

This comment was marked as resolved.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants