Skip to content

Bug Report #490

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
PlayX-2333 opened this issue Mar 3, 2025 · 4 comments
Open

Bug Report #490

PlayX-2333 opened this issue Mar 3, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@PlayX-2333
Copy link

Describe the bug | Bug描述
Bug描述
在直接git clone之后运行build_windows.bat遇到如下错误:
Piccolo\engine\3rdparty\JoltPhysics\Jolt\Core\JobSystemThreadPool.cpp(115,27): error C3688: 文本后缀“us”无效;未找到文文本运算符或文本运算符模板“operator """"us” [F:\forfun\Piccolo\build\engine\3rdparty\JoltPhysics\Build\Jolt.vcxproj]
(编译源文件“../../../../../engine/3rdparty/JoltPhysics/Jolt/Core/JobSystemThreadPool.cpp”)

Piccolo\engine\3rdparty\JoltPhysics\Jolt\Core\JobSystemThreadPool.cpp(151,18): error C2672: “std::this_thread::sleep_for”: 未找到匹配的重载函数 [F:\forfun\Piccolo\build\engine\3rdparty\JoltPhysics\Build\Jolt.vcxproj]
(编译源文件“../../../../../engine/3rdparty/JoltPhysics/Jolt/Core/JobSystemThreadPool.cpp”)
D:\VisualStudio\VC\Tools\MSVC\14.43.34808\include\thread(222,10):
可能是“void std::this_thread::sleep_for(const std::chrono::duration<_Rep,_Period> &)”

Image

@PlayX-2333 PlayX-2333 added the bug Something isn't working label Mar 3, 2025
@PlayX-2333
Copy link
Author

追加:大约在1月份的时候有过编译,那个时候可以正常生成bin文件夹

@THunity
Copy link

THunity commented Mar 17, 2025

请问一下问题解决了吗,遇到同样的问题了

@THunity
Copy link

THunity commented Mar 18, 2025

解决了,将报错的源文件的this_thread::sleep_for(100us);修改成std::this_thread::sleep_for(std::chrono::microseconds(100));就能正常编译了

@leozzyzheng
Copy link

See #496

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants