tippesi / Atlas-Engine

Cross platform toy render engine supporting physically based rendering and hardware/software ray tracing
MIT License
440 stars 29 forks source link

Link failed. #54

Closed luciddream-tsin closed 7 months ago

luciddream-tsin commented 7 months ago

Jolt.lib(JobSystemThreadPool.cpp.obj) : error LNK2019: unresolved external symbol _Thrd_sleep_for referenced in function 
"void __cdecl std::this_thread::sleep_until<struct std::chrono::steady_clock,class std::chrono::duration<__int64,struct std::ratio<1,1000000000>>>(class std::chrono::time_point<struct std::chrono::steady_clock,class std::chrono::duration<__int64,struct std::ratio<1,1000000000>>> const & ...

IDE :CLion, Compiler: MSVC, OS:Windows11,

YanbingXu commented 7 months ago

您好,我已收到邮件,谢谢!

tippesi commented 7 months ago

Thank you for opening this issue and sorry for the late reply. I encountered this issue before in the build pipeline and from what I remember it was an issue with that specific MSVC version. Could you try to upgrade to a newer version? Hope that helps

luciddream-tsin commented 7 months ago

Thank you for your response! I managed to identify the issue yesterday, and indeed, as you pointed out, it was caused by having multiple versions of compilers installed in Visual Studio. I have removed all the older versions of the compilers, and now everything is functioning normally.

tippesi commented 7 months ago

Great, good to hear. I’m closing this issue