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"

Failed package 4.11.2

Hi guys, I can't package my game successful, can you guys help me solve it? thanks very much. link text

Product Version: UE 4.11
Tags:
log.txt (27.2 kB)
more ▼

asked Jul 22 '16 at 08:50 AM in Packaging & Deployment

avatar image

shenhao880116
1 1

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Shenhao880116,

I'm seeing errors with your Enemy.ccp, Enemy.h, TwinStickShooter.cpp and TwinStickShooter.generated.cpp files. Please look at the following logs and resolve the issues associated with them.

Please also verify whether or not this is happening in a new blank c++ project.

 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Intermediate\Build\Win64\UE4\Inc\TwinStickShooter\TwinStickShooter.generated.cpp: error C4599: '/IL:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argum
 MainFrameActions: Packaging (Windows (64-bit)): ent number 140 does not match precompiled header
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Source\TwinStickShooter\Enemy.cpp: error C4599: '/IL:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 140 does not match precompiled header
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Source\TwinStickShooter\TwinStickShooter.cpp: error C4599: '/IL:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE': command line argument number 140 does not match precom
 MainFrameActions: Packaging (Windows (64-bit)): piled header
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Source\TwinStickShooter\Enemy.cpp(37): error C2039: 'CalculateHealth': is not a member of 'AEnemy'
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: l:\users\leslie\documents\unreal projects\haoshenshotgame\source\twinstickshooter\Enemy.h(9): note: see declaration of 'AEnemy'
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Source\TwinStickShooter\Enemy.cpp(39): error C2065: 'Health': undeclared identifier
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Source\TwinStickShooter\Enemy.cpp(40): error C3861: 'CalculateDead': identifier not found
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Source\TwinStickShooter\Enemy.cpp(43): error C2039: 'CalculateDead': is not a member of 'AEnemy'
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: l:\users\leslie\documents\unreal projects\haoshenshotgame\source\twinstickshooter\Enemy.h(9): note: see declaration of 'AEnemy'
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Source\TwinStickShooter\Enemy.cpp(45): error C2065: 'Health': undeclared identifier
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Source\TwinStickShooter\Enemy.cpp(46): error C2065: 'isDead': undeclared identifier
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Source\TwinStickShooter\Enemy.cpp(48): error C2065: 'isDead': undeclared identifier
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Source\TwinStickShooter\Enemy.cpp(61): fatal error C1004: unexpected end-of-file found
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: -------- End Detailed Actions Stats -----------------------------------------------------------
 MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: L:\Users\leslie\Documents\Unreal Projects\HaoShenShotGame\Binaries\Win64\TwinStickShooter.exe
more ▼

answered Jul 22 '16 at 05:48 PM

(comments are locked)
10|2000 characters needed characters left
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