Simul Support ExchangeCategory: External Plugin IssuesUnreal 4.25: Include plugin in c++ , Missing file
Simon Che de Boer asked 4 years ago

I am attempting to include the TrueSkySequenceActor.h in my ue4 project, I have “TrueSkyPlugin” as a module dependency in my projects .build.cs but when compiling get this error from the Truesky plugin 

D:\UE4\Epic Games\UE_4.25\Engine\Plugins\TrueSkyPlugin\Source\TrueSkyPlugin\Public\TrueSkySequencePropertiesFloat.h(8): fatal error C1083: Cannot open include file: 'TrueSkySequencePropertiesFloat.generated.h': No such file or directory
2 Answers
Andrew Richards Staff answered 3 years ago

Hi Simon, 

Thank you for your question.
Could I ask first whether you are building from source or using the provided binaries?

Best Wishes,
Andrew.

Sascha Elble answered 3 years ago

Also having the same issue, using the provided binaries. However, we need to include use #include “TrueSkySequenceActor.h” in one of our plugins. 4.24

Basically we need to create a TrueSkySequenceActor in source code, and reference variables in that instance of the actor.

Sascha Elble replied 3 years ago

You should be including the generated headers with the compiled binaries, just like epic does with their own engine plugins, for example:
S:\Epic Games\UE_4.24\Engine\Plugins\Lumin\MagicLeap\Intermediate\Build\Win64\UE4\Inc\MagicLeap
You will see all their generated headers there.

Sascha Elble replied 3 years ago

This is broken in at least 4.24/25