Hi everyone, has anyone tried to compile this plugin for 5.2 ?
I am very close to getting it to compile
I updated the following files to get the build going:
-
GenericPlatformMath.h → added the tanh function
-
SplineComponent.h and SplineComponent.cpp → added the GetDistanceAlongSplineAtLocation function
These updates removed most of the errors, there is just one error that I cannot solve which is in SplineComponent.h → in the FSplineInstanceData Struct, I am getting the following error in reference to the GENERATED_BODY() line:
[15/28] Compile [x64] Module.LearningAgents.3_of_3.cpp
C:\Program Files\Epic Games\UE_5.2\Engine\Source\Runtime\Engine\Classes\Components\SplineComponent.h(879): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
How do I solve this ? are there any other files that I need to tweak ?
I appreciate the help, thank you