# Compiling Game with CLion on UE 4.26 on Linux (Some definitions disabled, and Apple headers missing)

**URL:** <https://forums.unrealengine.com/t/compiling-game-with-clion-on-ue-4-26-on-linux-some-definitions-disabled-and-apple-headers-missing/225367>\
**Category:** C++\
**Tags:** unreal-engine, UE4-26\
**Created:** [April 20, 2021, 9:29am UTC](https://forums.unrealengine.com/t/compiling-game-with-clion-on-ue-4-26-on-linux-some-definitions-disabled-and-apple-headers-missing/225367 "2021-04-20T09:29:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nealith](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nealith](https://forums.unrealengine.com/u/nealith)\
**Post date:** [April 20, 2021, 9:29am UTC](https://forums.unrealengine.com/t/compiling-game-with-clion-on-ue-4-26-on-linux-some-definitions-disabled-and-apple-headers-missing/225367/1 "2021-04-20T09:29:36Z")

</div>

I am on Linux, and I want to use CLion as IDE, but I have some problems when compiling.

I encounter the error for multiple files with class inheriting from UObject :

`'GetWorld' marked 'override' but does not override any member functions`

Looking into the source code of Unreal, I have to enable the option WITH\_ENGINE in the file cmake-definitions.cmake to pass this problem, and I have another one :

`use of undeclared identifier 'FAsyncPreRegisterDDCRequest'`

That is solved by enabling WITH\_EDITOR.

After that, I encounter missing headers from Apple module like MetalShaderResources.h

**My project still compiles inside of the UE Editor.**

I would like to know if it’s normal that the definitions WITH ENGINE and WITH EDITOR are disabled by default? And why I encounter missing headers for Apple while I am building under Linux

Thanks 🙂
