Can't package a C++ project, but can do a BP only projcet

If I create a BP project, I can edit and package super fine, but if I convert it to a C++ project or create a C++ project, I just simply can’t package it anymore.

This is the error log during the package of C++ project.

UATHelper: Packaging (Windows (32-bit)): Running AutomationTool...
UATHelper: Packaging (Windows (32-bit)): Parsing command line: -ScriptsForProject="D:/Documents/Unreal Projects/TouhouQA/TouhouQA.uproject" BuildCookRun -nocompile -nocompileeditor -installed -nop4 -project="D:/Documents/Unreal Projects/TouhouQA/TouhouQA.uproject" -cook -stage -archive -archivedirectory="E:/UE4 Shipping" -package -clientconfig=Shipping -ue4e
xe=UE4Editor-Cmd.exe -clean -compressed -pak -prereqs -nodebuginfo -targetplatform=Win32 -build -CrashReporter -utf8output
UATHelper: Packaging (Windows (32-bit)): Setting up ProjectParams for D:\Documents\Unreal Projects\TouhouQA\TouhouQA.uproject
UATHelper: Packaging (Windows (32-bit)): ********** BUILD COMMAND STARTED **********
UATHelper: Packaging (Windows (32-bit)): Running: D:\Unreal4\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe TouhouQA Win32 Shipping -Project="D:\Documents\Unreal Projects\TouhouQA\TouhouQA.uproject" -clean "D:\Documents\Unreal Projects\TouhouQA\TouhouQA.uproject" -NoUBTMakefiles  -remoteini="D:\Documents\Unreal Projects\TouhouQA" -skipdeploy -nobuilduht 
-NoHotReload
UATHelper: Packaging (Windows (32-bit)): Took 0.6233339s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (32-bit)): Running: D:\Unreal4\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe TouhouQA Win32 Shipping -Project="D:\Documents\Unreal Projects\TouhouQA\TouhouQA.uproject"  "D:\Documents\Unreal Projects\TouhouQA\TouhouQA.uproject" -NoUBTMakefiles  -remoteini="D:\Documents\Unreal Projects\TouhouQA" -skipdeploy -noxge -generatema
nifest -NoHotReload -ignorejunk
UATHelper: Packaging (Windows (32-bit)): Took 0.7740104s to run UnrealBuildTool.exe, ExitCode=0
UATHelper: Packaging (Windows (32-bit)): Running: D:\Unreal4\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe TouhouQA Win32 Shipping -Project="D:\Documents\Unreal Projects\TouhouQA\TouhouQA.uproject"  "D:\Documents\Unreal Projects\TouhouQA\TouhouQA.uproject" -NoUBTMakefiles  -remoteini="D:\Documents\Unreal Projects\TouhouQA" -skipdeploy -noxge -NoHotReloa
d -ignorejunk
UATHelper: Packaging (Windows (32-bit)):   Parsing headers for TouhouQA
UATHelper: Packaging (Windows (32-bit)):     Running UnrealHeaderTool "D:\Documents\Unreal Projects\TouhouQA\TouhouQA.uproject" "D:\Documents\Unreal Projects\TouhouQA\Intermediate\Build\Win32\TouhouQA\Shipping\TouhouQA.uhtmanifest" -LogCmds="loginit warning, logexit warning, logdatabase error" -Unattended -WarningsAsErrors -installed
UATHelper: Packaging (Windows (32-bit)):   Reflection code generated for TouhouQA in 5.5683772 seconds
UATHelper: Packaging (Windows (32-bit)):   Performing 4 actions (4 in parallel)
UATHelper: Packaging (Windows (32-bit)):   [2/4] Resource PCLaunch.rc
UATHelper: Packaging (Windows (32-bit)):   PCH.UELinkerFixups.cpp
UATHelper: Packaging (Windows (32-bit)):   c1xx: fatal error C1356: �޷��ҵ� mspdbcore.dll
UATHelper: Packaging (Windows (32-bit)):   ERROR: UBT ERROR: Failed to produce item: D:\Documents\Unreal Projects\TouhouQA\Binaries\Win32\TouhouQA-Win32-Shipping.exe
UATHelper: Packaging (Windows (32-bit)):   Total build time: 10.55 seconds (Local executor: 0.00 seconds)
UATHelper: Packaging (Windows (32-bit)): Took 10.7159303s to run UnrealBuildTool.exe, ExitCode=5
UATHelper: Packaging (Windows (32-bit)): ERROR: Command failed (Result:5): D:\Unreal4\UE_4.18\Engine\Binaries\DotNET\UnrealBuildTool.exe TouhouQA Win32 Shipping -Project="D:\Documents\Unreal Projects\TouhouQA\TouhouQA.uproject"  "D:\Documents\Unreal Projects\TouhouQA\TouhouQA.uproject" -NoUBTMakefiles  -remoteini="D:\Documents\Unreal Projects\TouhouQA" -skip
deploy -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2018.07.31-23.16.05.txt' 
UATHelper: Packaging (Windows (32-bit)):        (see C:\Users\aall1\AppData\Roaming\Unreal Engine\AutomationTool\Logs\D+Unreal4+UE_4.18\UAT_Log.txt for full exception trace)
UATHelper: Packaging (Windows (32-bit)): AutomationTool exiting with ExitCode=5 (5)
UATHelper: Packaging (Windows (32-bit)): BUILD FAILED
PackagingResults: Error: Unknown Error