apigear-io / template-unreal

Technology template for Unreal Engine
https://apigear.io/template-unreal/docs/intro
MIT License
1 stars 1 forks source link

[BUG]: project code requires adding modules "OLinkProtocolLibrary", "ApiGearOLink" dependencies when using Olink from code #70

Open dorotaphanSiili opened 11 months ago

dorotaphanSiili commented 11 months ago

Description of the bug

project code requires adding modules "OLinkProtocolLibrary", "ApiGearOLink" dependencies when using Olink from code. the ApiGear and YourInterfaceApi should be enough, they should also provide "OLinkProtocolLibrary", "ApiGearOLink" modules as public

Steps To Reproduce

create the project in which you're using olink client class get e.g. your interface client subsystem try to run application there are linking errors for message converter and node base

Additional Information

No response

dorotaphanSiili commented 5 months ago

Issue still exists: with this line PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "ApiGear", "Api" }) I get an error: Cannot open include file: 'olink/clientnode.h': No such file or directory in a generated file ApiTestApi0OLinkClient.h with this line all works PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore", "ApiGear", "OLinkProtocolLibrary", "ApiGearOLink", "Api" });