Including RawMesh

Hi,
I’m trying to include “RawMesh.h” but it gives error on include, but I don’t understand the reason.
So I put all path ( #include “Developer/RawMesh/Public/RawMesh.h”).

this seams working partially I can create FRrawMesh variables, but when I try to access RawMeshBulkData it gives me only two options out of many [here][1] the doc.

it also give me some type-error which I don’t fully understand.

Any help would be great :slight_smile:

Hello,
I actually followed that page to do what I have so far if you notice the last comment in the right answer is me asking for a similar problem, but because is a quite old thread I wasn’t sure if I would get an answer.

So I already done the step you suggested, is already few days that I try to look for a reason why wouldn’t work, I’m quite a noob in c++.

So is there anything that it comes to your mind that I could check?

Thanks :slight_smile:

You need to add “RawMesh” in your Build.cs file, like this:

PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "RawMesh" });

After this you can use FRawMesh just by including:

#include "RawMesh.h"

in your .cpp file.

The example of use is in this answer.

Hello, Ch3shireCat , this will result in " Packaging (Windows (64-bit)): UnrealBuildTool: ERROR".How should be solved?