I have made several custom UI components using the LyShine system, some of which are general components, and some of which directly interface with other parts of my project code, because of this; I need the code to be included within my project rather than in the LyShine project. This was all working fine in previous versions, however, as LyShine is now a Gem in 1.9 things no longer work in the same way.
I have updated and changed everything required to fix the initial compile errors as to be expected with a normal version update, and I have added the LyShine Gem to my project, however, I am now receiving the following error:
UiInventorySlotComponent.cpp.136.obj : error LNK2001: unresolved external symbol “public: __cdecl UiInteractableComponent::UiInteractableComponent(void)” (??0UiInteractableComponent@@QEAA@XZ)
As well as a few hundred other similar ones for different functions of the UiInteractableComponent. The problematic classes are the ones that inherit directly from the UiInteractableComponent, which is what I worked from by copying the UiButtonComponent code and working from there, as it had most of the functionality I require. It seems to be an error linking the LyShine library to my project.
I have tried multiple steps to attempt to fix this, but have not been successful as of yet. I’m not sure if there is a step I’m missing in linking the LyShine Gem to my project, or if I’m going about the custom UI components in the wrong way altogether. In any case, if anyone has any advice it would be greatly appreciated.