This is driving me crazy! can someone please help me?
My code was working until I recently upgraded unreal to 4.16 and now it doesn’t compile!
I get the following error:
1>------ Build started: Project: test6, Configuration: DebugGame_Game x64 ------
Performing full C++ include scan (building a new target)
Creating makefile for test6 (changes to module files)
D:\proyectos\Unreal Projects\test6 4.16\Source\test6\test6.Build.cs : warning : Module constructors should take a ReadOnlyTargetRules argument (rather than a TargetInfo argument) and pass it to the base class constructor from 4.15 onwards. Please update the method signature.
D:\proyectos\Unreal Projects\test6 4.16\Source\test6.Target.cs : warning : SetupBinaries() is deprecated in the 4.16 release. From the constructor in your .target.cs file, use ExtraModuleNames.Add(“Foo”) to add modules to your target, or set LaunchModuleName = “Foo” to override the name of the launch module for program targets.
D:\proyectos\Unreal Projects\test6 4.16\Source\test6Editor.Target.cs : warning : SetupBinaries() is deprecated in the 4.16 release. From the constructor in your .target.cs file, use ExtraModuleNames.Add(“Foo”) to add modules to your target, or set LaunchModuleName = “Foo” to override the name of the launch module for program targets.
Performing 8 actions (4 in parallel)
MyGameViewportClient.cpp
CameraDirector2.cpp
MyDiceActor.cpp
MainLoop.cpp
c:\program files\epic games\ue_4.16\engine\source\runtime\online\http\public\Interfaces/IHttpBase.h(10): error C2143: syntax error: missing ‘;’ before ‘’
c:\program files\epic games\ue_4.16\engine\source\runtime\online\http\public\Interfaces/IHttpBase.h(11): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
MyMediaPlayer.cpp
tecladoVirtual.cpp
test6.generated.cpp
ERROR : UBT error : Failed to produce item: D:\proyectos\Unreal Projects\test6 4.16\Binaries\Win64\test6-Win64-DebugGame.pdb
Total build time: 170.54 seconds (Local executor: 0.00 seconds)
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command ““C:\Program Files\Epic Games\UE_4.16\Engine\Build\BatchFiles\Build.bat” test6 Win64 DebugGame “D:\proyectos\Unreal Projects\test6 4.16\test6.uproject” -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Thanks !!!