Uv.dll (that is used by websockets.dll) is built as debug for some reason in cocos2d-x 4.0. For obvious reasons debug dlls are not included in VC redistributable packages by MS, so we need to include VCRUNTIME140D.dll and ucrtbased.dll in the installation package which is very weird.Is there any practical reason to use DEBUG version of libwebsockets and/or libuv instead of RELEASE one? Can developers provide us with the release version of uv.dll (and probably also websockets.dll), please?
** Visual Studio 2019 Developer Command Prompt v16.11.2
** Copyright (c) 2021 Microsoft Corporation
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>cd D:\cocos2d-x-4.0\external\uv\prebuilt\win32
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>d:
D:\cocos2d-x-4.0\external\uv\prebuilt\win32>dumpbin /dependents uv.dll
Microsoft (R) COFF/PE Dumper Version 14.29.30133.0
Copyright (C) Microsoft Corporation. All rights reserved.
Dump of file uv.dll
File Type: DLL
Image has the following dependencies:
ADVAPI32.dll IPHLPAPI.DLL PSAPI.DLL USER32.dll USERENV.dll WS2_32.dll KERNEL32.dll **VCRUNTIME140D.dll** <--- debug **ucrtbased.dll** <--- debug
1000 .00cfg 11000 .data 3000 .idata 5000 .rdata 4000 .reloc 1000 .rsrc 4A000 .text 1000 .tls