Answers for "linker error creating my own SceneCaptureComponents2D class"https://answers.unrealengine.com/questions/235677/linker-error-creating-my-own-scenecapturecomponent.html
The latest answers for the question "linker error creating my own SceneCaptureComponents2D class"Answer by Greg Ghttps://answers.unrealengine.com/answers/701858/view.html
Hi Andrii,
I'm using UE version 4.13.2 and I'm experiencing the same problem as mrdid456. Seems to me that these macro should be added to the engine so that users like myself do not need to create modifications to the engine that need to be merged everytime we upgrade UE. I see that UE 4.17 was just released. Can you tell me if these changes have been applied to any engine version after 4.13.2?
Regards,
-GregThu, 31 Aug 2017 15:35:18 GMTGreg GAnswer by Andrii Melnykhttps://answers.unrealengine.com/answers/240070/view.html
Hello, mrdid456
I am sorry to hear about your issue.
To fix it please add ENGINE_API macro before declarations of following methods:
1) PostLoad(), AddReferencedObjects() in SceneCaptureComponent.h;
2) SendRenderTransform_Concurrent(), RequiresGameThreadEndOfFrameUpdates(), TickComponent(), PostEditChangeProperty(), UpdateContent() and UpdateDeferredCaptures() in SceneCaptureComponent2D.h.
Hope this helped!
Good luck!Tue, 09 Jun 2015 16:39:30 GMTAndrii Melnyk