x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

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

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.

Product Version: UE 4.18
Tags:
more ▼

asked Dec 07 '17 at 01:37 PM in Bug Reports

avatar image

Geekazoid
8 3 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question