# Linux: No compiler was found

**URL:** <https://forums.unrealengine.com/t/linux-no-compiler-was-found/461921>\
**Category:** Platform & Builds\
**Tags:** Linux, unreal-engine, question, CPP, compile-editor\
**Created:** [February 29, 2020, 7:50am UTC](https://forums.unrealengine.com/t/linux-no-compiler-was-found/461921 "2020-02-29T07:50:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_bd1d29981](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_bd1d29981](https://forums.unrealengine.com/u/anonymous_user_bd1d29981)\
**Post date:** [February 29, 2020, 7:50am UTC](https://forums.unrealengine.com/t/linux-no-compiler-was-found/461921/1 "2020-02-29T07:50:00Z")

</div>

Compiled UE Editor using 4.24 Release branch, compiles and builds fine, and also downloads a copy of llvm and adds it to the editor engine folder. However when I generate my project based on the ThirdPerson template and try and create a new C++ class it complains that I don’t have a compilerand I need the NullSourceCodeAccessor. Click here to download NullSourceCodeAccessor. Clicking on the link takes me to the wiki pages for `IDE's` which is super unhelpful. How do I add the compiler bundled with the UnrealEditor, or better yet GCC?

---

<div class="post-metadata">

**Author:** ![Acheta\_Games](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Acheta\_Games](https://forums.unrealengine.com/u/Acheta_Games)\
**Post date:** [March 2, 2020, 11:07am UTC](https://forums.unrealengine.com/t/linux-no-compiler-was-found/461921/2 "2020-03-02T11:07:04Z")

</div>

Hi, you need to go into engine settings and under Source Code you need to select code accessor(VSCode for example). then it should work as expected(if the binary for the vscode is in expected place.)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_7355c217](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_7355c217](https://forums.unrealengine.com/u/anonymous_user_7355c217)\
**Post date:** [October 30, 2021, 2:01am UTC](https://forums.unrealengine.com/t/linux-no-compiler-was-found/461921/3 "2021-10-30T02:01:16Z")

</div>

I just resolved this today, for myself. If you select your SourceCodeAcceessor plugin and you have a null compiler error, make sure that the IDE is installed within the “/opt/” directory. For example, the directory of the current CLion snap was located at “/usr/snap/CLion”

First remove the original snap of CLion (or keep it but I would not recommend this) and download the **standalone** Linux package—while following the corresponding instructions on the same sub-topic of the following download page: [Install CLion | CLion Documentation](https://www.jetbrains.com/help/clion/installation-guide.html#standalone)
