Strauzen
(Strauzen)
May 25, 2015, 10:22am
1
Hi, I am making a couple of simple classes in C++ for unreal but when I compile I get the following error:
Error 1 error code: -1073741571 (-1073741571) C:\Users\\Desktop\OfficeTest\Intermediate\ProjectFiles\Error OfficeTest
Error 2 error MSB3073: The command ""C:\Development\Epic Games\4.7\Engine\Build\BatchFiles\Rebuild.bat" OfficeTestEditor Win64 Development "C:\Users\\Desktop\OfficeTest\OfficeTest.uproject" -rocket" exited with code -1073741571. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 43 5 OfficeTest
With the following output:
1> Cleaning OfficeTestEditor Binaries...
1> Parsing headers for OfficeTestEditor
1>Error : Failed to generate code for OfficeTestEditor - error code: -1073741571 (-1073741571)
1> UnrealHeaderTool failed for target 'OfficeTestEditor' (platform: Win64, module info: C:\Users\\Desktop\OfficeTest\Intermediate\Build\Win64\OfficeTestEditor\Development\UnrealHeaderTool.manifest).
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(43,5): error MSB3073: The command ""C:\Development\Epic Games\4.7\Engine\Build\BatchFiles\Rebuild.bat" OfficeTestEditor Win64 Development "C:\Users\\Desktop\OfficeTest\OfficeTest.uproject" -rocket" exited with code -1073741571.
========== Rebuild All: 0 succeeded, 1 failed, 1 skipped ==========
Does anyone know what it stands for?
Hello,
In this situation, please check your registry and environment variables for correct Visual Studio installation. For this, please do the following:
Make sure that environment variable Path is set correctly (it has a value "C:\Windows\System32").
In registry, check whether Visual Studio’s InstallDir property is appropriate (the data should look something like this: C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE)
If the issue remains, try repairing/reinstalling Visual Studio. (Please don’t forget to reboot after reparation/installation.)
Hope this helped! Cheers!
Strauzen
(Strauzen)
May 26, 2015, 2:11pm
3
I tried those steps and the error persists. When I delete the last class I added then the project compiles.
Could we reopen the subject since the question is not related to the configuration?
My class is inheriting from a pure C++ interface. I think that may be the cause of the problem.
Please note that in UE4, some additional steps need to be taken in order to create an interface in comparison to pure C++.
If you like to learn more about UE 4 Interfaces in C++, please go here:
After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...
Reading time: 1 mins 🕑
Likes: 20 ❤
Strauzen
(Strauzen)
May 26, 2015, 3:10pm
5
The interfaces come from from a third party library and I’d rather avoid modifying them if possible. Any suggestions on how should I use them? Is there any recomended way to wrap them?
Origins
(Ganesh)
October 3, 2023, 7:37am
6
OMG Someone help me. UE 5.3.1 source build getting failed for me. Same error code. How can I deal with it
Origins
(Ganesh)
October 27, 2023, 8:46pm
8
Increase virtual memory. It got solved for me
I have allocated 100 GB per 1 TB Disk drive