Failed to produce item only with shooter game project

Hello!
I just wanted to try packaging the shooter game example with the version of UE4.15.
All of the other projects that I have are builded just fine. I do not have MODO plugin.
I tried these steps, but didn’t help:

Fix the redirectors (right click
contents → Fix redirections)

There is a warning about a Class none,
that may be related to the
redirections.

Disable most plug-ins

Sometimes it’s been reported that
Blueprints can fail compiling if they
have underscore in their files (I have
not had that issue personally)

Delete Binaries/Saved/Intermediate.
Relaunch

Try Cook.

Here is the error message:

UATHelper: Packaging (Windows (64-bit)): Running AutomationTool...
LogCollectionManager: Rebuilt the object cache for 1 collections in 0.000002 seconds (found 0 objects)
UATHelper: Packaging (Windows (64-bit)): Automation.ParseCommandLine: Parsing command line: -ScriptsForProject=C:/UE4Projects/ShooterGame/ShooterGame.uproject BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project=C:/UE4Projects/ShooterGame/ShooterGame.uproject -cook -stage -archive -archivedirectory=C:/UE4Projects/Builded -package -clientconfig=
Development -ue4exe=UE4Editor-Cmd.exe -pak -prereqs -nodebuginfo -targetplatform=Win64 -build -CrashReporter -utf8output
UATHelper: Packaging (Windows (64-bit)): Automation.Process: Setting up command environment.
UATHelper: Packaging (Windows (64-bit)): BuildCookRun.SetupParams: Setting up ProjectParams for C:\UE4Projects\ShooterGame\ShooterGame.uproject
UATHelper: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe ShooterGame Win64 Development -Project=C:\UE4Projects\ShooterGame\ShooterGame.uproject  C:\UE4Projects\ShooterGame\ShooterGame.uproject  -remoteini="C:\UE4Projects\ShooterGame" -noxge -generatemanifest -NoHotReload
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 6,0512605s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe ShooterGame Win64 Development -Project=C:\UE4Projects\ShooterGame\ShooterGame.uproject  C:\UE4Projects\ShooterGame\ShooterGame.uproject  -remoteini="C:\UE4Projects\ShooterGame" -noxge -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Performing 1 actions (2 in parallel)
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: [1/1] Link ShooterGame.exe
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: LINK : fatal error LNK1181: cannot open input file 'zlibstatic.lib'
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: ERROR: UBT ERROR: Failed to produce item: C:\UE4Projects\ShooterGame\Binaries\Win64\ShooterGame.exe
UATHelper: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 6,64 seconds (Local executor: 0,00 seconds)
UATHelper: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 7,0988923s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.CommandUtils+CommandFailedException: Command failed (Result:5): C:\Program Files\Epic Games\UE_4.15\Engine\Binaries\DotNET\UnrealBuildTool.exe ShooterGame Win64 Development -Project=C:\UE4Projects\ShooterGame\ShooterGame.uproject  C:\UE4Proj
ects\ShooterGame\ShooterGame.uproject  -remoteini="C:\UE4Projects\ShooterGame" -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2017.04.25-16.18.36.txt' 
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.CommandUtils.RunAndLog(String App, String CommandLine, String Logfile, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.CommandUtils.RunAndLog(CommandEnvironment Env, String App, String CommandLine, String LogName, Int32 MaxSuccessCode, String Input, ERunOptions Options, Dictionary`2 EnvVars, SpewFilterCallbackType SpewFilterCallback)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, String CommandLine, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.CommandUtils.RunUBT(CommandEnvironment Env, String UBTExecutable, FileReference Project, String Target, String Platform, String Config, String AdditionalArgs, String LogName, Dictionary`2 EnvVars)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.UE4Build.BuildWithUBT(String TargetName, UnrealTargetPlatform TargetPlatform, String Config, FileReference UprojectPath, Boolean ForceMonolithic, Boolean ForceNonUnity, Boolean ForceDebugInfo, Boolean ForceFlushMac, Boolean DisableXGE, String InAddArgs, Boolean ForceUnity, Diction
ary`2 EnvVars)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.UE4Build.Build(BuildAgenda Agenda, Nullable`1 InDeleteBuildProducts, Boolean InUpdateVersionFiles, Boolean InForceNoXGE, Boolean InUseParallelExecutor, Boolean InForceNonUnity, Boolean InForceUnity, Boolean InShowProgress, Dictionary`2 PlatformEnvVars, Nullable`1 InChangelistNumbe
rOverride, Dictionary`2 InTargetToManifest)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: Project.Build(BuildCommand Command, ProjectParams Params, Int32 WorkingCL, ProjectBuildTargets TargetMask)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: BuildCookRun.DoBuildCookRun(ProjectParams Params)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: BuildCookRun.ExecuteBuild()
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.BuildCommand.Execute()
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.Automation.Process(String[] Arguments)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.Program.MainProc(Object Param)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
UATHelper: Packaging (Windows (64-bit)):    a következő helyen: AutomationTool.Program.Main()
UATHelper: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Error

Hi ChevCheliosSun,

Here is another couple suggestions to try:

https://answers.unrealengine.com/questions/525456/fatal-error-lnk1181-cannot-open-input-file-zlibsta.html

https://answers.unrealengine.com/questions/578699/fatal-error-lnk1181-cannot-open-input-file-zlibsta-1.html

If that doesn’t help:

Have you made any changes to the project or is a new version of Shooter Game? If you have, could you see if you also get the error with a new version?

Thanks a lot!
The fix for my problem was to uninstall Visual Studio 2013, and set unreal engine project settings to build with vs2015 instead of 2017.

I Solved it in this way. I have visual studio 2017.
Start a new Project . Empty. Clear and delete all. Set Physics and collisions if you have it.
Go to the project with problem and migrate the root content to the new one.

Others erros can raise, but are diferent and specific with the real error. That works for me more than once.

Good Luck!