Linker error when using certain engine functions in a plugin. Possibly missing API_ENGINE macro?

I am currently developing a plugin that extends the SceneCaptureComponent and SceneCapture classes.

After adding all the required dependencies and paths on the .build.cs, I still ended up with a few linker errors.

After some searching, I found some topics (here,here and here ) suggesting that the problem might be a lack of the ENGINE_API macro on the engine functions’ declaration.

I tried doing that to the PostEditChangeProperty function on SceneCaptureComponent.h, (the first one that gave an error) and the error relating to that function disappeared.

I’m not sure, but I suppose that is the case for the other errors.

The remaining errors, not including the one fixed by what I mentioned, are on the attached file

file link

Thanks in advance!

Paulo

Hey Paulop-

If you make the same edits to the other files does that cause the errors to go away? Let me know if doing so helps or if you are still getting errors after adding the macro to the files indicated in the errors.

Cheers

Hey Paulop-

We’ve not heard from you in a few days. I will be marking this post as resolved for tracking purposes however if you’re still having linker errors please feel free to respond and we will continue investigating the issue. When responding let us know if you added the ENGINE_API macro where the errors indicated and what effects doing so had.

Cheers