Error: non-portable path to file when building Unreal Editor for Linux on Windows

Geekazoid
Thu, 07 Dec 2017 13:37:34 +0000
Platform & Builds

When building the Unreal Editor for Linux on Windows the ShaderCompilerWorker as well as other modules fail to compile:

1>------ Build started: Project: ShaderCompileWorker, Configuration: Linux_Development_Program Win32 ------
1> Creating makefile for ShaderCompileWorker (no existing makefile)
1> Performing full C++ include scan (no include cache file)
1> Using LINUX_MULTIARCH_ROOT, building with toolchain ‘D:\Project\LinuxCrossCompileToolChain\v10_clang-5.0.0-centos7\x86_64-unknown-linux-gnu’
1> Building UnrealHeaderTool…
1> Target is up to date
1> Total build time: 0.43 seconds (NoActionsToExecute executor: 0.00 seconds)
1> Parsing headers for ShaderCompileWorker
1> Running UnrealHeaderTool ShaderCompileWorker “d:\Project\UnrealEngine4.18.1\Engine\Intermediate\Build\Linux\B4D820EA\ShaderCompileWorker\Development\ShaderCompileWorker.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -NoEnginePlugins
1> Reflection code generated for ShaderCompileWorker in 4.0282841 seconds
1> Using bundled libc++ standard C++ library.
1> Using old way to relink circularly dependent libraries (with a FixDeps step).
1> Performing 82 actions (4 in parallel)
1> [1/82] Compile SharedPCH.Core.h
1> [2/82] Compile PCH.Core.h
1> [4/82] Compile PCH.CoreUObject.h
1> [3/82] Compile SharedPCH.CoreUObject.h
1>d:\Project\UnrealEngine4.18.1\Engine\Intermediate\Build\Linux\B4D820EA\ShaderCompileWorker\Development\Core\PCH.Core.h(46,10): error : non-portable path to file ‘“d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\Core\Private\CorePrivatePCH.h”’; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
1>d:\Project\UnrealEngine4.18.1\Engine\Intermediate\Build\Linux\B4D820EA\ShaderCompileWorker\Development\CoreUObject\PCH.CoreUObject.h(46,10): error : non-portable path to file ‘“d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\CoreUObject\Private\CoreUObjectPrivatePCH.h”’; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
1>d:\Project\UnrealEngine4.18.1\Engine\Intermediate\Build\Linux\B4D820EA\ShaderCompileWorker\Development\Core\SharedPCH.Core.h(40,10): error : non-portable path to file ‘“d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\Core\Public\CoreSharedPCH.h”’; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
1>d:\Project\UnrealEngine4.18.1\Engine\Intermediate\Build\Linux\B4D820EA\ShaderCompileWorker\Development\CoreUObject\SharedPCH.CoreUObject.h(39,10): error : non-portable path to file ‘“d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\CoreUObject\Public\CoreUObjectSharedPCH.h”’; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
1> #include “d:\Project\UnrealEngine4.18.1\Engine\Source\Runtime\Core\Public\CoreSharedPCH.h”
1> #include “d:\Project\UnrealEngine4.18.1\Engine\Source\Runtime\CoreUObject\Private\CoreUObjectPrivatePCH.h”
1> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1> #include “d:\Project\UnrealEngine4.18.1\Engine\Source\Runtime\Core\Private\CorePrivatePCH.h”
1> “d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\Core\Public\CoreSharedPCH.h”
1> “d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\CoreUObject\Private\CoreUObjectPrivatePCH.h”
1> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1> “d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\Core\Private\CorePrivatePCH.h”
1> #include “d:\Project\UnrealEngine4.18.1\Engine\Source\Runtime\CoreUObject\Public\CoreUObjectSharedPCH.h”
1> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1> “d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\CoreUObject\Public\CoreUObjectSharedPCH.h”
1> 1 error generated.
1> [5/82] Compile PCH.ImageWrapper.h
1> 1 error generated.
1>d:\Project\UnrealEngine4.18.1\Engine\Intermediate\Build\Linux\B4D820EA\ShaderCompileWorker\Development\ImageWrapper\PCH.ImageWrapper.h(46,10): error : non-portable path to file ‘“d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\ImageWrapper\Private\ImageWrapperPrivate.h”’; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
1> #include “d:\Project\UnrealEngine4.18.1\Engine\Source\Runtime\ImageWrapper\Private\ImageWrapperPrivate.h”
1> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1> “d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\ImageWrapper\Private\ImageWrapperPrivate.h”
1> [6/82] Compile SharedPCH.Slate.h
1>d:\Project\UnrealEngine4.18.1\Engine\Intermediate\Build\Linux\B4D820EA\ShaderCompileWorker\Development\Slate\SharedPCH.Slate.h(50,10): error : non-portable path to file ‘“d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\Slate\Public\SlateSharedPCH.h”’; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
1> #include “d:\Project\UnrealEngine4.18.1\Engine\Source\Runtime\Slate\Public\SlateSharedPCH.h”
1> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1> “d\Project\UnrealEngine4.18.1\Engine\Source\Runtime\Slate\Public\SlateSharedPCH.h”
1> 1 error generated.
1> [7/82] Compile Module.ShaderCompileWorker.cpp
1> 1 error generated.
1>d:\Project\UnrealEngine4.18.1\Engine\Intermediate\Build\Linux\B4D820EA\ShaderCompileWorker\Development\ShaderCompileWorker\Module.ShaderCompileWorker.cpp(2,10): error : non-portable path to file ‘“d\Project\UnrealEngine4.18.1\Engine\Source\Programs\ShaderCompileWorker\Private\ShaderCompileWorker.cpp”’; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
1> #include “d:\Project\UnrealEngine4.18.1\Engine\Source\Programs\ShaderCompileWorker\Private\ShaderCompileWorker.cpp”
1> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1> “d\Project\UnrealEngine4.18.1\Engine\Source\Programs\ShaderCompileWorker\Private\ShaderCompileWorker.cpp”
1> 1 error generated.
1>d:\Project\UnrealEngine4.18.1\Engine\Intermediate\Build\Linux\B4D820EA\ShaderCompileWorker\Development\ShaderCompileWorker\Module.ShaderCompileWorker.cpp(3,10): error : non-portable path to file ‘“d\Project\UnrealEngine4.18.1\Engine\Source\Programs\ShaderCompileWorker\Private\XGEControlWorker.cpp”’; specified path differs in case from file name on disk [-Werror,-Wnonportable-include-path]
1> #include “d:\Project\UnrealEngine4.18.1\Engine\Source\Programs\ShaderCompileWorker\Private\XGEControlWorker.cpp”
1> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1> “d\Project\UnrealEngine4.18.1\Engine\Source\Programs\ShaderCompileWorker\Private\XGEControlWorker.cpp”
1> 2 errors generated.
1> 1 error generated.
1>ERROR : UBT error : Failed to produce item: d:\Project\UnrealEngine4.18.1\Engine\Binaries\Linux\libShaderCompileWorker-Core.so
1> Total build time: 23.98 seconds (Local executor: 0.00 seconds)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.MakeFile.Targets(41,5): error MSB3075: The command “…\Build\BatchFiles\Build.bat ShaderCompileWorker Linux Development -waitmutex” exited with code 5. Please verify that you have sufficient rights to run this command.

8 posts - 6 participants