x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Can't compile after updating to unreal 4.16

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 !!!

Product Version: UE 4.16
Tags:
more ▼

asked May 31 '17 at 07:36 AM in Installation & Setup

avatar image

JuanMendez
21 1 2 2

avatar image DisplaySweet Sep 21 '17 at 01:36 AM

... same issue here on 4.17...

D:\loadingcode\test03\Plugins\AsyncPackageStreamer\Source\AsyncPackageStreamer\AsyncPackageStreamer.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.

any help ? ....

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

You need to fix up your Module Rules to help reduce the spam you're seeing and locate the actual error (looks like an undefined type which could just be a missing header).

See this Post for how to fix up your module rules for 4.16.

more ▼

answered May 31 '17 at 09:07 PM

avatar image

ExtraLifeMatt
1.5k 34 14 48

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

the same problem vs2017(15.2)com

more ▼

answered Jun 01 '17 at 12:23 AM

avatar image

wangxudong
1 1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question