A fast 2D and 3D game engine — TypeScript SDK, C++/WebAssembly core, visual editor. Ship one project to web, desktop, WeChat MiniGames, playable ads, and native Android / iOS.
TypeScript 2d-game-engine3d3d-game-engineandroidcppecsgame-editorgame-enginegamedeviostypescriptwebassemblywebglwebgpuwechat-minigame
fix(native): link kernelbase for Dawn's D3D shared fences
esengine5ed9defec9dd
diff --git a/native/CMakeLists.txt b/native/CMakeLists.txtindex 011426e8f..bdb49d92a 100644--- a/native/CMakeLists.txt+++ b/native/CMakeLists.txt@@ -354,7 +354,9 @@ if(ESTELLA_QUICKJS_DIR)if(ESTELLA_WINDOWS)# Dawn's D3D12 backend, DirectWrite for the font match, WinHTTP for the# fetch. miniaudio reaches WASAPI through the COM headers it includes.- target_link_libraries(estella_js_host d3d12 dxgi dxguid dwrite winhttp)+ # kernelbase for CompareObjectHandles, which Dawn's D3D shared fences+ # call and which kernel32 does not re-export.+ target_link_libraries(estella_js_host d3d12 dxgi dxguid dwrite winhttp kernelbase)else()# As on iOS: miniaudio's CoreAudio backend reaches for the Obj-C runtime,# so its TU is Objective-C++ on every Apple platform.