Hello, I’m still new to Unreal and C++ so please go easy on me.
For some reason I cant create new C++ projects with the engine. But I can make blueprints projects just fine. This problem appeared suddenly. I used to be able to create C++ projects without any issues.
This is the error I get when I try to create a new C++ project:
Running E:/Program Files/Epic Games/UE_4.27/Engine/Binaries/DotNET/UnrealBuildTool.exe Development Win64 -Project=“E:/Unreal Projects/MyProject7/MyProject7.uproject” -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDE
Creating makefile for MyProject7Editor (no existing makefile)
@progress push 5%
Parsing headers for MyProject7Editor
Running UnrealHeaderTool “E:\Unreal Projects\MyProject7\MyProject7.uproject” “E:\Unreal Projects\MyProject7\Intermediate\Build\Win64\MyProject7Editor\Development\MyProject7Editor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -abslog=“C:\Users\IBRAHIM\AppData\Local\UnrealBuildTool\Log_UHT.txt” -installed
LogInit: Display: Loading text-based GConfig…
Reflection code generated for MyProject7Editor in 3.4466983 seconds
@progress pop
Building MyProject7Editor…
Using Visual Studio 2019 14.29.30152 toolchain (C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).
Building 9 actions with 24 processes…
@progress ‘Compiling C++ source code…’ 0%
@progress ‘Compiling C++ source code…’ 11%
[1/9] Default.rc2
@progress ‘Compiling C++ source code…’ 22%
[2/9] SharedPCH.Engine.ShadowErrors.cpp
@progress ‘Compiling C++ source code…’ 33%
[3/9] MyProject7.cpp
@progress ‘Compiling C++ source code…’ 44%
[4/9] MyProject7.init.gen.cpp
@progress ‘Compiling C++ source code…’ 56%
[5/9] MyProject7GameModeBase.cpp
@progress ‘Compiling C++ source code…’ 67%
[6/9] MyProject7GameModeBase.gen.cpp
@progress ‘Compiling C++ source code…’ 78%
[7/9] UE4Editor-MyProject7.lib
Creating library E:\Unreal Projects\MyProject7\Intermediate\Build\Win64\UE4Editor\Development\MyProject7\UE4Editor-MyProject7.lib and object E:\Unreal Projects\MyProject7\Intermediate\Build\Win64\UE4Editor\Development\MyProject7\UE4Editor-MyProject7.exp
@progress ‘Compiling C++ source code…’ 89%
[8/9] UE4Editor-MyProject7.dll
C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\um\x64\kernel32.lib : warning LNK4003: invalid library format; library ignored
Creating library E:\Unreal Projects\MyProject7\Intermediate\Build\Win64\UE4Editor\Development\MyProject7\UE4Editor-MyProject7.suppressed.lib and object E:\Unreal Projects\MyProject7\Intermediate\Build\Win64\UE4Editor\Development\MyProject7\UE4Editor-MyProject7.suppressed.exp
CVTRES : fatal error CVT1107: ‘C:\Program Files (x86)\Windows Kits\10\lib\10.0.22621.0\um\x64\wininet.lib’ is corrupt
LINK : fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt