# \#clang

**URL:** https://forums.unrealengine.com/tag/clang/8100.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [Clang Error LNK2019 From FPlatformTime::Seconds ( )](https://forums.unrealengine.com/t/clang-error-lnk2019-from-fplatformtime-seconds/2700571)

<div class="topic-metadata">

**Author:** [@loh0123](https://forums.unrealengine.com/u/loh0123)\
**Replies:** 0\
**Last updated:** [February 18, 2026, 1:07pm UTC](https://forums.unrealengine.com/t/clang-error-lnk2019-from-fplatformtime-seconds/2700571 "2026-02-18T13:07:35Z")

</div>

I try to switch to clang compiler on UE 5.7. It compile on first time but after add one line of FPlatformTime::Seconds ( ) it get compile error I follow Use Clang to Build Microsoft Platforms in Unreal Engine | Unreal E…

---

## [Missing precompiled manifest for 'libpas' (GenerateClangDatabase for intellisense)](https://forums.unrealengine.com/t/missing-precompiled-manifest-for-libpas-generateclangdatabase-for-intellisense/2675501)

<div class="topic-metadata">

**Author:** [@greg700000](https://forums.unrealengine.com/u/greg700000)\
**Replies:** 4\
**Last updated:** [November 23, 2025, 7:14am UTC](https://forums.unrealengine.com/t/missing-precompiled-manifest-for-libpas-generateclangdatabase-for-intellisense/2675501 "2025-11-23T07:14:53Z")

</div>

(Unreal 5.6) My clang works for most of my files (If I understand correctly my intellisense in VSCode is basically working because of it). However, the analysis is not done for a file. I don’t know why. I attempted to…

---

## [UBT GenerateClangDatabase is NOT incremental and recreates whole compile\_commands.json each time](https://forums.unrealengine.com/t/ubt-generateclangdatabase-is-not-incremental-and-recreates-whole-compile-commands-json-each-time/2005308)

<div class="topic-metadata">

**Author:** [@dzemzmcdonalda](https://forums.unrealengine.com/u/dzemzmcdonalda)\
**Replies:** 4\
**Last updated:** [July 1, 2025, 3:03pm UTC](https://forums.unrealengine.com/t/ubt-generateclangdatabase-is-not-incremental-and-recreates-whole-compile-commands-json-each-time/2005308 "2025-07-01T15:03:23Z")

</div>

Hi, In order to generate compile\_commands.json for clangd Language Server, one can use -mode=GenerateClangDatabase flag in Unreal Build Tool (more details described here ) However, a problem with this mode is that it i…

---

## [Cross-Compiling for Linux: cannot download tools](https://forums.unrealengine.com/t/cross-compiling-for-linux-cannot-download-tools/479948)

<div class="topic-metadata">

**Author:** [@gozu](https://forums.unrealengine.com/u/gozu)\
**Replies:** 1\
**Last updated:** [April 3, 2025, 7:55am UTC](https://forums.unrealengine.com/t/cross-compiling-for-linux-cannot-download-tools/479948 "2025-04-03T07:55:02Z")

</div>

Hey, Just trying to download the clang tools so i can cross compile for Linux and the web site links shown in here: Cross-Compiling for Linux | Unreal Engine Documentation Are now all getting “Access denied” errors. Ju…

---

## [\[UE5.5\] Error using clang on Windows for Console command](https://forums.unrealengine.com/t/ue5-5-error-using-clang-on-windows-for-console-command/2433186)

<div class="topic-metadata">

**Author:** [@EsmeraldaQuinter](https://forums.unrealengine.com/u/EsmeraldaQuinter)\
**Replies:** 0\
**Last updated:** [March 31, 2025, 11:26pm UTC](https://forums.unrealengine.com/t/ue5-5-error-using-clang-on-windows-for-console-command/2433186 "2025-03-31T23:26:18Z")

</div>

Hello! I’m creating a plugin that provides some cmd commands. I registered the command using IConsoleManager::Get().RegisterConsoleCommand and FConsoleCommandWithArgsDelegate::CreateStatic. It works ok using MSVC co…

---

## [How to use Clang and VScode for UE?](https://forums.unrealengine.com/t/how-to-use-clang-and-vscode-for-ue/2098106)

<div class="topic-metadata">

**Author:** [@A\_Hogwarts\_PhD](https://forums.unrealengine.com/u/A_Hogwarts_PhD)\
**Replies:** 1\
**Last updated:** [October 31, 2024, 10:36pm UTC](https://forums.unrealengine.com/t/how-to-use-clang-and-vscode-for-ue/2098106 "2024-10-31T22:36:35Z")

</div>

Hi everyone, i am a new beginer for UE, i am using UE 5.2.1 now. I hope that i can use Clang to compile C++ scripts instead installing VS2022. I have installed Clang in my windows system, and added the path to my envir…

---

## [Cross compiling for arm Linux](https://forums.unrealengine.com/t/cross-compiling-for-arm-linux/371492)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e7e728d4](https://forums.unrealengine.com/u/anonymous_user_e7e728d4)\
**Replies:** 15\
**Last updated:** [October 31, 2024, 6:34am UTC](https://forums.unrealengine.com/t/cross-compiling-for-arm-linux/371492 "2024-10-31T06:34:57Z")

</div>

Hello, I tried to cross compil for arm Linux. I follow this tutorial \[link text\]\[1\] but, after edit the UEBuildLinux.cs files and un-comment “static private string DefaultArchitecture = “arm-unknown-linux-gnueabihf”;”, …

---

## [Dealing with UE 4.27 build errors after upgrading to macOS Ventura 13.3.1](https://forums.unrealengine.com/t/dealing-with-ue-4-27-build-errors-after-upgrading-to-macos-ventura-13-3-1/1134042)

<div class="topic-metadata">

**Author:** [@karlphillip](https://forums.unrealengine.com/u/karlphillip)\
**Replies:** 3\
**Last updated:** [August 6, 2023, 11:48am UTC](https://forums.unrealengine.com/t/dealing-with-ue-4-27-build-errors-after-upgrading-to-macos-ventura-13-3-1/1134042 "2023-08-06T11:48:18Z")

</div>

After upgrading to macOS Ventura 13.3.1 and being forced to install the new Xcode 14.3, all my UE projects started to produce the following error during build: NameTypes.h:536:10: error: use of bitwise ‘&’ with boolean …

---

## [Could not compile plugin for Linux](https://forums.unrealengine.com/t/could-not-compile-plugin-for-linux/487129)

<div class="topic-metadata">

**Author:** [@ks.zealot](https://forums.unrealengine.com/u/ks.zealot)\
**Replies:** 0\
**Last updated:** [August 6, 2021, 3:20pm UTC](https://forums.unrealengine.com/t/could-not-compile-plugin-for-linux/487129 "2021-08-06T15:20:51Z")

</div>

If Linux not in my Blacklist platform, I have many errors like this: non-constant-expression cannot be narrowed from type ‘unsigned long’ to ‘int32’ (aka ‘int’) in initializer list \[-Wc++11-narrowing\] inside Unrea…

---

## [Compiling UE 4.24 does not compile on several Ubuntu machines](https://forums.unrealengine.com/t/compiling-ue-4-24-does-not-compile-on-several-ubuntu-machines/477496)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_dc38930b](https://forums.unrealengine.com/u/anonymous_user_dc38930b)\
**Replies:** 0\
**Last updated:** [January 21, 2021, 6:45am UTC](https://forums.unrealengine.com/t/compiling-ue-4-24-does-not-compile-on-several-ubuntu-machines/477496 "2021-01-21T06:45:02Z")

</div>

Hi, I am trying to compile UE 4.24 (needed for Carla) on several systems. First, Ubuntu 16, Ubuntu 18 inside a Docker container, now Ubuntu 20 native. Although I followed the installation doc and installed the prerequi…

---

## [UnrealBuildTool can't find clang on Windows](https://forums.unrealengine.com/t/unrealbuildtool-cant-find-clang-on-windows/469245)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b6870bac1](https://forums.unrealengine.com/u/anonymous_user_b6870bac1)\
**Replies:** 2\
**Last updated:** [October 11, 2020, 5:25pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-cant-find-clang-on-windows/469245 "2020-10-11T17:25:55Z")

</div>

Hi, I’d like to generate a clang compilation database for my project but have had trouble getting UBT to recognize clang on my machine. I’ve tried both the version from the LLVM site (enabling the “add to path” option i…

---

## [Game Packaging Error on Clang++](https://forums.unrealengine.com/t/game-packaging-error-on-clang/464622)

<div class="topic-metadata">

**Author:** [@miramaslow](https://forums.unrealengine.com/u/miramaslow)\
**Replies:** 1\
**Last updated:** [May 4, 2020, 4:54pm UTC](https://forums.unrealengine.com/t/game-packaging-error-on-clang/464622 "2020-05-04T16:54:35Z")

</div>

Hi, I am using VS 2017 and I can package the game properly before, but after I switched my PC, I can’t package the project at all. So I went on Googling stuff and it says I need to upgrade to Windows SDK 10 so I did, bu…

---

## [Clang++ Linker Command Failed Cant find -lphonon when packaging for Android UE4](https://forums.unrealengine.com/t/clang-linker-command-failed-cant-find-lphonon-when-packaging-for-android-ue4/457443)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7c68ae45](https://forums.unrealengine.com/u/anonymous_user_7c68ae45)\
**Replies:** 1\
**Last updated:** [October 23, 2019, 11:23pm UTC](https://forums.unrealengine.com/t/clang-linker-command-failed-cant-find-lphonon-when-packaging-for-android-ue4/457443 "2019-10-23T23:23:07Z")

</div>

UATHelper: Packaging (Android (ETC1)): \*\*\*\*\*\*\*\*\*\* BUILD COMMAND STARTED \*\*\*\*\*\*\*\*\*\* UATHelper: Packaging (Android (ETC1)): Running: C:\\Program Files\\Epic Games\\UE\_4.23\\Engine\\Binaries\\DotNET\\UnrealBuildTool.exe JustBalan…

---

## [Project has stopped compiling](https://forums.unrealengine.com/t/project-has-stopped-compiling/450446)

<div class="topic-metadata">

**Author:** [@Arazu](https://forums.unrealengine.com/u/Arazu)\
**Replies:** 1\
**Last updated:** [June 10, 2019, 8:30pm UTC](https://forums.unrealengine.com/t/project-has-stopped-compiling/450446 "2019-06-10T20:30:11Z")

</div>

My project has seemingly stopped compiling for no apparent reason! Here are the build errors that I am getting: 1\>C:\\Program Files\\Epic Games\\UE\_4.22\\Engine\\Source\\Runtime\\Core\\Public\\Clang/ClangPlatformMath.h(29): err…

---

## [Clang++ Error](https://forums.unrealengine.com/t/clang-error/448718)

<div class="topic-metadata">

**Author:** [@SavageVFX](https://forums.unrealengine.com/u/SavageVFX)\
**Replies:** 0\
**Last updated:** [May 10, 2019, 1:12pm UTC](https://forums.unrealengine.com/t/clang-error/448718 "2019-05-10T13:12:07Z")

</div>

Hi everyone! I was following this tutorial to install Unreal Engine on my Linux Mint 19.1 machine. I was able to run ./Setup.sh and ./GenerateProjectFiles.sh successfully, however after running make, I received the foll…

---

## [How to use Clang?](https://forums.unrealengine.com/t/how-to-use-clang/446814)

<div class="topic-metadata">

**Author:** [@Barreldude](https://forums.unrealengine.com/u/Barreldude)\
**Replies:** 0\
**Last updated:** [April 7, 2019, 11:21pm UTC](https://forums.unrealengine.com/t/how-to-use-clang/446814 "2019-04-07T23:21:48Z")

</div>

I’m using the Windows 10 OS and am trying to compile my game for Linux. I have tried to follow the documentation:https://docs.unrealengine.com/en-us/Platforms/Linux/GettingStarted However, it does not specify how to use …

---

## [Unreal Engine 4 in Vim with YouCompleteMe autocompleter?](https://forums.unrealengine.com/t/unreal-engine-4-in-vim-with-youcompleteme-autocompleter/435725)

<div class="topic-metadata">

**Author:** [@DasOhmoff](https://forums.unrealengine.com/u/DasOhmoff)\
**Replies:** 3\
**Last updated:** [December 13, 2018, 5:10pm UTC](https://forums.unrealengine.com/t/unreal-engine-4-in-vim-with-youcompleteme-autocompleter/435725 "2018-12-13T17:10:59Z")

</div>

Hi, I did not find the answer for this question online. Is there a way to use YouCompleteMe in Vim autocompletion with Unreal Engines C++ code? Maybe adding exceptions to errors, or something like that? Alternativly I…

---

## [Clang++.exe error "License is invalid"!](https://forums.unrealengine.com/t/clang-exe-error-license-is-invalid/435597)

<div class="topic-metadata">

**Author:** [@Erikwong](https://forums.unrealengine.com/u/Erikwong)\
**Replies:** 0\
**Last updated:** [October 14, 2018, 3:39am UTC](https://forums.unrealengine.com/t/clang-exe-error-license-is-invalid/435597 "2018-10-14T03:39:30Z")

</div>

Hi, i’m having the clang++.exe error on 4.21 and it say - “License is invalid”! Anyone can help? Thanks! UATHelper: Packaging (Android (ASTC)): Android clang version 3.8.256229 (based on LLVM 3.8.256229) UATHelper:…

---

## [Issue compiling third party libraries for HTML5](https://forums.unrealengine.com/t/issue-compiling-third-party-libraries-for-html5/427143)

<div class="topic-metadata">

**Author:** [@Rael55](https://forums.unrealengine.com/u/Rael55)\
**Replies:** 2\
**Last updated:** [September 12, 2018, 7:56pm UTC](https://forums.unrealengine.com/t/issue-compiling-third-party-libraries-for-html5/427143 "2018-09-12T19:56:29Z")

</div>

I’m trying to compile Assimp as a LLVM bitcode library for my HTML5 project. However, when compiling, I get these errors: 2\>EXEC : warning : Linking two modules of different data layouts: 'K:/Unreal Projects/ArtGallery/…

---

## [How to use system Clang instead of the bundled version](https://forums.unrealengine.com/t/how-to-use-system-clang-instead-of-the-bundled-version/428313)

<div class="topic-metadata">

**Author:** [@NuLL3rr0r](https://forums.unrealengine.com/u/NuLL3rr0r)\
**Replies:** 12\
**Last updated:** [July 16, 2018, 7:40pm UTC](https://forums.unrealengine.com/t/how-to-use-system-clang-instead-of-the-bundled-version/428313 "2018-07-16T19:40:58Z")

</div>

Prior to commit 97e9593070a80b408f7e87af2c277f7abf885d51 on 4.20 branch I was able to use whichever LLVM/Clang version I have installed on my system (e.g. 6.0.0, or 5.0.1) for building UE 4.20 and my own projects. That …

---

## [Problems with clang 3.9 and ThirdPaty linkers](https://forums.unrealengine.com/t/problems-with-clang-3-9-and-thirdpaty-linkers/375084)

<div class="topic-metadata">

**Author:** [@undefinedMethod](https://forums.unrealengine.com/u/undefinedMethod)\
**Replies:** 10\
**Last updated:** [May 17, 2018, 12:59am UTC](https://forums.unrealengine.com/t/problems-with-clang-3-9-and-thirdpaty-linkers/375084 "2018-05-17T00:59:04Z")

</div>

Hi Been having problems building on Linux, Arch recently moved to clang 3.9. I updated my kernel today and am now unable to use clang 3.5. Tried building 4.13, then 4.14. I modified the toolchain to supress warnings wh…

---

## [Error when trying to enable exceptions: "exception handling was disabled in PCH file but is currently enabled"](https://forums.unrealengine.com/t/error-when-trying-to-enable-exceptions-exception-handling-was-disabled-in-pch-file-but-is-currently-enabled/425188)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_074925b2](https://forums.unrealengine.com/u/anonymous_user_074925b2)\
**Replies:** 0\
**Last updated:** [May 15, 2018, 8:14pm UTC](https://forums.unrealengine.com/t/error-when-trying-to-enable-exceptions-exception-handling-was-disabled-in-pch-file-but-is-currently-enabled/425188 "2018-05-15T20:14:46Z")

</div>

I’m trying to enable exceptions using bEnableExceptions = true; in my module’s build.cs file. However, I’m getting the following error: EXEC : error : exception handling was disabled in PCH file but is currently enab…

---

## [How to build the editor and the project using clang 5?](https://forums.unrealengine.com/t/how-to-build-the-editor-and-the-project-using-clang-5/421449)

<div class="topic-metadata">

**Author:** [@Flash7](https://forums.unrealengine.com/u/Flash7)\
**Replies:** 0\
**Last updated:** [March 31, 2018, 7:24pm UTC](https://forums.unrealengine.com/t/how-to-build-the-editor-and-the-project-using-clang-5/421449 "2018-03-31T19:24:29Z")

</div>

Everything worked in 4.18, but in 4.19 it says that toolchain is too old. I used v9\_clang-4.0.0-centos7. Then I updated clang to v11\_clang-5.0.0-centos7 and now I’m getting errors “specified path differs in case from fil…

---

## [Build on linux,clang not support std::move](https://forums.unrealengine.com/t/build-on-linux-clang-not-support-std-move/412127)

<div class="topic-metadata">

**Author:** [@qqwx1986](https://forums.unrealengine.com/u/qqwx1986)\
**Replies:** 2\
**Last updated:** [December 16, 2017, 1:33am UTC](https://forums.unrealengine.com/t/build-on-linux-clang-not-support-std-move/412127 "2017-12-16T01:33:39Z")

</div>

i have used std::move in my project but there clang++3.8 complier error: moving a temporary object prevents copy elision \[-Werror,-Wpessimizing-move\] how resolved this problem but not remove std::move i found there u…

---

## [IOS build from source for armv7 fail](https://forums.unrealengine.com/t/ios-build-from-source-for-armv7-fail/412132)

<div class="topic-metadata">

**Author:** [@feiwu](https://forums.unrealengine.com/u/feiwu)\
**Replies:** 0\
**Last updated:** [December 13, 2017, 3:56am UTC](https://forums.unrealengine.com/t/ios-build-from-source-for-armv7-fail/412132 "2017-12-13T03:56:41Z")

</div>

I try to build a game for my ipad mini1, so I build from engine source, and set the engine configure file: \[/Script/IOSRuntimeSettings.IOSRuntimeSettings\] bDevForArmV7=True bDevForArm64=False bDevForArmV7S=False bS…

---

## [Unable To build Linux ARM using First Person Template](https://forums.unrealengine.com/t/unable-to-build-linux-arm-using-first-person-template/411684)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_08787d181](https://forums.unrealengine.com/u/anonymous_user_08787d181)\
**Replies:** 4\
**Last updated:** [December 8, 2017, 2:30pm UTC](https://forums.unrealengine.com/t/unable-to-build-linux-arm-using-first-person-template/411684 "2017-12-08T14:30:47Z")

</div>

I followed the instructions best I could using a clean installation of 4.18.1 downloaded v10 clang 5.0.0-based Unzipped it to a stable location c:\\dev Set the ENV to LINUX\_MULTIARCH\_ROOT c:\\dev\\v10\_clang-5.0.0-centos7 …

---

## [No compiler errors shown in output and message log with clang 4.0 on linux](https://forums.unrealengine.com/t/no-compiler-errors-shown-in-output-and-message-log-with-clang-4-0-on-linux/402758)

<div class="topic-metadata">

**Author:** [@DBulczak](https://forums.unrealengine.com/u/DBulczak)\
**Replies:** 0\
**Last updated:** [August 24, 2017, 6:24pm UTC](https://forums.unrealengine.com/t/no-compiler-errors-shown-in-output-and-message-log-with-clang-4-0-on-linux/402758 "2017-08-24T18:24:27Z")

</div>

Hi everyone. I am using Unreal Engine on Arch Linux and it uses Clang 4.0 to compile the projects. Compiling works fine if my code is syntactically correct. But when I make syntactically errors I get a compiler error but…

---

## [Package for Linux with toolchain](https://forums.unrealengine.com/t/package-for-linux-with-toolchain/402546)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e7e728d4](https://forums.unrealengine.com/u/anonymous_user_e7e728d4)\
**Replies:** 0\
**Last updated:** [August 22, 2017, 7:16pm UTC](https://forums.unrealengine.com/t/package-for-linux-with-toolchain/402546 "2017-08-22T19:16:47Z")

</div>

Hello, I try to package my game for Linux Platforms, with Engine Source from Github. I also installed the toolchain clang. I build ue4 for both Windows and Linux sucessfully. When I build, with vs2017, for Win64 and …

---

## [Clang 4.0 support](https://forums.unrealengine.com/t/clang-4-0-support/391467)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d4efcd70](https://forums.unrealengine.com/u/anonymous_user_d4efcd70)\
**Replies:** 8\
**Last updated:** [August 10, 2017, 2:32pm UTC](https://forums.unrealengine.com/t/clang-4-0-support/391467 "2017-08-10T14:32:54Z")

</div>

It looks like a lot of the Linux distros are starting to push out clang 4.0. I haven’t seen anything in the issue tracker for 4.0 support. So, I just thought being aware of this for 4.16 would be a good idea.

---

## [Clang 3.7 and Clang 4.0](https://forums.unrealengine.com/t/clang-3-7-and-clang-4-0/401101)

<div class="topic-metadata">

**Author:** [@therealcain](https://forums.unrealengine.com/u/therealcain)\
**Replies:** 4\
**Last updated:** [August 3, 2017, 5:49pm UTC](https://forums.unrealengine.com/t/clang-3-7-and-clang-4-0/401101 "2017-08-03T17:49:04Z")

</div>

Hello, i have UE4.11 and every time i opening it its asking for: UnrealBuildTool Exception: ERROR: This version of the Unreal Engine can only be compiled with clang 3.7, 3.6 and 3.5. clang 4.0.0 may not build it - plea…

[Next page](https://forums.unrealengine.com/tag/clang/8100.md?match_all_tags=true&page=1&tags%5B%5D=clang)
