Can't build project

Yo guys, when I try to build my project, I’am getting this error

MainFrameActions: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND STARTED **********
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: E:\UE4\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe GameJamPreperation Win64 Development -Project=E:\trash\GameJamPreperation\GameJamPreperation.uproject -clean E:\trash\GameJamPreperation\GameJamPreperation.uproject  -remoteini="E:\trash\GameJamPreperation" -nobuilduht -NoH
otReloadFromIDE
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 2.6972598s to run UnrealBuildTool.exe, ExitCode=0
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: E:\UE4\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe GameJamPreperation Win64 Development -Project=E:\trash\GameJamPreperation\GameJamPreperation.uproject  E:\trash\GameJamPreperation\GameJamPreperation.uproject  -remoteini="E:\trash\GameJamPreperation" -noxge -generatemanife
st -NoHotReloadFromIDE -ignorejunk
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 1.871522s to run UnrealBuildTool.exe, ExitCode=0
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: E:\UE4\Epic Games\4.12\Engine\Binaries\DotNET\UnrealBuildTool.exe GameJamPreperation Win64 Development -Project=E:\trash\GameJamPreperation\GameJamPreperation.uproject  E:\trash\GameJamPreperation\GameJamPreperation.uproject  -remote
MainFrameActions: Packaging (Windows (64-bit)): ini="E:\trash\GameJamPreperation" -noxge -NoHotReloadFromIDE -ignorejunk
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Creating makefile for GameJamPreperation (no existing makefile)
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Performing full C++ include scan (no include cache file)
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Performing 3 actions (4 in parallel)
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: PCH.UELinkerFixupsName.h.cpp
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: UELinkerFixups.cpp
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: [3/3] Link GameJamPreperation.exe
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool:    Creating library E:\trash\GameJamPreperation\Binaries\Win64\GameJamPreperation.lib and object E:\trash\GameJamPreperation\Binaries\Win64\GameJamPreperation.exp
MainFrameActions: Packaging (Windows (64-bit)): UnrealBuildTool: Total build time: 29.36 seconds
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 29.9484946s to run UnrealBuildTool.exe, ExitCode=0
MainFrameActions: Packaging (Windows (64-bit)): Project.Build: ********** BUILD COMMAND COMPLETED **********
MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: ********** COOK COMMAND STARTED **********
MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: Cleaning cooked data.
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.RunCommandlet: Running UE4Editor Cook for project E:\trash\GameJamPreperation\GameJamPreperation.uproject
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.RunCommandlet: Commandlet log file is E:\UE4\Epic Games\4.12\Engine\Programs\AutomationTool\Saved\Cook-2016.09.01-17.02.17.txt
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: E:\UE4\Epic Games\4.12\Engine\Binaries\Win64\UE4Editor-Cmd.exe E:\trash\GameJamPreperation\GameJamPreperation.uproject -run=Cook  -TargetPlatform=WindowsNoEditor -fileopenlog -unversioned -abslog="E:\UE4\Epic Games\4.12\Engine\Progra
MainFrameActions: Packaging (Windows (64-bit)): ms\AutomationTool\Saved\Cook-2016.09.01-17.02.17.txt" -stdout -FORCELOGFLUSH -CrashForUAT -unattended  -UTF8Output
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: LogInit:Display: Running engine for game: GameJamPreperation
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: LogInit:Display: RandInit(1956664169) SRandInit(1956664171).
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.19:286][  0]LogShaderCompilers:Display: Using Local Shader Compiler.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.19:856][  0]LogDerivedDataCache:Display: Max Cache Size: 512 MB
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.19:926][  0]LogDerivedDataCache:Display: Loaded Boot cache: C:/Users/Bogey/AppData/Local/UnrealEngine/4.12/DerivedDataCache/Boot.ddc
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.19:949][  0]LogDerivedDataCache:Display: Pak cache opened for reading ../../../Engine/DerivedDataCache/Compressed.ddp.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.20:908][  0]LogTemp:Display: Loaded TP AllDesktopTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.20:922][  0]LogTemp:Display: Loaded TP WindowsClientTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.20:938][  0]LogTemp:Display: Loaded TP WindowsNoEditorTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.20:951][  0]LogTemp:Display: Loaded TP WindowsServerTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.20:964][  0]LogTemp:Display: Loaded TP WindowsTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.20:975][  0]LogTemp:Display: Loaded TP AndroidTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.20:986][  0]LogTemp:Display: Loaded TP Android_ASTCTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.20:996][  0]LogTemp:Display: Loaded TP Android_ATCTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:007][  0]LogTemp:Display: Loaded TP Android_DXTTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:018][  0]LogTemp:Display: Loaded TP Android_ETC1TargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:033][  0]LogTemp:Display: Loaded TP Android_ETC2TargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:054][  0]LogTemp:Display: Loaded TP Android_MultiTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:055][  0]LogTemp:Display: Loaded TP Android_PVRTCTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:057][  0]LogTemp:Display: Loaded TP HTML5TargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:083][  0]LogTemp:Display: Loaded TP IOSTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:093][  0]LogTemp:Display: Loaded TP TVOSTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:103][  0]LogTemp:Display: Loaded TP LinuxNoEditorTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:114][  0]LogTemp:Display: Loaded TP LinuxServerTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:126][  0]LogTemp:Display: Loaded TP LinuxTargetPlatform
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.21:126][  0]LogTargetPlatformManager:Display: Building Assets For WindowsNoEditor
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.23:919][  0]LogOutputDevice:Error: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: begin: stack for UAT
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.23:919][  0]LogWindows:Error: === Critical error: ===
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: Fatal error: [File:D:\Build\++UE4+Release-4.12+Compile\Sync\Engine\Source\Runtime\Launch\Private\Windows\LaunchWindows.cpp] [Line: 83] 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: SECURE CRT: Invalid parameter detected.
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: Expression: Unknown Function: Unknown. File: Unknown Line: 0
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: 
MainFrameActions: Packaging (Windows (64-bit)): UE4Editor-Cmd: [2016.09.01-15.02.23:919][  0]LogOutputDevice:Error: 
MainFrameActions: Packaging (Windows (64-bit)): CommandUtils.Run: Run: Took 126.1931536s to run UE4Editor-Cmd.exe, ExitCode=3
MainFrameActions: Packaging (Windows (64-bit)): Project.Cook: Cook failed. Deleting cooked data.
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: ERROR: AutomationTool terminated with exception: AutomationTool.AutomationException: Cook failed. ---> AutomationTool.AutomationException: BUILD FAILED: Failed while running Cook for E:\trash\GameJamPreperation\GameJamPreperation.uproject; see log C:\Users\Bogey\AppData\Roaming\Unreal Engine\Autom
ationTool\Logs\E+UE4+Epic+Games+4.12\Cook-2016.09.01-17.04.23.txt
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.CommandUtils.RunCommandlet(FileReference ProjectName, String UE4Exe, String Commandlet, String Parameters)
MainFrameActions: Packaging (Windows (64-bit)):    at Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)):    --- End of inner exception stack trace ---
MainFrameActions: Packaging (Windows (64-bit)):    at Project.Cook(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)):    at BuildCookRun.DoBuildCookRun(ProjectParams Params)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.BuildCommand.Execute()
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Execute(List`1 CommandsToExecute, CaselessDictionary`1 Commands)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Automation.Process(String[] CommandLine)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.MainProc(Object Param)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.InternalUtils.RunSingleInstance(Func`2 Main, Object Param)
MainFrameActions: Packaging (Windows (64-bit)):    at AutomationTool.Program.Main()
MainFrameActions: Packaging (Windows (64-bit)): Program.Main: AutomationTool exiting with ExitCode=25 (Error_UnknownCookFailure)
MainFrameActions: Packaging (Windows (64-bit)): Domain_ProcessExit
MainFrameActions: Packaging (Windows (64-bit)): copying UAT log files...
MainFrameActions: Packaging (Windows (64-bit)): BUILD FAILED
PackagingResults:Error: Error Unknown Cook Failure

This (SECURE CRT: Invalid parameter detected.) is usually caused by some plugins that have an issue during building. Try to deactivate all plugins and see if it cooks correctly. If so, active them one by one to see which one is causing troubles, and get in contact with the creator of the plugin.

Cheers,