# BlutilityMenuExtensions.h no such file or directory

**URL:** <https://forums.unrealengine.com/t/blutilitymenuextensions-h-no-such-file-or-directory/150883>\
**Category:** Editor Scripting\
**Tags:** unreal-engine\
**Created:** [September 19, 2020, 6:53am UTC](https://forums.unrealengine.com/t/blutilitymenuextensions-h-no-such-file-or-directory/150883 "2020-09-19T06:53:17Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![VesperDuck](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vesperduck/32/895457_2.png) [@VesperDuck](https://forums.unrealengine.com/u/VesperDuck)\
**Post date:** [September 19, 2020, 6:53am UTC](https://forums.unrealengine.com/t/blutilitymenuextensions-h-no-such-file-or-directory/150883/1 "2020-09-19T06:53:17Z")

</div>

Hey, I’m attempting to work on an AssetActionUtility blueprint, I’ve gone and created a c++ class to inherit from AssetActionUtility as well to use as the parent for the blueprint, but when I create the c++ class and UE starts compiling, it fails to compile with a fatal error C1083 when trying to open the include file of BlutilityMenuExtensions.h.

I’ve searched the engine directory and found the header file, but it’s in the ‘Private’ directory, is this then intended behavior, and is there any way to do c++ that can then be used in an AssetActionUtility blueprint?

---

<div class="post-metadata">

**Author:** ![KiwiArgo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KiwiArgo](https://forums.unrealengine.com/u/KiwiArgo)\
**Post date:** [October 9, 2020, 12:18pm UTC](https://forums.unrealengine.com/t/blutilitymenuextensions-h-no-such-file-or-directory/150883/2 "2020-10-09T12:18:19Z")

</div>

> [@anonymous\_user\_7d57c4ecsperDuck](#):
>
> Hey, I’m attempting to work on an AssetActionUtility blueprint, I’ve gone and created a c++ class to inherit from AssetActionUtility as well to use as the parent for the blueprint, but when I create the c++ class and UE starts compiling, it fails to compile with a fatal error C1083 when trying to open the include file of BlutilityMenuExtensions.h.
> 
> I’ve searched the engine directory and found the header file, but it’s in the ‘Private’ directory, is this then intended behavior, and is there any way to do c++ that can then be used in an AssetActionUtility blueprint?

Hi @VesperDuck , not sure if you still need this, but I just faced the same issue and found the solution. So either you need it or someone else does, the solution is to include in your Build file, inside PrivateIncludePaths, the following one

\*\*System.IO.Path.GetFullPath(Target.RelativeEnginePath) + “Source/Editor/Blutility/Private” \*\*

So, it’ll be something like this:

```auto

PrivateIncludePaths.AddRange(new string] { System.IO.Path.GetFullPath(Target.RelativeEnginePath) + "Source/Editor/Blutility/Private" });

```

---

<div class="post-metadata">

**Author:** ![AAcnirak](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@AAcnirak](https://forums.unrealengine.com/u/AAcnirak)\
**Post date:** [November 25, 2021, 3:59am UTC](https://forums.unrealengine.com/t/blutilitymenuextensions-h-no-such-file-or-directory/150883/3 "2021-11-25T03:59:30Z")

</div>

Worked like charm, thank you!

---

<div class="post-metadata">

**Author:** ![Ihopetolive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ihopetolive](https://forums.unrealengine.com/u/Ihopetolive)\
**Post date:** [April 23, 2023, 9:25am UTC](https://forums.unrealengine.com/t/blutilitymenuextensions-h-no-such-file-or-directory/150883/4 "2023-04-23T09:25:10Z")

</div>

thank you it worked \<3 and there is minor syntax issue. corrected one:

```auto
PrivateIncludePaths.AddRange(new string[] { System.IO.Path.GetFullPath(Target.RelativeEnginePath) + "Source/Editor/Blutility/Private" });

```

---

<div class="post-metadata">

**Author:** ![Assinass666](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Assinass666](https://forums.unrealengine.com/u/Assinass666)\
**Post date:** [May 27, 2023, 3:58pm UTC](https://forums.unrealengine.com/t/blutilitymenuextensions-h-no-such-file-or-directory/150883/5 "2023-05-27T15:58:53Z")

</div>

Solved my problem

---

<div class="post-metadata">

**Author:** ![lehuan5062](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lehuan5062](https://forums.unrealengine.com/u/lehuan5062)\
**Post date:** [January 28, 2024, 10:44am UTC](https://forums.unrealengine.com/t/blutilitymenuextensions-h-no-such-file-or-directory/150883/7 "2024-01-28T10:44:11Z")

</div>

Thank you and @Ihopetolive . Shorter version is

```auto
PrivateIncludePaths.Add(Path.Combine(EngineDirectory, "Source/Editor/Blutility/Private"));

```

With

```auto
using System.IO;

```

Included.
