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"

Cannot build Shipping configuration

I can build my project successfully with all the DebugGame and Development configurations (Visual Studio 2015, Win64). But in Shipping configuration, I get the following log:

 1>------ Build started: Project: UE4, Configuration: BuiltWithUnrealBuildTool Win32 ------
 2>------ Build started: Project: MyProject2, Configuration: Shipping_Game x64 ------
 2>  Parsing headers for MyProject2
 2>    Running UnrealHeaderTool "D:\Unreal\MyProject2\MyProject2.uproject" "D:\Unreal\MyProject2\Intermediate\Build\Win64\MyProject2\Shipping\UnrealHeaderTool.manifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -rocket -installed
 2>  Reflection code generated for MyProject2 in 3.6568719 seconds
 2>  Performing 6 actions (4 in parallel)
 2>  PCH.UdpMotionSenderPrivatePCH.h.cpp
 2>c1xx : fatal error C1083: Cannot open source file: 'D:\Unreal\MyProject2\Plugins\UdpMotionSender\Intermediate\Build\Win64\UE4\Shipping\UdpMotionSender\PCH.UdpMotionSenderPrivatePCH.h.cpp': No such file or directory
 2>  -------- End Detailed Actions Stats -----------------------------------------------------------
 2>ERROR : UBT error : Failed to produce item: D:\Unreal\MyProject2\Plugins\UdpMotionSender\Binaries\Win64\UE4-UdpMotionSender-Win64-Shipping.lib
 2>  Total build time: 5.14 seconds
 2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(37,5): error MSB3073: The command ""C:\Program Files (x86)\Epic Games\4.10\Engine\Build\BatchFiles\Build.bat" MyProject2 Win64 Shipping "D:\Unreal\MyProject2\MyProject2.uproject" -rocket -waitmutex -2015" exited with code -1.
 ========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

Something seems to be wrong with the precompiled headers. What could be the problem here?

Product Version: UE 4.10
Tags:
more ▼

asked Mar 08 '16 at 09:20 AM in C++ Programming

avatar image

rhegner
0 3 5 5

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

1 answer: sort voted first

Turns out the following steps help:

  1. Close Visual Studio

  2. Refresh Visual Studio Project

  3. Open Visual Studio

  4. Clean Solution

  5. Rebuild it

more ▼

answered Mar 08 '16 at 02:40 PM

avatar image

rhegner
0 3 5 5

(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