Visual Studio Build Fails on Vanilla Project and New Class

Could you explain what does it say when it does tries to compile?

Hi all,

I can’t get the basic Hello World Printer actor to build in MSVS. There is already a thread started with this same title. Please keep in mind this is a vanilla install and I do not have the source from Git. All I’m looking to do is write custom classes, not modify engine code.

Please let me know if you need any information.

Thanks!

~~ Nate

1> Experiment_Lab.cpp
1> HelloWorld_Printer.cpp
1>D:\Unreal Projects\Experiment_Lab\Source\Experiment_Lab\Hell oWorld_Printer.cpp(16): error C2653: ‘Super’ : is not a class or namespace name
1> -------- End Detailed Actions Stats -----------------------------------------------------------
1>ERROR : UBT error : Failed to produce item: D:\Unreal Projects\Experiment_Lab\Binaries\Win64\UE4Editor-Experiment_Lab.pdb
1> Cumulative action seconds (8 processors): 0.00 building projects, 14.14 compiling, 0.00 creating app bundles, 0.00 generating debug info, 0.00 linking, 0.00 other
1> UBT execution time: 18.08 seconds
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Ma keFile.Targets(38,5): error MSB3073: The command ““D:\Unreal Engine 4\4.0\Engine\Build\BatchFiles\Build.bat” Experiment_LabEditor Win64 Development “D:\Unreal Projects\Experiment_Lab\Experiment_Lab.uproject” -rocket” exited with code -1.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Please note there was a type-o with my void BeginPlay() and I have corrected it (void AHelloWorldPrinter::BeginPlay() ) and it still does not build.

Hello,

What version of VS are you using? Can you give me your output logs of the failure? What settings are you using when building? Any additional information could help with our investigation.

Cheers!

Ok this is strange. I didn’t do anything but exit MSVS and re-open it and it builds successfully now. I’m confused. I made some modifications to this test actor and it builds just fine now with no failures.

Thanks for your help guys. I don’t know what happened, but I’ll take it :smiley: