When packaging for windows on unreal engine 5.7 I get this error no matter the project “unable to fix the following error link : fatal error Lnk1181 : cannot open input file 'comct132.lib” I’m using blueprints and the file does exist but for whatever reason it can’t open it. And one know how to fix this?
could be good if you shared the whole Output Log here for ore context, so that we can help!
Sorry I forgot to attach the image originally, thought I did.
ahh nice, thanks for sharing it, so tha thing i noticed about Visual studio 2026 is that it’s not YET well supported by Unreal Engine 5.7,
first thing for you to have the best and most stable stuff is
- * Download Visual studio 2022 along side 2026
- Download windows 10 SDK 10.0.22612
- Download the C++, Dotnet workload
- Download the latest C++ compiler, with even one version before the latest (we never know)
and assign in Unreal engine preferences that the source editor will be 2022 (if you dont wanna use 2022, you can assign the SLN file format to always open in visual studio 2026, but in unreal the source will be opened by 2022)
so visual studio 2026 when you build and compile, it will always use 2022 stuff
if it doesnt work, then Run Unreal as Admin, so that it get the privilege to read comcl32.lib
