VS 2017 Community 1.5.3 - UE 4.15.1 Source Build Errors
This week I uninstall and re-installed VS 2017 which put me on 1.5.3. Since then I have not been able to build UE source no matter what I try. All the modules fail to build with the following:
Severity Code Description Project File Line Suppression State Error C4768 __declspec attributes before linkage specification are ignored UnrealFrontend C:\Program Files (x86)\Windows Kits\8.1\include\um\ShlObj.h 972
Full Error: https://pastebin.com/jFt3ciCb
Trying to manually run UnrealBuildTool gives "OtherCompilationError (5):
G:\UnrealEngine\Engine\Binaries\DotNET>UnrealBuildTool.exe UnrealFrontend Win64 Debug -waitmutex "g:\UnrealEngine\Engine\Intermediate\ProjectFiles\UnrealFrontend.vcxproj" Creating makefile for UnrealFrontend (no existing makefile) Performing full C++ include scan (no include cache file) Building UnrealHeaderTool... Performing 8 actions (4 in parallel) Module.Core.9_of_9.cpp Module.Core.8_of_9.cpp C:\Program Files (x86)\Windows Kits\8.1\include\um\ShlObj.h(972): error C4768: __declspec attributes before linkage specification are ignored C:\Program Files (x86)\Windows Kits\8.1\include\um\ShlObj.h(972): error C4768: __declspec attributes before linkage specification are ignored ERROR: UBT ERROR: Failed to produce item: G:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Core.lib Total build time: 2.86 seconds (Local executor: 0.00 seconds) Error: UnrealHeaderTool failed for target 'UnrealFrontend' (platform: Win64, module info: G:\UnrealEngine\Engine\Intermediate\Build\Win64\UnrealFrontend\Debug\UnrealFrontend.uhtmanifest, exit code: OtherCompilationError (5)).
Win10 4.5.1 Source From Git VS 2017 Community 1.5.3 I've tried the "1.5.3 patch" as well.
asked Aug 20 '17 at 09:39 PM in Installation & Setup
2017 isn't supported with 4.15. I believe first support of it was 4.16.
answered Aug 21 '17 at 04:12 AM
2017 started with 4.15
Was able to duplicate this issue on another machine, builds fine in VS 1.5.0 but not 1.5.3.
answered Aug 21 '17 at 07:21 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here