4.18 Linux build errors with: clang10, bp nativization
I'm building a dedicated server for Linux (CentOS) on my Windows machine using source UE 4.18 and this batch file:
if I try to build using v10_clang-5.0.0-centos7 I get error: specified path differs in case from file name on disk
I checked, I have these files on disk with the same exact case. For example, this is a file path from disk, like it is: c:\Unreal\UnrealEngine-release-4.18\Engine\Source\Runtime\CoreUObject\Public\CoreUObjectSharedPCH.h
if I use v9_clang-4.0.0-centos7 and blueprint nativization setting in DefaultGame.ini - it fails with one of the blueprints failing with fatal error: UTF-16 (LE) byte order mark detected (see file)
There are no errors if I use toolchain v9_clang-4.0.0-centos7 and blueprint nativization is disabled. Also, there are no errors in 4.17 and BP nativization enabled.
Cross-referencing with the notes at https://answers.unrealengine.com/questions/720847/utf-16-error.html
answered Nov 02 '17 at 03:59 PM
For some reason the disk drive is spelled with a small "c" letter, which causes a case-sensitivity warning. Arguably in this case it should not apply (hard to imagine a path with "C:\" in it being portable), but that unfortunately would need fixing in clang. You can remove -Wnonportable-include-path from LinuxToolChain.cs, although I would try to first fix the reason for lowercase "c".
answered May 15 '18 at 02:27 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here