LINK : fatal error LNK1181: cannot open input file

Had a similar error and thought I’d post my solution. error was: LINK : fatal error LNK1181: cannot open input file ‘C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\lib\x64\legacy_stdio_wide_specifiers.lib’

I’m using Unreal 5.1.0 and it seems the MSVC package from visual studio it uses is no longer supported, visual studio replaced it with the new one during some update and that’s the issue. I fixed it by installing the right package manually: visual studio installer → modify → individual components and then picking the MSVC package it was looking for, for unreal 5.1.0 is MSCV v143 - VS 2022 C++ x64/x86 build tools (v14.35 - 17.5). Updating to unreal 5.2 would likely fix the issue too as 5.2 probably looks for the currently supported MSVC package.

1 Like