https://bugs.winehq.org/show_bug.cgi?id=50402
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID Summary|Adobe Audition 2020 13.0.12 |Adobe Audition 2020 13.0.12 |doesn't start - |doesn't start - |module:import_dll Library |module:import_dll Library |MSVCP140_CODECVT_IDS.dll () |MSVCP140_CODECVT_IDS.dll () |not found |not found (part of MSVC++ | |2015-2019 Redistributable | |14.28.29325)
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello consolelogger,
--- quote --- Installation was done in a Windows VM and the files copied over. --- quote ---
as I already wrote in bug 50401:
--- quote --- while this can work in _some_ cases, "copy over" installations are not recommended. You miss out all the registry changes, COM server registrations, shared assemblies in non-app directories etc., leading to a variety of problems. --- quote ---
--- snip --- 00c0:err:module:import_dll Library MSVCP140_CODECVT_IDS.dll (which is needed by L"Z:\Adobe\Adobe Audition 2020\AuApplication.dll") not found --- snip ---
I found the needed hint about this "bugfix" library here:
https://gitlab.kitware.com/cmake/cmake/-/issues/20228
https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4247
--- quote --- Visual Studio 2019 (not sure if the initial release or a later update) added a new MSVCP140_CODECVT_IDS.dll redistributable library. Presumably this fixes the std::codecvt linking problems that were present in earlier Visual Studio versions (link).
InstallRequiredSystemLibraries should install this library for corresponding toolsets. --- quote ---
MSDN:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/8f40dcd8-c67f-4eba-91...
Dumping the load dependencies of one of the Adobe dlls from the error message:
--- snip --- $ winedump -j import AuApplication.dll | grep offset
offset 009874cc ASLFoundation.dll offset 009874e0 MediaFoundation.dll offset 009874f4 boost_system.dll offset 00987508 boost_date_time.dll offset 0098751c boost_threads.dll offset 00987530 boost_regex.dll offset 00987544 dvaunittesting.dll offset 00987558 dvacore.dll offset 0098756c dvamediatypes.dll offset 00987580 AuCore.dll offset 00987594 dvaaccelerate.dll offset 009875a8 dvaaudiodsp.dll offset 009875bc dvaaudiofilterhost.dll offset 009875d0 dvaaudiofilters.dll offset 009875e4 AuAudioComponents.dll offset 009875f8 dvaaudiodevice.dll offset 0098760c dvaplayer.dll offset 00987620 AuBackEnd.dll offset 00987634 AuMediaCoreSupport.dll offset 00987648 dvametadata.dll offset 0098765c dvaappsupport.dll offset 00987670 dvascripting.dll offset 00987684 dvasmpteltc.dll offset 00987698 dvaundo.dll offset 009876ac essentialsound.dll offset 009876c0 xerces.dll offset 009876d4 AdobeXMP.dll offset 009876e8 LogSession.dll offset 009876fc ZXPSignLib-minimal.dll offset 00987710 KERNEL32.dll offset 00987724 ADVAPI32.dll offset 00987738 MSVCP140.dll offset 0098774c WS2_32.dll offset 00987760 SHLWAPI.dll offset 00987774 VCRUNTIME140.dll offset 00987788 api-ms-win-crt-heap-l1-1-0.dll offset 0098779c api-ms-win-crt-runtime-l1-1-0.dll offset 009877b0 api-ms-win-crt-stdio-l1-1-0.dll offset 009877c4 api-ms-win-crt-utility-l1-1-0.dll offset 009877d8 api-ms-win-crt-time-l1-1-0.dll offset 009877ec api-ms-win-crt-string-l1-1-0.dll offset 00987800 api-ms-win-crt-math-l1-1-0.dll offset 00987814 api-ms-win-crt-convert-l1-1-0.dll offset 00987828 api-ms-win-crt-filesystem-l1-1-0.dll --- snip ---
What most likely happened is that you have copied a *very* recent native 'MSVCP140.dll' from your Windows installation which has a link dependency against 'MSVCP140_CODECVT_IDS.dll' and forgot to copy the dependent dlls as well.
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual...
--- quote --- Download the Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019. The following updates are the latest supported Visual C++ redistributable packages for Visual Studio 2015, 2017 and 2019. Included is a baseline version of the Universal C Runtime see MSDN for details.
x86: vc_redist.x86.exe
x64: vc_redist.x64.exe
ARM64: vc_redist.arm64.exe
Note Visual C++ 2015, 2017 and 2019 all share the same redistributable files.
For example, installing the Visual C++ 2019 redistributable will affect programs built with Visual C++ 2015 and 2017 also. However, installing the Visual C++ 2015 redistributable will not replace the newer versions of the files installed by the Visual C++ 2017 and 2019 redistributables.
This is different from all previous Visual C++ versions, as they each had their own distinct runtime files, not shared with other versions. --- quote ---
https://web.archive.org/web/20201224220409/https://download.visualstudio.mic...
--- snip --- Scanning -> Z:\home\focht\Downloads\msvcp140.dll File Type : 64-Bit Dll (Subsystem : Win CUI / 3), Size : 585096 (08ED88h) Byte(s) | Machine: 0x8664 (AMD64) Compilation TimeStamp : 0x5F6D82E4 -> Fri 25th Sep 2020 05:40:52 (GMT) ...| [VersionInfo] Company Name : Microsoft Corporation [VersionInfo] Product Name : Microsoft® Visual Studio® [VersionInfo] Product Version : 14.28.29325.2 [VersionInfo] File Description : Microsoft® C Runtime Library [VersionInfo] File Version : 14.28.29325.2 built by: vcwrkspc [VersionInfo] Original FileName : msvcp140.dll [VersionInfo] Internal Name : msvcp140.dll [VersionInfo] Legal Copyrights : © Microsoft Corporation. All rights reserved. --- snip ---
vs. MSVC++ runtime installed by 'winetricks vcrun2015':
--- snip --- Scanning -> Z:\home\focht\Downloads\msvcp140.dll File Type : 64-Bit Dll (Subsystem : Win CUI / 3), Size : 635040 (09B0A0h) Byte(s) | Machine: 0x8664 (AMD64) Compilation TimeStamp : 0x558CE301 -> Fri 26th Jun 2015 05:28:33 (GMT) ... [VersionInfo] Company Name : Microsoft Corporation [VersionInfo] Product Name : Microsoft® Visual Studio® 2015 [VersionInfo] Product Version : 14.00.23026.0 [VersionInfo] File Description : Microsoft® C Runtime Library [VersionInfo] File Version : 14.00.23026.0 built by: WCSETUP [VersionInfo] Original FileName : msvcp140.dll [VersionInfo] Internal Name : msvcp140.dll [VersionInfo] Legal Copyrights : © Microsoft Corporation. All rights reserved. ... --- snip ---
Either you copy *all* needed dependencies from your Windows VM or use 'winetricks' verbs to provide the proper MSVC++ runtime(s).
It would be quite pointless for Wine to provide a builtin 'MSVCP140_CODECVT_IDS.dll' since you already overrode the "main" MSVC++ runtime Wine builtins with native dlls.
Regards